$treeview $search $mathjax
Eigen  3.2.5
$projectbrief
$projectbrief
$searchbox

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.

Public Member Functions

const NullaryOp & functor () const

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()

Member Function Documentation

const NullaryOp& functor (  )  const [inline]
Returns:
the functor representing the nullary operation

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