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={}) const
 

Private Attributes

double m_
 simple multiplier More...
 

Detailed Description

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

Definition at line 43 of file testFunctorizedFactor.cpp.

Constructor & Destructor Documentation

◆ MultiplyFunctor()

MultiplyFunctor::MultiplyFunctor ( double  m)
inline

Definition at line 47 of file testFunctorizedFactor.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 49 of file testFunctorizedFactor.cpp.

Member Data Documentation

◆ m_

double MultiplyFunctor::m_
private

simple multiplier

Definition at line 44 of file testFunctorizedFactor.cpp.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:36