Main MRPT website > C++ reference
MRPT logo
Defines | Functions

ArrayCwiseUnaryOps.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(METHOD_NAME, FUNCTOR)
#define EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(METHOD_NAME, FUNCTOR)

Functions

EIGEN_STRONG_INLINE const
CwiseUnaryOp
< internal::scalar_abs_op
< Scalar >, Derived > 
abs () const
EIGEN_STRONG_INLINE const
CwiseUnaryOp
< internal::scalar_abs2_op
< Scalar >, Derived > 
abs2 () const
const CwiseUnaryOp
< internal::scalar_exp_op
< Scalar >, Derived > 
exp () const
const CwiseUnaryOp
< internal::scalar_log_op
< Scalar >, Derived > 
log () const
const CwiseUnaryOp
< internal::scalar_sqrt_op
< Scalar >, Derived > 
sqrt () const
const CwiseUnaryOp
< internal::scalar_cos_op
< Scalar >, Derived > 
cos () const
const CwiseUnaryOp
< internal::scalar_sin_op
< Scalar >, Derived > 
sin () const
const CwiseUnaryOp
< internal::scalar_pow_op
< Scalar >, Derived > 
pow (const Scalar &exponent) const
const CwiseUnaryOp
< internal::scalar_inverse_op
< Scalar >, Derived > 
inverse () const
const CwiseUnaryOp
< internal::scalar_square_op
< Scalar >, Derived > 
square () const
const CwiseUnaryOp
< internal::scalar_cube_op
< Scalar >, Derived > 
cube () const

Define Documentation

#define EIGEN_MAKE_SCALAR_CWISE_UNARY_OP (   METHOD_NAME,
  FUNCTOR 
)
Value:
inline const CwiseUnaryOp<std::binder2nd<FUNCTOR<Scalar> >,Derived> \
  METHOD_NAME(const Scalar& s) const { \
    return CwiseUnaryOp<std::binder2nd<FUNCTOR<Scalar> >,Derived> \
            (derived(), std::bind2nd(FUNCTOR<Scalar>(), s)); \
  }
#define EIGEN_MAKE_SCALAR_CWISE_UNARY_OP (   METHOD_NAME,
  FUNCTOR 
)
Value:
inline const CwiseUnaryOp<std::binder2nd<FUNCTOR<Scalar> >,Derived> \
  METHOD_NAME(const Scalar& s) const { \
    return CwiseUnaryOp<std::binder2nd<FUNCTOR<Scalar> >,Derived> \
            (derived(), std::bind2nd(FUNCTOR<Scalar>(), s)); \
  }

Definition at line 150 of file ArrayCwiseUnaryOps.h.


Function Documentation

EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs_op<Scalar>, Derived> abs (  ) const
Returns:
an expression of the coefficient-wise absolute value of *this

Example:

Output:

See also:
abs2()

Definition at line 11 of file ArrayCwiseUnaryOps.h.

Referenced by HouseholderQR< _MatrixType >::absDeterminant(), FullPivHouseholderQR< _MatrixType >::absDeterminant(), ColPivHouseholderQR< _MatrixType >::absDeterminant(), Hyperplane< _Scalar, _AmbientDim >::absDistance(), QuaternionBase< Derived >::angularDistance(), MatrixBase< Derived >::blueNorm(), cdiv(), SelfAdjointEigenSolver< _MatrixType >::compute(), JacobiSVD< _MatrixType, QRPreconditioner >::compute(), EigenSolver< _MatrixType >::compute(), ColPivHouseholderQR< _MatrixType >::compute(), RealSchur< MatrixType >::computeShift(), ComplexSchur< MatrixType >::computeShift(), mrpt::math::CQuaternion< double >::CQuaternion(), EigenSolver< _MatrixType >::doComputeEigenvectors(), ei_abs(), internal::EIGEN_MATHFUNC_RETVAL(), internal::image_retval< FullPivLU< _MatrixType > >::evalTo(), internal::kernel_retval< FullPivLU< _MatrixType > >::evalTo(), RealSchur< MatrixType >::findSmallSubdiagEntry(), mrpt::topography::TCoords::getDegMinSec(), RealSchur< MatrixType >::initFrancisQRStep(), Hyperplane< _Scalar, _AmbientDim >::intersection(), internal::scalar_fuzzy_default_impl< Scalar, false, false >::isApprox(), MatrixBase< Derived >::isDiagonal(), MatrixBase< Derived >::isLowerTriangular(), internal::scalar_fuzzy_default_impl< Scalar, false, false >::isMuchSmallerThan(), isSingular(), MatrixBase< Derived >::isUpperTriangular(), AmbiVector< _Scalar, _Index >::Iterator::Iterator(), JacobiRotation< Scalar >::makeGivens(), JacobiRotation< Scalar >::makeJacobi(), mrpt::opengl::COctreePointRenderer< CPointCloudColoured >::octree_recursive_render(), internal::scalar_abs_op< Scalar >::operator()(), AmbiVector< _Scalar, _Index >::Iterator::operator++(), internal::pabs(), FullPivLU< _MatrixType >::rank(), ColPivHouseholderQR< _MatrixType >::rank(), internal::hypot_impl< Scalar >::run(), internal::norm1_default_impl< Scalar, false >::run(), internal::norm1_default_impl< Scalar, NumTraits< Scalar >::IsComplex >::run(), internal::abs_impl< Scalar >::run(), internal::svd_precondition_2x2_block_to_be_real< MatrixType, QRPreconditioner, true >::run(), internal::compute_inverse_and_det_with_check< MatrixType, ResultType, 4 >::run(), internal::compute_inverse_and_det_with_check< MatrixType, ResultType, 3 >::run(), internal::compute_inverse_and_det_with_check< MatrixType, ResultType, 2 >::run(), internal::compute_inverse_and_det_with_check< MatrixType, ResultType, 1 >::run(), mrpt::topography::TCoords::setDegMinSec(), mrpt::math::slerp(), QuaternionBase< Derived >::slerp(), RealSchur< MatrixType >::splitOffTwoRows(), internal::sqrt(), internal::ldlt_inplace< Lower >::unblocked(), mrpt::math::vectorsAreParallel2D(), and mrpt::math::vectorsAreParallel3D().

EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, Derived> abs2 (  ) const
const CwiseUnaryOp<internal::scalar_cos_op<Scalar>, Derived> cos (  ) const [inline]
const CwiseUnaryOp<internal::scalar_cube_op<Scalar>, Derived> cube (  ) const [inline]
Returns:
an expression of the coefficient-wise cube of *this.

Example:

Output:

See also:
square(), pow()

Definition at line 145 of file ArrayCwiseUnaryOps.h.

const CwiseUnaryOp<internal::scalar_exp_op<Scalar>, Derived> exp (  ) const [inline]
const CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, Derived> inverse (  ) const [inline]
Returns:
an expression of the coefficient-wise inverse of *this.

Example:

Output:

See also:
operator/(), operator*()

Definition at line 119 of file ArrayCwiseUnaryOps.h.

Referenced by mrpt::poses::CPose3DQuatPDFGaussian::operator-(), mrpt::poses::CPose3DPDFGaussianInf::operator-(), and mrpt::poses::CPose3DPDFGaussian::operator-().

const CwiseUnaryOp<internal::scalar_log_op<Scalar>, Derived> log (  ) const [inline]
const CwiseUnaryOp<internal::scalar_pow_op<Scalar>, Derived> pow ( const Scalar &  exponent ) const [inline]
const CwiseUnaryOp<internal::scalar_sin_op<Scalar>, Derived> sin (  ) const [inline]
const CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, Derived> sqrt (  ) const [inline]
Returns:
an expression of the coefficient-wise square root of *this.

Example:

Output:

See also:
pow(), square()

Definition at line 63 of file ArrayCwiseUnaryOps.h.

Referenced by RealSchur< MatrixType >::computeShift(), ComplexSchur< MatrixType >::computeShift(), mrpt::math::correlate_matrix(), mrpt::opengl::CPolyhedron::CreateCuboctahedron(), mrpt::opengl::CPolyhedron::CreateDeltoidalHexecontahedron(), mrpt::opengl::CPolyhedron::CreateDeltoidalIcositetrahedron(), mrpt::opengl::CPolyhedron::CreateDodecahedron(), mrpt::opengl::CPolyhedron::CreateHexahedron(), mrpt::opengl::CPolyhedron::CreateIcosahedron(), mrpt::opengl::CPolyhedron::CreatePentakisDodecahedron(), mrpt::opengl::CPolyhedron::CreateRhombicDodecahedron(), mrpt::opengl::CPolyhedron::CreateRhombicosidodecahedron(), mrpt::opengl::CPolyhedron::CreateRhombicTriacontahedron(), mrpt::opengl::CPolyhedron::CreateRhombicuboctahedron(), mrpt::opengl::CPolyhedron::CreateTetrahedron(), mrpt::opengl::CPolyhedron::CreateTetrakisHexahedron(), mrpt::opengl::CPolyhedron::CreateTriakisIcosahedron(), mrpt::opengl::CPolyhedron::CreateTriakisOctahedron(), mrpt::opengl::CPolyhedron::CreateTriakisTetrahedron(), mrpt::opengl::CPolyhedron::CreateTruncatedDodecahedron(), mrpt::opengl::CPolyhedron::CreateTruncatedHexahedron(), mrpt::opengl::CPolyhedron::CreateTruncatedIcosahedron(), mrpt::opengl::CPolyhedron::CreateTruncatedOctahedron(), mrpt::opengl::CPolyhedron::CreateTruncatedTetrahedron(), ParametrizedLine< _Scalar, _AmbientDim >::distance(), mrpt::poses::CPoseOrPoint< CPoint3D >::distance2DTo(), mrpt::poses::CPoseOrPoint< CPoint3D >::distance3DTo(), mrpt::math::distanceBetweenPoints(), mrpt::math::TPoint3D::distanceTo(), mrpt::poses::CPoseOrPoint< CPoint3D >::distanceTo(), mrpt::detectors::CDetectable2D::distanceTo(), AlignedBox< _Scalar, _AmbientDim >::exteriorDistance(), mrpt::math::CQuaternion< double >::fromRodriguesVector(), mrpt::math::generateAxisBaseFromDirection(), mrpt::math::mahalanobisDistance(), mrpt::math::meanAndStd(), meanAndStd(), meanAndStdAll(), mrpt::math::ncc_vector(), mrpt::math::noncentralChi2CDF(), mrpt::math::detail::noncentralChi2CDF_exact(), mrpt::math::TPose3DQuat::norm(), mrpt::math::TPose3D::norm(), mrpt::math::TPoint3D::norm(), mrpt::poses::CPoseOrPoint< CPoint3D >::norm(), mrpt::math::normalize(), mrpt::math::CQuaternion< double >::normalize(), mrpt::math::normalPDF(), mrpt::math::productIntegralAndMahalanobisTwoGaussians(), mrpt::math::productIntegralTwoGaussians(), mrpt::math::CQuaternion< double >::rpy_and_jacobian(), mrpt::math::slerp(), RealSchur< MatrixType >::splitOffTwoRows(), internal::sqrt(), ANNsampStat::stdDev(), and mrpt::math::transform_gaussian_unscented().

const CwiseUnaryOp<internal::scalar_square_op<Scalar>, Derived> square (  ) const [inline]



Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:46:17 UTC 2011