|
Jpp 19.3.0-rc.2
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. | |
| const data_type * | operator[] (int row) const |
| Get row data. | |
| data_type * | operator[] (int row) |
| Get row data. | |
| JTable2D & | negate () |
| Negate table. | |
| JTable2D & | add (const JTable2D &table) |
| Add table. | |
| JTable2D & | sub (const JTable2D &table) |
| Subtract table. | |
| JTable2D & | mul (const double factor) |
| Scale table. | |
| JTable2D & | div (const double factor) |
| Scale table. | |
| JFirst_t & | mul (const JSecond_t &object) |
| Multiply with object. | |
Static Public Member Functions | |
| static int | getNX () |
| Get number of rows. | |
| static int | getNY () |
| Get number of columns. | |
Protected Attributes | |
| data_type | data [NX][NY] |
Friends | |
| JReader & | operator>> (JReader &in, JTable2D &table) |
| Read table from input. | |
| JWriter & | operator<< (JWriter &out, const JTable2D &table) |
| Write table to output. | |
2D table with arithmetic capabilities.
Definition at line 27 of file JTable2D.hh.
| JData_t JTOOLS::JTable2D< NX, NY, JData_t >::data_type |
Definition at line 30 of file JTable2D.hh.
|
inline |
Default constructor.
Definition at line 35 of file JTable2D.hh.
|
inlinestatic |
Get number of rows.
Definition at line 50 of file JTable2D.hh.
|
inlinestatic |
Get number of columns.
Definition at line 61 of file JTable2D.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
protected |
Definition at line 219 of file JTable2D.hh.