Stratax
Scientific computing containers and operations
Loading...
Searching...
No Matches
stratax::core Namespace Reference

Namespaces

namespace  concept_detail
namespace  config
namespace  dtype
namespace  validation

Classes

class  Buffer
 Owns contiguous dynamically allocated storage. More...
class  Shape
 Stores a list of dimension lengths for an array shape. More...
class  Slice
 Represents a half-open range of indices. More...
class  Strides
 Stores strides for a shape in contiguous memory. More...

Functions

std::ostream & operator<< (std::ostream &os, const Shape &shape)
 Writes a shape to a stream in tuple-like form.
std::ostream & operator<< (std::ostream &os, const Strides &stride)
 Writes stride values in tuple-like form.

Function Documentation

◆ operator<<() [1/2]

std::ostream & stratax::core::operator<< ( std::ostream & os,
const Shape & shape )
inline

Writes a shape to a stream in tuple-like form.

Parameters
osOutput stream.
shapeShape to print.
Returns
The updated output stream.

Definition at line 282 of file Shape.hpp.

References stratax::core::Shape::rank().

◆ operator<<() [2/2]

std::ostream & stratax::core::operator<< ( std::ostream & os,
const Strides & stride )
inline

Writes stride values in tuple-like form.

Parameters
osOutput stream.
strideStride vector to print.
Returns
The updated output stream.

Definition at line 332 of file Strides.hpp.

References stratax::core::Strides::rank().