GNU Octave  8.1.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 m_fcn
 
ODEJacFunc m_jac
 
bool m_reset
 

Detailed Description

Definition at line 33 of file ODEFunc.h.

Member Typedef Documentation

◆ ODEJacFunc

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

Definition at line 39 of file ODEFunc.h.

◆ ODERHSFunc

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

Definition at line 38 of file ODEFunc.h.

Constructor & Destructor Documentation

◆ ODEFunc() [1/4]

ODEFunc::ODEFunc ( void  )
inline

Definition at line 41 of file ODEFunc.h.

◆ ODEFunc() [2/4]

ODEFunc::ODEFunc ( ODERHSFunc  f)
inline

Definition at line 44 of file ODEFunc.h.

◆ ODEFunc() [3/4]

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

Definition at line 47 of file ODEFunc.h.

◆ ODEFunc() [4/4]

ODEFunc::ODEFunc ( const ODEFunc a)
inline

Definition at line 50 of file ODEFunc.h.

◆ ~ODEFunc()

virtual ODEFunc::~ODEFunc ( void  )
virtualdefault

Member Function Documentation

◆ function()

ODERHSFunc ODEFunc::function ( void  ) const
inline

Definition at line 66 of file ODEFunc.h.

◆ jacobian_function()

ODEJacFunc ODEFunc::jacobian_function ( void  ) const
inline

Definition at line 75 of file ODEFunc.h.

Referenced by LSODE::do_integrate().

◆ operator=()

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

Definition at line 53 of file ODEFunc.h.

References m_fcn, m_jac, and m_reset.

Referenced by ODE::operator=().

◆ set_function()

ODEFunc& ODEFunc::set_function ( ODERHSFunc  f)
inline

Definition at line 68 of file ODEFunc.h.

References f.

◆ set_jacobian_function()

ODEFunc& ODEFunc::set_jacobian_function ( ODEJacFunc  j)
inline

Definition at line 77 of file ODEFunc.h.

Referenced by DEFMETHOD().

Member Data Documentation

◆ m_fcn

ODERHSFunc ODEFunc::m_fcn
protected

Definition at line 86 of file ODEFunc.h.

Referenced by operator=().

◆ m_jac

ODEJacFunc ODEFunc::m_jac
protected

Definition at line 87 of file ODEFunc.h.

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

◆ m_reset

bool ODEFunc::m_reset
protected

Definition at line 94 of file ODEFunc.h.

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


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