Jpp
18.2.0
the software that should make you happy
|
2D table with arithmetic capabilities. More...
#include <JTable2D.hh>
Public Types | |
typedef JData_t | data_type |
Public Member Functions | |
JTable2D () | |
Default constructor. More... | |
const data_type * | operator[] (int row) const |
Get row data. More... | |
data_type * | operator[] (int row) |
Get row data. More... | |
JTable2D & | negate () |
Negate table. More... | |
JTable2D & | add (const JTable2D &table) |
Add table. More... | |
JTable2D & | sub (const JTable2D &table) |
Subtract table. More... | |
JTable2D & | mul (const double factor) |
Scale table. More... | |
JTable2D & | div (const double factor) |
Scale table. More... | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. More... | |
Static Public Member Functions | |
static int | getNX () |
Get number of rows. More... | |
static int | getNY () |
Get number of columns. More... | |
Protected Attributes | |
data_type | data [NX][NY] |
Friends | |
JReader & | operator>> (JReader &in, JTable2D &table) |
Read table from input. More... | |
JWriter & | operator<< (JWriter &out, const JTable2D &table) |
Write table to output. More... | |
2D table with arithmetic capabilities.
Definition at line 27 of file JTable2D.hh.
typedef JData_t JTOOLS::JTable2D< NX, NY, JData_t >::data_type |
Definition at line 30 of file JTable2D.hh.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Scale table.
factor | multiplication factor |
Definition at line 150 of file JTable2D.hh.
|
inline |
Scale table.
factor | division factor |
Definition at line 168 of file JTable2D.hh.
|
inlineinherited |
|
friend |
Read table from input.
in | reader |
table | table |
Definition at line 187 of file JTable2D.hh.
|
friend |
Write table to output.
out | writer |
table | table |
Definition at line 206 of file JTable2D.hh.
|
protected |
Definition at line 219 of file JTable2D.hh.