![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/Tensor.h>
Factory for creating standard type tensors up to a certain maximum rank. More...
Factory for creating standard type tensors up to a certain maximum rank.
The maxRank variable can be changed according to your needs if required. However, since the compiler will generate code for all possible permitted ranks, the executable size will grow along with maxRank.
Classes | |
| struct | RankFactory |
| Internal helper factory for fixed type and increasing rank. More... | |
| struct | RankFactory< TensorFactory::maxRank > |
Static Public Member Functions | |
| static TensorBase * | create (size_t rank) |
| Returns a tensor of the given rank and type or null if either the rank is too high or the type non-standard. | |
Static Public Attributes | |
| static const size_t | maxRank |
| Compiler will generate factories up to this rank. Public because other code dealing with tensor IO has to know. | |
|
static |
Compiler will generate factories up to this rank. Public because other code dealing with tensor IO has to know.