Einsums/TensorBase/Common.hpp#

Defined in header Einsums/TensorBase/Common.hpp.

See Overview for a list of names and headers that are part of the public Einsums API.

Defines

DEFINE_STRUCT(Name, UnderlyingType)#

Convenience macro for creating a type derived from a std::array.

namespace einsums

Todo:

Variables

static struct AllT All#
struct AllT#
template<std::size_t Rank>
struct Chunk : public std::array<std::int64_t, Rank>#
#include <Common.hpp>

Holds a list of chunks in an array.

Public Functions

template<typename ...Args>
inline explicit constexpr Chunk(Args... args)#

Aggregate constructor.

template<std::size_t Rank>
struct Count : public std::array<std::int64_t, Rank>#
#include <Common.hpp>

Holds a list of counts in an array.

Public Functions

template<typename ...Args>
inline explicit constexpr Count(Args... args)#

Aggregate constructor.

template<std::size_t Rank>
struct Dim : public std::array<std::int64_t, Rank>#
#include <Common.hpp>

Holds a list of dimensions in an array.

Public Functions

template<typename ...Args>
inline explicit constexpr Dim(Args... args)#

Aggregate constructor.

template<std::size_t Rank>
struct Offset : public std::array<std::int64_t, Rank>#
#include <Common.hpp>

Holds a list of offsets in an array.

Public Functions

template<typename ...Args>
inline explicit constexpr Offset(Args... args)#

Aggregate constructor.

struct Range : public std::array<std::int64_t, 2>#
#include <Common.hpp>

Holds two values: a starting value and an ending value.

Public Functions

template<typename ...Args>
inline explicit constexpr Range(Args... args)#

Initialize a range.

template<std::size_t Rank>
struct Stride : public std::array<std::int64_t, Rank>#
#include <Common.hpp>

Holds a list of strides in an array.

Public Functions

template<typename ...Args>
inline explicit constexpr Stride(Args... args)#

Aggregate constructor.