GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ODEFunc Class Reference

#include "ODEFunc.h"

Inheritance diagram for ODEFunc:
Collaboration diagram for ODEFunc:

Public Types

typedef Matrix(* ODEJacFunc) (const ColumnVector &, double)
 
typedef ColumnVector(* ODERHSFunc) (const ColumnVector &, double)
 

Public Member Functions

 ODEFunc (const ODEFunc &a)
 
 ODEFunc (ODERHSFunc f)
 
 ODEFunc (ODERHSFunc f, ODEJacFunc j)
 
 ODEFunc (void)
 
virtual ~ODEFunc (void)=default
 
ODERHSFunc function (void) const
 
ODEJacFunc jacobian_function (void) const
 
ODEFuncoperator= (const ODEFunc &a)
 
ODEFuncset_function (ODERHSFunc f)
 
ODEFuncset_jacobian_function (ODEJacFunc j)
 

Protected Attributes

ODERHSFunc fun
 
ODEJacFunc jac
 
bool reset
 

Detailed Description

Definition at line 34 of file ODEFunc.h.

Member Typedef Documentation

◆ ODEJacFunc

typedef Matrix(* ODEFunc::ODEJacFunc) (const ColumnVector &, double)

Definition at line 40 of file ODEFunc.h.

◆ ODERHSFunc

typedef ColumnVector(* ODEFunc::ODERHSFunc) (const ColumnVector &, double)

Definition at line 39 of file ODEFunc.h.

Constructor & Destructor Documentation

◆ ODEFunc() [1/4]

ODEFunc::ODEFunc ( void  )
inline

Definition at line 42 of file ODEFunc.h.

◆ ODEFunc() [2/4]

ODEFunc::ODEFunc ( ODERHSFunc  f)
inline

Definition at line 45 of file ODEFunc.h.

◆ ODEFunc() [3/4]

ODEFunc::ODEFunc ( ODERHSFunc  f,
ODEJacFunc  j 
)
inline

Definition at line 48 of file ODEFunc.h.

◆ ODEFunc() [4/4]

ODEFunc::ODEFunc ( const ODEFunc a)
inline

Definition at line 51 of file ODEFunc.h.

◆ ~ODEFunc()

virtual ODEFunc::~ODEFunc ( void  )
virtualdefault

Member Function Documentation

◆ function()

ODERHSFunc ODEFunc::function ( void  ) const
inline

Definition at line 67 of file ODEFunc.h.

◆ jacobian_function()

ODEJacFunc ODEFunc::jacobian_function ( void  ) const
inline

Definition at line 76 of file ODEFunc.h.

Referenced by LSODE::do_integrate().

◆ operator=()

ODEFunc& ODEFunc::operator= ( const ODEFunc a)
inline

Definition at line 54 of file ODEFunc.h.

References fun, jac, and reset.

Referenced by ODE::operator=().

◆ set_function()

ODEFunc& ODEFunc::set_function ( ODERHSFunc  f)
inline

Definition at line 69 of file ODEFunc.h.

References f.

◆ set_jacobian_function()

ODEFunc& ODEFunc::set_jacobian_function ( ODEJacFunc  j)
inline

Definition at line 78 of file ODEFunc.h.

Referenced by DEFMETHOD().

Member Data Documentation

◆ fun

ODERHSFunc ODEFunc::fun
protected

Definition at line 87 of file ODEFunc.h.

Referenced by operator=().

◆ jac

ODEJacFunc ODEFunc::jac
protected

Definition at line 88 of file ODEFunc.h.

Referenced by LSODE::do_integrate(), and operator=().

◆ reset

bool ODEFunc::reset
protected

Definition at line 95 of file ODEFunc.h.

Referenced by LSODE::do_integrate(), and operator=().


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