Logo Search packages:      
Sourcecode: eigen3 version File versions  Download package

Public Types | Public Member Functions

internal::scalar_abs_op< Scalar > Struct Template Reference

Template functor to compute the absolute value of a scalar. More...

#include <Functors.h>

List of all members.

Public Types

typedef NumTraits< Scalar >::Real result_type

Public Member Functions

EIGEN_STRONG_INLINE const
result_type 
operator() (const Scalar &a) const
template<typename Packet >
EIGEN_STRONG_INLINE const Packet packetOp (const Packet &a) const

Detailed Description

template<typename Scalar>
struct internal::scalar_abs_op< Scalar >

Template functor to compute the absolute value of a scalar.

See also:
class CwiseUnaryOp, Cwise::abs

Definition at line 247 of file Functors.h.


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

Generated by  Doxygen 1.6.0   Back to index