Eigen  3.4.90 (git rev 9589cc4e7fd8e4538bedef80dd36c7738977a8be)
 
Loading...
Searching...
No Matches
Eigen::CommaInitializer< MatrixType > Class Template Reference

#include <Eigen/src/Core/CommaInitializer.h>

Detailed Description

template<typename MatrixType>
class Eigen::CommaInitializer< MatrixType >

Helper class used by the comma initializer operator.

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.

See also
MatrixBase::operator<<, CommaInitializer::finished()

Public Member Functions

XprType & finished ()
 

Member Function Documentation

◆ finished()

template<typename MatrixType>
XprType & Eigen::CommaInitializer< MatrixType >::finished ( )
inline
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());
Matrix< float, 3, 3 > Matrix3f
3×3 matrix of type float.
Definition Matrix.h:478
XprType & finished()
Definition CommaInitializer.h:108

The documentation for this class was generated from the following files: