Class cip::VectorN
template <typename T, std::size_t N>
Public Functions
Type | Name |
---|---|
VectorN (const T & initial_value, const IndexArray & dimensions) |
|
VectorN (const VectorN & other) |
|
VectorN (const NestedVector & nested) |
|
VectorN (const IndexArray & dimensions) |
|
const std::vector< T > & | data () const |
const IndexArray & | dimensions () const |
void | emplace_back (Args... args) |
Mdspan | get_mdspan () |
const Mdspan | get_mdspan () const |
void | move_into_submdspan (std::vector< T > && source, SliceSpecs &&... specs) |
void | move_into_submdspan (VectorN< T, M > && source, SliceSpecs &&... specs) |
T & | operator() (Indices... indices) |
const T & | operator() (Indices... indices) const |
T & | operator() (IndexArray & indices) |
const T & | operator() (IndexArray & indices) const |
Mdspan | submdspan (Pairs &&... pairs) const |
Mdspan | submdspan (Pairs &&... pairs) |
Mdspan1D | submdspan_1d (SliceArgs &&... args) |
Public Functions Documentation
function VectorN [1/4]
function VectorN [2/4]
function VectorN [3/4]
function VectorN [4/4]
function data
function dimensions
function emplace_back
function get_mdspan [1/2]
function get_mdspan [2/2]
function move_into_submdspan [1/2]
template<typename... SliceSpecs>
inline void cip::VectorN::move_into_submdspan (
std::vector< T > && source,
SliceSpecs &&... specs
)
function move_into_submdspan [2/2]
template<std::size_t M, typename... SliceSpecs>
inline void cip::VectorN::move_into_submdspan (
VectorN < T, M > && source,
SliceSpecs &&... specs
)
function operator() [1/4]
function operator() [2/4]
template<typename... Indices>
inline const T & cip::VectorN::operator() (
Indices... indices
) const
function operator() [3/4]
function operator() [4/4]
template<typename... Indices>
inline const T & cip::VectorN::operator() (
IndexArray & indices
) const
function submdspan [1/2]
function submdspan [2/2]
function submdspan_1d
The documentation for this class was generated from the following file include/vectorn.hpp