Struct sym::scalar::StorageOps#

template<typename ScalarType>
struct StorageOps#

C++ StorageOps implementation for scalars.

Subclassed by sym::StorageOps< double >, sym::StorageOps< float >

Public Types

using Scalar = ScalarType#

Public Static Functions

static inline constexpr int32_t StorageDim()#
static inline void ToStorage(const ScalarType &a, ScalarType *out)#
static inline ScalarType FromStorage(const ScalarType *data)#
static inline constexpr type_t TypeEnum()#
template<typename Generator>
static inline Scalar Random(Generator &gen)#