Inherits array< DenseIndex, NumDims >.
|
| DSizes () |
|
| DSizes (const array< DenseIndex, NumDims > &a) |
|
template<typename OtherIndex > |
| DSizes (const array< OtherIndex, NumDims > &other, std::enable_if_t< internal::is_same< DenseIndex, typename internal::promote_index_type< DenseIndex, OtherIndex >::type >::value, void * >=0) |
|
| DSizes (const DenseIndex i0) |
|
| DSizes (const DimensionList< DenseIndex, NumDims > &a) |
|
template<typename FirstType , typename... OtherTypes> |
| DSizes (const Eigen::IndexList< FirstType, OtherTypes... > &dimensions) |
|
template<typename std::ptrdiff_t... Indices> |
| DSizes (const Sizes< Indices... > &a) |
|
template<typename... IndexTypes> |
| DSizes (DenseIndex firstDimension, DenseIndex secondDimension, IndexTypes... otherDimensions) |
|
DenseIndex | IndexOfColMajor (const array< DenseIndex, NumDims > &indices) const |
|
DenseIndex | IndexOfRowMajor (const array< DenseIndex, NumDims > &indices) const |
|
DSizes & | operator= (const array< DenseIndex, NumDims > &other) |
|
Index | rank () const |
|
DenseIndex | TotalSize () const |
|
template<typename DenseIndex, int NumDims>
struct Eigen::DSizes< DenseIndex, NumDims >
Definition at line 251 of file TensorDimensions.h.
◆ Base
template<typename DenseIndex , int NumDims>
◆ DSizes() [1/8]
template<typename DenseIndex , int NumDims>
◆ DSizes() [2/8]
template<typename DenseIndex , int NumDims>
◆ DSizes() [3/8]
template<typename DenseIndex , int NumDims>
◆ DSizes() [4/8]
template<typename DenseIndex , int NumDims>
◆ DSizes() [5/8]
template<typename DenseIndex , int NumDims>
template<typename OtherIndex >
Definition at line 285 of file TensorDimensions.h.
295 for (
int i = 0;
i < NumDims; ++
i) {
EIGEN_DEFAULT_DENSE_INDEX_TYPE DenseIndex
◆ DSizes() [6/8]
template<typename DenseIndex , int NumDims>
template<typename FirstType , typename... OtherTypes>
Definition at line 302 of file TensorDimensions.h.
303 for (
int i = 0;
i < dimensions.count; ++
i) {
304 (*this)[
i] = dimensions[
i];
◆ DSizes() [7/8]
template<typename DenseIndex , int NumDims>
template<typename std::ptrdiff_t... Indices>
◆ DSizes() [8/8]
template<typename DenseIndex , int NumDims>
template<typename... IndexTypes>
Definition at line 325 of file TensorDimensions.h.
325 :
Base({{firstDimension, secondDimension, otherDimensions...}}) {
326 EIGEN_STATIC_ASSERT(
sizeof...(otherDimensions) + 2 == NumDims, YOU_MADE_A_PROGRAMMING_MISTAKE)
#define EIGEN_STATIC_ASSERT(X, MSG)
◆ IndexOfColMajor()
template<typename DenseIndex , int NumDims>
Definition at line 335 of file TensorDimensions.h.
336 return internal::tensor_index_linearization_helper<DenseIndex, NumDims, NumDims - 1, false>::run(indices, *
static_cast<const Base*
>(
this));
◆ IndexOfRowMajor()
template<typename DenseIndex , int NumDims>
Definition at line 338 of file TensorDimensions.h.
339 return internal::tensor_index_linearization_helper<DenseIndex, NumDims, NumDims - 1, true>::run(indices, *
static_cast<const Base*
>(
this));
◆ operator=()
template<typename DenseIndex , int NumDims>
◆ rank()
template<typename DenseIndex , int NumDims>
◆ TotalSize()
template<typename DenseIndex , int NumDims>
Definition at line 259 of file TensorDimensions.h.
constexpr auto array_prod(const array< T, N > &arr) -> decltype(array_reduce< product_op, T, N >(arr, static_cast< T >(1)))
◆ count
template<typename DenseIndex , int NumDims>
The documentation for this struct was generated from the following file: