cgv
Loading...
Searching...
No Matches
cgv::math::v3_func< X, T > Class Template Reference

specialization of a multivariate function to three independent variables, which only reimplements the method get_nr_independent_variables. More...

#include <mfunc.h>

Inheritance diagram for cgv::math::v3_func< X, T >:
cgv::math::mfunc< X, T >

Public Member Functions

unsigned int get_nr_independent_variables () const
 returns 3
 
- Public Member Functions inherited from cgv::math::mfunc< X, T >
virtual ~mfunc ()
 virtual destructor
 
virtual T evaluate (const pnt_type &p) const =0
 interface for evaluation of the multivariate function
 
virtual vec_type evaluate_gradient (const pnt_type &p) const
 interface for evaluation of the gradient of the multivariate function.
 

Additional Inherited Members

- Public Types inherited from cgv::math::mfunc< X, T >
typedef cgv::math::vec< X > pnt_type
 points must have get_nr_independent_variables() components
 
typedef cgv::math::vec< X > vec_type
 vectors must have get_nr_independent_variables() components
 

Detailed Description

template<typename X, typename T>
class cgv::math::v3_func< X, T >

specialization of a multivariate function to three independent variables, which only reimplements the method get_nr_independent_variables.

Definition at line 62 of file mfunc.h.

Member Function Documentation

◆ get_nr_independent_variables()

template<typename X , typename T >
unsigned int cgv::math::v3_func< X, T >::get_nr_independent_variables ( ) const
inlinevirtual

returns 3

Implements cgv::math::mfunc< X, T >.

Definition at line 66 of file mfunc.h.


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