CwiseNullaryOp< NullaryOp, PlainObjectType > Class Template Reference
[Core module]

Generic expression of a matrix where all coefficients are defined by a functor. More...

Inherits Eigen::internal::no_assignment_operator, and internal::dense_xpr_base::type< CwiseNullaryOp< NullaryOp, PlainObjectType > >.

List of all members.


Detailed Description

template<typename NullaryOp, typename PlainObjectType>
class Eigen::CwiseNullaryOp< NullaryOp, PlainObjectType >

Generic expression of a matrix where all coefficients are defined by a functor.

Parameters:
NullaryOp template functor implementing the operator
PlainObjectType the underlying plain matrix/array type

This class represents an expression of a generic nullary operator. It is the return type of the Ones(), Zero(), Constant(), Identity() and Random() methods, and most of the time this is the only way it is used.

However, if you want to write a function returning such an expression, you will need to use this class.

See also:
class CwiseUnaryOp, class CwiseBinaryOp, DenseBase::NullaryExpr()

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

Generated on 15 Aug 2012 for Eigen by  doxygen 1.6.1