Loading...
Searching...
No Matches
MatrixDenseBase.hpp
Go to the documentation of this file.
Definition MatrixDenseBase.hpp:21
void Transpose()
Transposes this matrix.
Definition MatrixDenseBase-Impl.hpp:92
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
MatrixDenseBase()=default
void SetOffDiagonal(ConstReference val)
Sets off-diagonal elements with input scalar.
Definition MatrixDenseBase-Impl.hpp:45
Reference operator()(size_t i, size_t j)
Definition MatrixDenseBase-Impl.hpp:107
static std::enable_if_t< IsMatrixSizeStatic< Rows, Cols >(), D > MakeZero()
Makes a static matrix with zero entries.
Definition MatrixDenseBase-Impl.hpp:136
MatrixDenseBase & operator=(const MatrixExpression< T, R, C, E > &expression)
Copies from generic expression.
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< IsMatrixStaticSquare< Rows, Cols >(), D > MakeIdentity()
Makes a static identity matrix.
Definition MatrixDenseBase-Impl.hpp:169
void CopyFrom(const MatrixExpression< T, R, C, E > &expression)
Copies from generic expression.
Definition MatrixDenseBase-Impl.hpp:21
static std::enable_if_t< IsMatrixSizeStatic< Rows, Cols >(), D > MakeConstant(ValueType val)
Makes a static matrix with constant entries.
Definition MatrixDenseBase-Impl.hpp:152
void Invert()
Inverts this matrix.
Definition MatrixDenseBase-Impl.hpp:100
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
static std::enable_if_t< IsMatrixStaticSquare< Rows, Cols >(), D > MakeScaleMatrix(ValueType first, Args... rest)
Makes scale matrix.
Definition MatrixDenseBase-Impl.hpp:191
static std::enable_if_t< IsMatrixStaticSquare< Rows, Cols >() &&(Rows==2), D > MakeRotationMatrix(T rad)
Definition MatrixDenseBase-Impl.hpp:229
void SetDiagonal(ConstReference val)
Sets diagonal elements with input scalar.
Definition MatrixDenseBase-Impl.hpp:34
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
1.9.8