Array typedefs#

Defined in sycomore/Array.h

using Real = double#

Real numbers.

using Complex = std::complex<Real>#

Complex numbers.

template<typename T>
using Vector2 = xt::xtensor_fixed<T, xt::xshape<2>>#

2D Vector of arithmetic types

template<typename T>
using Vector3 = xt::xtensor_fixed<T, xt::xshape<3>>#

3D Vector of arithmetic types

template<typename T>
using Vector4 = xt::xtensor_fixed<T, xt::xshape<4>>#

4D Vector of arithmetic types

template<typename T>
using Matrix2x2 = xt::xtensor_fixed<T, xt::xshape<2, 2>>#

2x2 matrix of arithmetic types

template<typename T>
using Matrix3x3 = xt::xtensor_fixed<T, xt::xshape<3, 3>>#

3x3 matrix of arithmetic types

template<typename T>
using Matrix4x4 = xt::xtensor_fixed<T, xt::xshape<4, 4>>#

4x4 matrix of arithmetic types

template<std::size_t N, xt::layout_type L = XTENSOR_DEFAULT_LAYOUT>
using TensorR = xt::xtensor<Real, N, L>#

Static-dimension array of real numbers.

template<std::size_t N, xt::layout_type L = XTENSOR_DEFAULT_LAYOUT>
using TensorC = xt::xtensor<Complex, N, L>#

Static-dimension array of complex numbers.

using ArrayR = xt::xarray<Real>#

Dynamic-dimension array of real numbers.

using ArrayC = xt::xarray<Complex>#

Dynamic-dimension array of complex numbers.

using Vector2R = Vector2<Real>#

2D vector of real numbers

using Vector3R = Vector3<Real>#

3D vector of real numbers

using Vector4R = Vector4<Real>#

4D vector of real numbers

using Matrix2x2R = Matrix2x2<Real>#

2x2 matrix of real numbers

using Matrix3x3R = Matrix3x3<Real>#

3x3 matrix of real numbers

using Matrix4x4R = Matrix4x4<Real>#

3x3 matrix of real numbers

using Vector2C = Vector2<Complex>#

2D vector of complex numbers

using Vector3C = Vector3<Complex>#

3D vector of complex numbers

using Vector4C = Vector4<Complex>#

4D vector of complex numbers

using Matrix2x2C = Matrix2x2<Complex>#

2x2 matrix of complex numbers

using Matrix3x3C = Matrix3x3<Complex>#

3x3 matrix of complex numbers

using Matrix4x4C = Matrix4x4<Complex>#

3x3 matrix of complex numbers