Skip to content

raisim::MatExpr ​

class · #include <raisim/math/Expression.hpp>

cpp
template <typename E>
class MatExpr

CRTP base of all fixed-size matrix types and expression templates (Mat, the block views and the lazy arithmetic expressions). The binary operators in Operation.hpp accept MatExpr operands.

Public types ​

SelfType ​

cpp
using SelfType = MatExpr<E>

This type.

Public member functions ​

rows ​

cpp
constexpr size_t rows() const

Returns number of rows of the derived expression.

size ​

cpp
constexpr size_t size() const

Returns number of elements of the derived expression.

cols ​

cpp
constexpr size_t cols() const

Returns number of columns of the derived expression.

RaiSim — physics for robotics and AI.