14namespace stratax::creation {
182 for (std::size_t i = 0; i < size; ++i)
Dtype and array interface concepts.
stratax::container::Tensor< T > ones(const stratax::core::Shape &shape)
Creates a tensor filled with multiplicative identity values.
stratax::container::Tensor< T > zeros(const stratax::core::Shape &shape)
Creates a tensor filled with additive identity values.
stratax::container::Matrix< T > identity(std::size_t size)
Creates a square identity matrix.
stratax::container::Tensor< T > full(const stratax::core::Shape &shape, const T &value)
Creates a tensor filled with a specified value.
Immutable dimension metadata and checked row-major strides.
Arbitrary-rank owning arrays; rank zero is empty.
Two-dimensional owning array of supported dtype values.
Arbitrary-rank owning array of supported dtype values.
One-dimensional owning array of supported dtype values.
Stores the dimensions of a multidimensional array.