Matrix class to convert an array to a matrix without copying. More...
#include <element.hh>
Public Member Functions | |
| F * | destination () const |
| Matrix (uint n, uint m, F *val, bool row) | |
| Constructor. | |
| uint | ncol () const |
| uint | nrow () const |
| bool | roworder () const |
| const F * | source () const |
| void | transpose () |
Private Attributes | |
| uint | m_ |
| uint | n_ |
| bool | row_ |
| F * | val_ |
Matrix class to convert an array to a matrix without copying.
(used for multiplication with M000).
| F | Field (Real or Cmplx) |
Definition at line 93 of file element.hh.
| aglowav2::Matrix< F >::Matrix | ( | uint | n, |
| uint | m, | ||
| F * | val, | ||
| bool | row | ||
| ) | [inline] |
Constructor.
| n | Number of rows |
| m | Number of columns |
| val | Matrix entries |
| row | true: entries row wise, false: entries column wise |
Definition at line 101 of file element.hh.
| F* aglowav2::Matrix< F >::destination | ( | ) | const [inline] |
Definition at line 105 of file element.hh.
| uint aglowav2::Matrix< F >::ncol | ( | ) | const [inline] |
Definition at line 107 of file element.hh.
| uint aglowav2::Matrix< F >::nrow | ( | ) | const [inline] |
Definition at line 106 of file element.hh.
| bool aglowav2::Matrix< F >::roworder | ( | ) | const [inline] |
Definition at line 108 of file element.hh.
| const F* aglowav2::Matrix< F >::source | ( | ) | const [inline] |
Definition at line 104 of file element.hh.
| void aglowav2::Matrix< F >::transpose | ( | ) | [inline] |
Definition at line 109 of file element.hh.
uint aglowav2::Matrix< F >::m_ [private] |
Definition at line 115 of file element.hh.
uint aglowav2::Matrix< F >::n_ [private] |
Definition at line 114 of file element.hh.
bool aglowav2::Matrix< F >::row_ [private] |
Definition at line 117 of file element.hh.
F* aglowav2::Matrix< F >::val_ [private] |
Definition at line 116 of file element.hh.