Stratax 0.4.0rc1
Loading...
Searching...
No Matches
Types.hpp File Reference

Supported scalar dtype aliases. More...

#include <cstddef>
#include <cstdint>
#include <complex>
Include dependency graph for Types.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using stratax::core::index_t = std::size_t
 Unsigned size and index type.
 
using stratax::core::ssize_t = std::ptrdiff_t
 Signed pointer-difference and index type.
 
using stratax::dtype::bool_ = bool
 Boolean dtype.
 
using stratax::dtype::int8 = std::int8_t
 Signed 8-bit integer dtype.
 
using stratax::dtype::int16 = std::int16_t
 Signed 16-bit integer dtype.
 
using stratax::dtype::int32 = std::int32_t
 Signed 32-bit integer dtype.
 
using stratax::dtype::int64 = std::int64_t
 Signed 64-bit integer dtype.
 
using stratax::dtype::uint8 = std::uint8_t
 Unsigned 8-bit integer dtype.
 
using stratax::dtype::uint16 = std::uint16_t
 Unsigned 16-bit integer dtype.
 
using stratax::dtype::uint32 = std::uint32_t
 Unsigned 32-bit integer dtype.
 
using stratax::dtype::uint64 = std::uint64_t
 Unsigned 64-bit integer dtype.
 
using stratax::dtype::float32 = float
 Native float dtype.
 
using stratax::dtype::float64 = double
 Native double dtype.
 
using stratax::dtype::longdouble = long double
 Native long double dtype; precision is platform-dependent.
 
using stratax::dtype::complex64 = std::complex< float >
 Complex dtype with native float components.
 
using stratax::dtype::complex128 = std::complex< double >
 Complex dtype with native double components.
 
using stratax::dtype::clongdouble = std::complex< long double >
 Complex dtype with native long double components.
 

Detailed Description

Supported scalar dtype aliases.

Definition in file Types.hpp.

Typedef Documentation

◆ bool_

using stratax::dtype::bool_ = typedef bool

Boolean dtype.

Definition at line 24 of file Types.hpp.

◆ clongdouble

using stratax::dtype::clongdouble = typedef std::complex<long double>

Complex dtype with native long double components.

Definition at line 56 of file Types.hpp.

◆ complex128

using stratax::dtype::complex128 = typedef std::complex<double>

Complex dtype with native double components.

Definition at line 54 of file Types.hpp.

◆ complex64

using stratax::dtype::complex64 = typedef std::complex<float>

Complex dtype with native float components.

Definition at line 52 of file Types.hpp.

◆ float32

using stratax::dtype::float32 = typedef float

Native float dtype.

Definition at line 45 of file Types.hpp.

◆ float64

using stratax::dtype::float64 = typedef double

Native double dtype.

Definition at line 47 of file Types.hpp.

◆ index_t

using stratax::core::index_t = typedef std::size_t

Unsigned size and index type.

Definition at line 14 of file Types.hpp.

◆ int16

using stratax::dtype::int16 = typedef std::int16_t

Signed 16-bit integer dtype.

Definition at line 29 of file Types.hpp.

◆ int32

using stratax::dtype::int32 = typedef std::int32_t

Signed 32-bit integer dtype.

Definition at line 31 of file Types.hpp.

◆ int64

using stratax::dtype::int64 = typedef std::int64_t

Signed 64-bit integer dtype.

Definition at line 33 of file Types.hpp.

◆ int8

using stratax::dtype::int8 = typedef std::int8_t

Signed 8-bit integer dtype.

Definition at line 27 of file Types.hpp.

◆ longdouble

using stratax::dtype::longdouble = typedef long double

Native long double dtype; precision is platform-dependent.

Definition at line 49 of file Types.hpp.

◆ ssize_t

using stratax::core::ssize_t = typedef std::ptrdiff_t

Signed pointer-difference and index type.

Definition at line 16 of file Types.hpp.

◆ uint16

using stratax::dtype::uint16 = typedef std::uint16_t

Unsigned 16-bit integer dtype.

Definition at line 38 of file Types.hpp.

◆ uint32

using stratax::dtype::uint32 = typedef std::uint32_t

Unsigned 32-bit integer dtype.

Definition at line 40 of file Types.hpp.

◆ uint64

using stratax::dtype::uint64 = typedef std::uint64_t

Unsigned 64-bit integer dtype.

Definition at line 42 of file Types.hpp.

◆ uint8

using stratax::dtype::uint8 = typedef std::uint8_t

Unsigned 8-bit integer dtype.

Definition at line 36 of file Types.hpp.