Public Member Functions | Private Attributes | List of all members
MultiplyFunctor Class Reference

Functor that takes a matrix and multiplies every element by m. More...

Public Member Functions

 MultiplyFunctor (double m)
 
Matrix operator() (const Matrix &X, OptionalJacobian<-1,-1 > H=boost::none) const
 

Private Attributes

double m_
 simple multiplier More...
 

Detailed Description

Functor that takes a matrix and multiplies every element by m.

Definition at line 41 of file testFunctorizedFactor.cpp.

Constructor & Destructor Documentation

MultiplyFunctor::MultiplyFunctor ( double  m)
inline

Definition at line 45 of file testFunctorizedFactor.cpp.

Member Function Documentation

Matrix MultiplyFunctor::operator() ( const Matrix X,
OptionalJacobian<-1,-1 >  H = boost::none 
) const
inline

Definition at line 47 of file testFunctorizedFactor.cpp.

Member Data Documentation

double MultiplyFunctor::m_
private

simple multiplier

Definition at line 42 of file testFunctorizedFactor.cpp.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:48