Hessian matrix.
More...
#include <JHesseMatrix.hh>
template<unsigned int N, class JData_t = double>
struct JTOOLS::JHesseMatrix< N, JData_t >
Hessian matrix.
Definition at line 22 of file JHesseMatrix.hh.
◆ data_type
◆ JHesseMatrix() [1/2]
template<unsigned int N, class JData_t = double>
◆ JHesseMatrix() [2/2]
template<unsigned int N, class JData_t = double>
template<class JResult_t >
◆ set() [1/5]
template<unsigned int N, class JData_t = double>
template<class JResult_t >
Set matrix according given result.
- Parameters
-
Definition at line 50 of file JHesseMatrix.hh.
54 for (
unsigned int i = 1; i != N; ++i) {
55 for (
unsigned int j = 0;
j != i; ++
j) {
◆ set() [2/5]
template<unsigned int N, class JData_t = double>
Set final element.
- Parameters
-
pivot | pivot |
result | Hesse result |
Definition at line 68 of file JHesseMatrix.hh.
◆ set() [3/5]
template<unsigned int N, class JData_t = double>
Set final element.
- Parameters
-
row | row |
col | col |
result | Hesse result |
Definition at line 82 of file JHesseMatrix.hh.
◆ set() [4/5]
template<unsigned int N, class JData_t = double>
template<class JResult_t >
Recursivaly set elements.
- Parameters
-
pivot | pivot |
result | Hesse result |
Definition at line 97 of file JHesseMatrix.hh.
◆ set() [5/5]
template<unsigned int N, class JData_t = double>
template<class JResult_t >
Recursivaly set elements.
- Parameters
-
row | row |
col | col |
result | Hesse result |
Definition at line 115 of file JHesseMatrix.hh.
◆ getNX()
Get number of rows.
- Returns
- number of rows
Definition at line 49 of file JTable2D.hh.
◆ getNY()
Get number of columns.
- Returns
- number of columns
Definition at line 60 of file JTable2D.hh.
◆ operator[]() [1/2]
Get row data.
- Parameters
-
- Returns
- row data
Definition at line 72 of file JTable2D.hh.
◆ operator[]() [2/2]
Get row data.
- Parameters
-
- Returns
- row data
Definition at line 84 of file JTable2D.hh.
◆ negate()
Negate table.
- Returns
- this table
Definition at line 95 of file JTable2D.hh.
97 for (
int i = 0; i != NX; ++i) {
98 for (
int j = 0;
j != NY; ++
j) {
◆ add()
Add table.
- Parameters
-
- Returns
- this table
Definition at line 113 of file JTable2D.hh.
115 for (
int i = 0; i != NX; ++i) {
116 for (
int j = 0;
j != NY; ++
j) {
◆ sub()
Subtract table.
- Parameters
-
- Returns
- this table
Definition at line 131 of file JTable2D.hh.
133 for (
int i = 0; i != NX; ++i) {
134 for (
int j = 0;
j != NY; ++
j) {
◆ mul() [1/2]
Scale table.
- Parameters
-
factor | multiplication factor |
- Returns
- this table
Definition at line 149 of file JTable2D.hh.
151 for (
int i = 0; i != NX; ++i) {
152 for (
int j = 0;
j != NY; ++
j) {
153 data[i][
j] *= factor;
◆ mul() [2/2]
Multiply with object.
- Parameters
-
- Returns
- result object
Definition at line 273 of file JMath.hh.
◆ div()
Scale table.
- Parameters
-
- Returns
- this table
Definition at line 167 of file JTable2D.hh.
169 for (
int i = 0; i != NX; ++i) {
170 for (
int j = 0;
j != NY; ++
j) {
171 data[i][
j] /= factor;
◆ data
The documentation for this struct was generated from the following file: