Skip to content

raisim::DiagonalRef ​

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

Inherits: raisim::MatExpr< DiagonalRef< T, n > >

cpp
template <class T, size_t n>
class DiagonalRef

Placeholder proxy for a matrix diagonal. It has no accessors and no Mat method returns it.

Public types ​

SelfType ​

cpp
typedef DiagonalRef<T, n> SelfType

This type.

Constructors & destructor ​

DiagonalRef ​

cpp
explicit DiagonalRef(T &array)

Parameters

ParameterDescription
array (in)referenced matrix

Public attributes ​

ref ​

cpp
T &ref

Referenced matrix.

Inherited members ​

From raisim::MatExpr: cols, rows, size

RaiSim — physics for robotics and AI.