MOAB  4.9.3pre
Eigen::internal::scalar_identity_op< Scalar > Struct Template Reference

#include <NullaryFunctors.h>

List of all members.

Public Member Functions

template<typename Index >
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
Scalar 
operator() (Index row, Index col) const

Detailed Description

template<typename Scalar>
struct Eigen::internal::scalar_identity_op< Scalar >

Definition at line 31 of file NullaryFunctors.h.


Member Function Documentation

template<typename Scalar >
template<typename Index >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_identity_op< Scalar >::operator() ( Index  row,
Index  col 
) const [inline]

Definition at line 34 of file NullaryFunctors.h.

{ return row==col ? Scalar(1) : Scalar(0); }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines