CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::DummyJacobian Struct Reference

Dummy Jacobian. Has size zero and no logic in any call. More...

#include <jacobian.hpp>

Inheritance diagram for codi::DummyJacobian:

Public Member Functions

size_t getM () const
 Get size of rows (output variables).
 
size_t getN () const
 Get size of columns (input variables).
 
DummyValueoperator() (size_t const i, size_t const j)
 Reference access, i in [0, ..., m), j in [0, ..., n).
 
DummyValue operator() (size_t const i, size_t const j) const
 Value access, i in [0, ..., m), j in [0, ..., n).
 
void resize (size_t const m, size_t const n)
 Resize the Jacobian.
 
size_t size () const
 Get total size of the Jacobian.
 
- Public Member Functions inherited from codi::JacobianInterface< DummyValue >
size_t getM () const
 Get size of rows (output variables).
 
size_t getN () const
 Get size of columns (input variables).
 
Toperator() (size_t const i, size_t const j)
 Reference access, i in [0, ..., m), j in [0, ..., n).
 
T operator() (size_t const i, size_t const j) const
 Value access, i in [0, ..., m), j in [0, ..., n).
 
void resize (size_t const m, size_t const n)
 Resize the Jacobian.
 
void setLogic (size_t const i, size_t const j, T const &v)
 Interface for the JacobianDelayAccessor.
 
size_t size () const
 Get total size of the Jacobian.
 

Additional Inherited Members

- Public Types inherited from codi::JacobianInterface< DummyValue >
using T
 See JacobianInterface.
 

Detailed Description

Dummy Jacobian. Has size zero and no logic in any call.

Member Function Documentation

◆ getM()

size_t codi::DummyJacobian::getM ( ) const
inline

Get size of rows (output variables).

◆ getN()

size_t codi::DummyJacobian::getN ( ) const
inline

Get size of columns (input variables).

◆ operator()() [1/2]

DummyValue & codi::DummyJacobian::operator() ( size_t const i,
size_t const j )
inline

Reference access, i in [0, ..., m), j in [0, ..., n).

◆ operator()() [2/2]

DummyValue codi::DummyJacobian::operator() ( size_t const i,
size_t const j ) const
inline

Value access, i in [0, ..., m), j in [0, ..., n).

◆ resize()

void codi::DummyJacobian::resize ( size_t const m,
size_t const n )
inline

Resize the Jacobian.

◆ size()

size_t codi::DummyJacobian::size ( ) const
inline

Get total size of the Jacobian.


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