Template Class Vector#
Defined in File vectorImpl.hpp
Inheritance Relationships#
Base Type#
public librapid::vectorDetail::VectorBase< Vector< ScalarType, NumDims > >
(Template Class VectorBase)
Class Documentation#
-
template<typename ScalarType, size_t NumDims>
class Vector : public librapid::vectorDetail::VectorBase<Vector<ScalarType, NumDims>># Public Types
-
using Scalar = ScalarType#
-
using StorageType = vectorDetail::VectorStorage<Scalar, NumDims>#
-
using IndexTypeConst = typename StorageType::IndexTypeConst#
-
using IndexType = typename StorageType::IndexType#
-
using GetType = typename StorageType::GetType#
Public Functions
-
Vector() = default#
-
template<typename OtherScalar, size_t OtherDims>
inline explicit Vector(const Vector<OtherScalar, OtherDims> &other)#
-
template<typename LHS, typename RHS, typename Op>
inline explicit Vector(const vectorDetail::BinaryVecOp<LHS, RHS, Op> &other)#
-
template<typename Val, typename Op>
inline explicit Vector(const vectorDetail::UnaryVecOp<Val, Op> &other)#
-
template<typename OtherScalar, size_t OtherDims>
inline auto operator=(const Vector<OtherScalar, OtherDims> &other) -> Vector&#
-
template<typename LHS, typename RHS, typename Op>
inline auto operator=(const vectorDetail::BinaryVecOp<LHS, RHS, Op> &other) -> Vector&#
-
template<typename Val, typename Op>
inline auto operator=(const vectorDetail::UnaryVecOp<Val, Op> &other) -> Vector&#
-
inline virtual IndexTypeConst operator[](int64_t index) const override#
-
template<typename NewScalar, size_t NewDims>
inline auto cast() const#
-
template<typename T_, typename Char, typename Ctx>
inline void str(const fmt::formatter<T_, Char> &formatter, Ctx &ctx) const#
-
inline const StorageType &storage() const#
-
inline StorageType &storage()#
Public Static Functions
Public Static Attributes
-
static constexpr size_t length = StorageType::length#
-
using Scalar = ScalarType#