#include <cnpy.H>
|
| | NpyArray (const std::vector< size_t > &_shape, size_t _word_size, bool _fortran_order, std::string _number_type) |
| |
| | NpyArray () |
| |
| template<typename T> |
| T * | data () |
| |
| template<typename T> |
| const T * | data () const |
| |
| template<typename T> |
| std::vector< T > | as_vec () |
| |
| size_t | num_bytes () const |
| |
Definition at line 31 of file cnpy.H.
◆ NpyArray() [1/2]
| cnpy::NpyArray::NpyArray |
( |
const std::vector< size_t > & | _shape, |
|
|
size_t | _word_size, |
|
|
bool | _fortran_order, |
|
|
std::string | _number_type ) |
|
inline |
◆ NpyArray() [2/2]
| cnpy::NpyArray::NpyArray |
( |
| ) |
|
|
inline |
◆ as_vec()
| std::vector< T > cnpy::NpyArray::as_vec |
( |
| ) |
|
|
inline |
◆ data() [1/2]
| T * cnpy::NpyArray::data |
( |
| ) |
|
|
inline |
◆ data() [2/2]
| const T * cnpy::NpyArray::data |
( |
| ) |
const |
|
inline |
◆ num_bytes()
| size_t cnpy::NpyArray::num_bytes |
( |
| ) |
const |
|
inline |
◆ data_holder
| std::shared_ptr<std::vector<char > > cnpy::NpyArray::data_holder |
◆ fortran_order
| bool cnpy::NpyArray::fortran_order |
◆ num_vals
| size_t cnpy::NpyArray::num_vals |
◆ number_type
| std::string cnpy::NpyArray::number_type |
◆ shape
| std::vector<size_t> cnpy::NpyArray::shape |
◆ word_size
| size_t cnpy::NpyArray::word_size |
The documentation for this struct was generated from the following file:
- /github/workspace/src/ITHACA_CORE/ITHACAstream/cnpy.H