VectorExpression-Impl.h
Go to the documentation of this file.
99 VectorAdd<T, E1, E2> operator+(const VectorExpression<T, E1>& a, const VectorExpression<T, E2>& b)
116 VectorSub<T, E1, E2> operator-(const VectorExpression<T, E1>& a, const VectorExpression<T, E2>& b)
134 VectorMul<T, E1, E2> operator*(const VectorExpression<T, E1>& a, const VectorExpression<T, E2>& b)
152 VectorDiv<T, E1, E2> operator/(const VectorExpression<T, E1>& a, const VectorExpression<T, E2>& b)
const E & operator()() const
Returns actual implementation (the subclass).
Definition: VectorExpression-Impl.h:24
T operator[](size_t i) const
Returns vector element at i.
Definition: VectorExpression-Impl.h:43
T operator[](size_t i) const
Returns vector element at i.
Definition: VectorExpression-Impl.h:62
Matrix< T, 2, 2 > operator+(const Matrix< T, 2, 2 > &a, const Matrix< T, 2, 2 > &b)
Returns a + b (element-size).
Definition: Matrix2x2-Impl.h:660
size_t size() const
Size of the matrix.
Definition: VectorExpression-Impl.h:56
T operator[](size_t i) const
Returns vector element at i.
Definition: VectorExpression-Impl.h:80
size_t size() const
Size of the matrix.
Definition: VectorExpression-Impl.h:37
VectorBinaryOp(const E1 &u, const E2 &v)
Constructs binary operation expression for given input vector expressions.
Definition: VectorExpression-Impl.h:50
VectorUnaryOp(const E &u)
Constructs unary operation expression for given input expression.
Definition: VectorExpression-Impl.h:31
Matrix< T, 2, 2 > operator/(const Matrix< T, 2, 2 > &a, T b)
Definition: Matrix2x2-Impl.h:720
Definition: pybind11Utils.h:24
size_t size() const
Size of the matrix.
Definition: VectorExpression-Impl.h:74
Matrix< T, 2, 2 > operator-(const Matrix< T, 2, 2 > &a)
Returns a matrix with opposite sign.
Definition: Matrix2x2-Impl.h:654
size_t size() const
Size of the vector.
Definition: VectorExpression-Impl.h:18
VectorScalarBinaryOp(const E &u, const T &v)
Constructs a binary expression for given vector and scalar.
Definition: VectorExpression-Impl.h:68
Vector< T, 3 > operator*(const Quaternion< T > &q, const Vector< T, 3 > &v)
Returns quaternion q * vector v.
Definition: Quaternion-Impl.h:481
Vector expression for matrix-scalar binary operation.
Definition: VectorExpression.h:114