MatrixDenseBase.hpp
Go to the documentation of this file.
const T & ConstReference
Definition: MatrixDenseBase.hpp:25
Definition: MatrixDenseBase.hpp:20
void SetDiagonal(ConstReference val)
Sets diagonal elements with input scalar.
Definition: MatrixDenseBase-Impl.hpp:34
static std::enable_if_t< IsMatrixSizeStatic< Rows, Cols >), D > MakeZero()
Makes a static matrix with zero entries.
Definition: MatrixDenseBase-Impl.hpp:136
void CopyFrom(const MatrixExpression< T, R, C, E > &expression)
Copies from generic expression.
Definition: MatrixDenseBase-Impl.hpp:21
MatrixDenseBase & operator=(const MatrixExpression< T, R, C, E > &expression)
Copies from generic expression.
T ValueType
Definition: MatrixDenseBase.hpp:23
MatrixDenseBase()=default
void SetColumn(size_t j, const MatrixExpression< T, R, C, E > &col)
Sets j-th column with input vector.
Definition: MatrixDenseBase-Impl.hpp:74
static std::enable_if_t< IsMatrixSizeStatic< Rows, Cols >), D > MakeConstant(ValueType val)
Makes a static matrix with constant entries.
Definition: MatrixDenseBase-Impl.hpp:152
static std::enable_if_t< IsMatrixStaticSquare< Rows, Cols >), D > MakeIdentity()
Makes a static identity matrix.
Definition: MatrixDenseBase-Impl.hpp:169
Definition: pybind11Utils.hpp:20
void Transpose()
Transposes this matrix.
Definition: MatrixDenseBase-Impl.hpp:92
void SetRow(size_t i, const MatrixExpression< T, R, C, E > &row)
Sets i-th row with input column vector.
Definition: MatrixDenseBase-Impl.hpp:61
T & Reference
Definition: MatrixDenseBase.hpp:24
static std::enable_if_t< IsMatrixStaticSquare< Rows, Cols >) &&(Rows==2), D > MakeRotationMatrix(T rad)
Definition: MatrixDenseBase-Impl.hpp:229
static std::enable_if_t< IsMatrixStaticSquare< Rows, Cols >), D > MakeScaleMatrix(ValueType first, Args... rest)
Makes scale matrix.
Definition: MatrixDenseBase-Impl.hpp:191
void SetOffDiagonal(ConstReference val)
Sets off-diagonal elements with input scalar.
Definition: MatrixDenseBase-Impl.hpp:45
void Invert()
Inverts this matrix.
Definition: MatrixDenseBase-Impl.hpp:100
static std::enable_if_t< IsMatrixStaticSquare< Rows, Cols >) &&(Rows==4), D > MakeTranslationMatrix(const MatrixExpression< T, R, C, E > &t)
Makes translation matrix.
Definition: MatrixDenseBase-Impl.hpp:272
Reference operator()(size_t i, size_t j)
Definition: MatrixDenseBase-Impl.hpp:107