static const int is
bool invert_m
Whether the identity should be added to + or - m.
Operator< Op< typename Internal::DivideType< Pl, Pr >::type > > operator/(const Operator< Op< Pl > > &l, const Pr &r)
Operator< Internal::ScalarsVector< Size, P1, B1, Precision > > add(const Vector< Size, P1, B1 > &v) const
Operator(P s, int r, int c)
Operator< Internal::AddIdentity< Rows, Cols, P1, B1, Precision > > rsubtract(const Matrix< Rows, Cols, P1, B1 > &m) const
const Precision s
Scalar to add.
static Operator< Internal::Identity< Internal::One > > Identity
void eval(Vector< Size, Precision, Base > &v) const
Operator< Internal::SizedScalars< Precision > > operator()(int size) const
const Precision s
Scalar to add.
Everything lives inside this namespace.
Rhs operator-(One, const Rhs &v)
Subtracts something from One.
Rhs operator*(One, const Rhs &v)
Multiplies One by something.
static void test(int s1, int s2)
void plusequals(Matrix< Rows, Cols, P1, B1 > &m) const
Operator< Internal::RCScalars< Pout > > scale_me(const Pmult &m) const
static const Operator< Internal::Scalars< Internal::One > > Ones
Rhs operator+(One, const Rhs &v)
Adds something to One.
void eval(Matrix< Rows, Cols, P1, B1 > &m) const
void eval(Vector< Size, P1, B1 > &v) const
Operator< Internal::Identity< Pout > > scale_me(const Pmult &m) const
Operator< Internal::ScalarsMatrix< Rows, Cols, P1, B1, Precision > > add(const Matrix< Rows, Cols, P1, B1 > &v) const
void minusequals(Matrix< Rows, Cols, P1, B1 > &m) const
Operator< Internal::SizedScalars< Pout > > scale_me(const Pmult &m) const
const Precision s
Scale of the identity matrix.
Operator< Internal::AddIdentity< Rows, Cols, P1, B1, Precision > > lsubtract(const Matrix< Rows, Cols, P1, B1 > &m) const
Operator< Internal::ScalarsVector< Size, P1, B1, Precision > > rsubtract(const Vector< Size, P1, B1 > &v) const
void plusequals(Vector< Size, P1, B1 > &v) const
Operator< Internal::ScalarsMatrix< Rows, Cols, P1, B1, typename Internal::NegType< P >::Type > > rsubtract(const Matrix< Rows, Cols, P1, B1 > &v) const
Operator< Internal::ScalarsMatrix< Rows, Cols, P1, B1, Precision > > lsubtract(const Matrix< Rows, Cols, P1, B1 > &v) const
Operator(Precision s_, const Vector< S, P, B > &v_, bool inv)
const Vector< S, P, B > & v
Vector to be added to.
Operator< Op > operator-(const Operator< Op > &o)
void eval(Matrix< R, C, P, B > &m) const
Operator< Internal::SizedIdentity< Precision > > operator()(int s)
void eval(Matrix< R1, C1, P1, B1 > &mm) const
const Precision s
Value of the scalar being represented.
void eval(Matrix< R, C, P, B > &m) const
void plusequals(Matrix< Rows, Cols, P, B > &m) const
Operator(Precision s_, const Matrix< R, C, P, B > &m_, bool b)
const bool invert_v
Whether to use + or - v.
Operator< Internal::Scalars< Pout > > scale_me(const Pmult &m) const
void minusequals(Vector< Size, P1, B1 > &v) const
Operator< Internal::ScalarsVector< Size, P1, B1, Precision > > lsubtract(const Vector< Size, P1, B1 > &v) const
Operator< Internal::RCScalars< Precision > > operator()(int r, int c) const
Operator< Internal::SizedIdentity< Pout > > scale_me(const Pmult &m) const
const Matrix< R, C, P, B > & m
matrix to which the identity should be added
Operator(int s, const Precision &v)
Operator< Internal::AddIdentity< Rows, Cols, P1, B1, Precision > > add(const Matrix< Rows, Cols, P1, B1 > &m) const
void eval(Matrix< R1, C1, P1, B1 > &mm) const
Vector< Internal::Sizer< S1, S2 >::size, typename Internal::MultiplyType< P1, P2 >::type > operator*(const DiagonalMatrix< S1, P1, B1 > &d, const Vector< S2, P2, B2 > &v)
const Matrix< R, C, P, B > & m
Vector to be added to.
static Operator< Internal::Zero > Zeros
Operator(const Precision &v)
void eval(Vector< S1, P1, B1 > &vv) const