template<typename XprType>
Eigen::CommaInitializer class

Helper class used by the comma initializer operator.

Contents

This class is internally used to implement the comma initializer feature. It is the return type of MatrixBase::operator<<, and most of the time this is the only way it is used.

Public functions

auto finished() -> XprType&

Function documentation

template<typename XprType>
XprType& Eigen::CommaInitializer<XprType>::finished()

Returns the built matrix once all its coefficients have been set. Calling finished is 100% optional. Its purpose is to write expressions like this: quaternion.fromRotationMatrix((Matrix3f() << axis0, axis1, axis2).finished());