#include <ERF_NCWpsFile.H>
|
using | DType = typename std::remove_const< DataType >::type |
|
◆ DType
template<typename DataType >
using NDArray< DataType >::DType = typename std::remove_const<DataType>::type |
◆ NDArray() [1/3]
template<typename DataType >
NDArray< DataType >::NDArray |
( |
const std::string |
vname, |
|
|
const std::vector< size_t > & |
vshape |
|
) |
| |
|
inlineexplicit |
bool owned
Definition: ERF_NCWpsFile.H:121
std::string name
Definition: ERF_NCWpsFile.H:118
size_t ndim()
Definition: ERF_NCWpsFile.H:105
std::atomic< size_t > ref_counted
Definition: ERF_NCWpsFile.H:120
typename std::remove_const< DataType >::type DType
Definition: ERF_NCWpsFile.H:52
std::vector< size_t > shape
Definition: ERF_NCWpsFile.H:119
DType * data
Definition: ERF_NCWpsFile.H:122
◆ NDArray() [2/3]
template<typename DataType >
◆ NDArray() [3/3]
template<typename DataType >
69 ref_counted.fetch_add(1, std::memory_order_relaxed);
◆ ~NDArray()
template<typename DataType >
84 ref_counted.fetch_sub(1, std::memory_order_acq_rel);
◆ get_data()
template<typename DataType >
decltype(auto) NDArray< DataType >::get_data |
( |
| ) |
|
|
inline |
90 ref_counted.fetch_add(1, std::memory_order_relaxed);
◆ get_vname()
template<typename DataType >
std::string NDArray< DataType >::get_vname |
( |
| ) |
|
|
inline |
◆ get_vshape()
template<typename DataType >
std::vector<size_t> NDArray< DataType >::get_vshape |
( |
| ) |
|
|
inline |
◆ ndim()
template<typename DataType >
size_t NDArray< DataType >::ndim |
( |
| ) |
|
|
inline |
◆ operator=()
template<typename DataType >
78 ref_counted.fetch_add(1, std::memory_order_relaxed);
◆ set_vshape()
template<typename DataType >
void NDArray< DataType >::set_vshape |
( |
std::vector< size_t > |
vshape | ) |
|
|
inline |
◆ data
template<typename DataType >
◆ name
template<typename DataType >
std::string NDArray< DataType >::name |
|
private |
◆ owned
template<typename DataType >
◆ ref_counted
template<typename DataType >
std::atomic<size_t> NDArray< DataType >::ref_counted |
|
mutableprivate |
◆ shape
template<typename DataType >
std::vector<size_t> NDArray< DataType >::shape |
|
private |
The documentation for this struct was generated from the following file: