tfel
Loading...
Searching...
No Matches
tfel::math::parser::ExternalCFunctionBase< N > Struct Template Reference
Inheritance diagram for tfel::math::parser::ExternalCFunctionBase< N >:
tfel::math::parser::ExternalFunction tfel::math::parser::ExternalCFunctionException

Public Member Functions

void setVariableValue (const std::vector< double >::size_type, const double) override
std::vector< double >::size_type getNumberOfVariables () const override
void checkCyclicDependency (const std::string &) const override
void checkCyclicDependency (std::vector< std::string > &) const override
std::shared_ptr< ExternalFunction > differentiate (const std::vector< double >::size_type) const override
std::shared_ptr< ExternalFunction > differentiate (const std::string &) const override
std::shared_ptr< ExternalFunction > createFunctionByChangingParametersIntoVariables (const std::vector< std::string > &) const override
std::shared_ptr< ExternalFunction > createFunctionByChangingParametersIntoVariables (std::vector< std::string > &, const std::vector< double > &, const std::vector< std::string > &, const std::map< std::string, std::vector< double >::size_type > &) const override
void getParametersNames (std::set< std::string > &) const override
Public Member Functions inherited from tfel::math::parser::ExternalFunction
virtual double getValue () const =0
virtual std::shared_ptr< ExternalFunction > resolveDependencies () const =0

Protected Attributes

double variables [N]

Additional Inherited Members

Static Protected Member Functions inherited from tfel::math::parser::ExternalCFunctionException
static void throwUnimplementedDifferentiateFunctionException ()
static void throwInvalidCreateFunctionByChangingParametersIntoVariables ()
static void throwInvalidVariableIndex (const std::vector< double >::size_type, const unsigned short)

Member Function Documentation

◆ checkCyclicDependency() [1/2]

template<unsigned short N>
void tfel::math::parser::ExternalCFunctionBase< N >::checkCyclicDependency ( const std::string & ) const
overridevirtual

◆ checkCyclicDependency() [2/2]

template<unsigned short N>
void tfel::math::parser::ExternalCFunctionBase< N >::checkCyclicDependency ( std::vector< std::string > & ) const
overridevirtual

◆ createFunctionByChangingParametersIntoVariables() [1/2]

template<unsigned short N>
std::shared_ptr< ExternalFunction > tfel::math::parser::ExternalCFunctionBase< N >::createFunctionByChangingParametersIntoVariables ( const std::vector< std::string > & ) const
nodiscardoverridevirtual

◆ createFunctionByChangingParametersIntoVariables() [2/2]

template<unsigned short N>
std::shared_ptr< ExternalFunction > tfel::math::parser::ExternalCFunctionBase< N >::createFunctionByChangingParametersIntoVariables ( std::vector< std::string > & v,
const std::vector< double > & ,
const std::vector< std::string > & ,
const std::map< std::string, std::vector< double >::size_type > &  ) const
nodiscardoverridevirtual

◆ differentiate() [1/2]

template<unsigned short N>
std::shared_ptr< ExternalFunction > tfel::math::parser::ExternalCFunctionBase< N >::differentiate ( const std::string & ) const
nodiscardoverridevirtual

◆ differentiate() [2/2]

template<unsigned short N>
std::shared_ptr< ExternalFunction > tfel::math::parser::ExternalCFunctionBase< N >::differentiate ( const std::vector< double >::size_type ) const
nodiscardoverridevirtual

◆ getNumberOfVariables()

template<unsigned short N>
std::vector< double >::size_type tfel::math::parser::ExternalCFunctionBase< N >::getNumberOfVariables ( ) const
nodiscardoverridevirtual

◆ getParametersNames()

template<unsigned short N>
void tfel::math::parser::ExternalCFunctionBase< N >::getParametersNames ( std::set< std::string > & ) const
overridevirtual

◆ setVariableValue()

template<unsigned short N>
void tfel::math::parser::ExternalCFunctionBase< N >::setVariableValue ( const std::vector< double >::size_type pos,
const double value )
overridevirtual

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