#include <tensor.hpp>
|
static constexpr size_t | matSize () noexcept |
|
static constexpr size_t | size () noexcept |
|
|
T | _data [type==MatType::NORMAL ? n_slices *n_rows *n_cols :type==MatType::DIAGONAL ? n_slices *n_rows :type==MatType::SCALAR ? n_slices *1 :type==MatType::SUPPER ? n_slices *(n_rows - 1) *n_rows/2 :type==MatType::SLOWER ? n_slices *(n_rows - 1) *n_rows/2 :type==MatType::ASYM ? n_slices *(n_rows - 1) *n_rows/2 :n_slices *(1+n_rows) *n_rows/2] |
|
◆ element_type
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
using flames::Tensor< T, n_rows, n_cols, n_slices, type >::element_type = T |
◆ value_type
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
using flames::Tensor< T, n_rows, n_cols, n_slices, type >::value_type = T |
◆ View
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
◆ Tensor()
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
◆ matSize()
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
static constexpr size_t flames::Tensor< T, n_rows, n_cols, n_slices, type >::matSize |
( |
| ) |
|
|
inlinestaticconstexprnoexcept |
◆ operator[]() [1/2]
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
◆ operator[]() [2/2]
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
View flames::Tensor< T, n_rows, n_cols, n_slices, type >::operator[] |
( |
size_t |
index | ) |
const |
|
inline |
◆ size()
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
static constexpr size_t flames::Tensor< T, n_rows, n_cols, n_slices, type >::size |
( |
| ) |
|
|
inlinestaticconstexprnoexcept |
◆ slice() [1/2]
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
◆ slice() [2/2]
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
◆ _data
template<typename T , size_t n_rows, size_t n_cols, size_t n_slices,
MatType type>
T flames::Tensor< T, n_rows, n_cols, n_slices, type >::_data[type==MatType::NORMAL ? n_slices *n_rows *n_cols :type==MatType::DIAGONAL ? n_slices *n_rows :type==MatType::SCALAR ? n_slices *1 :type==MatType::SUPPER ? n_slices *(n_rows - 1) *n_rows/2 :type==MatType::SLOWER ? n_slices *(n_rows - 1) *n_rows/2 :type==MatType::ASYM ? n_slices *(n_rows - 1) *n_rows/2 :n_slices *(1+n_rows) *n_rows/2] |
|
private |
The documentation for this class was generated from the following files: