![]() |
Hex
1.0
Hydrogen-electron collision solver
|
Dense (column-oriented) matrix. More...
#include <matrix.h>
Public Member Functions | |
ColMatrix () | |
ColMatrix (int size) | |
ColMatrix (int rows, int cols) | |
ColMatrix (int rows, int cols, const ArrayView< Type > data) | |
ColMatrix (DenseMatrix< Type > const &M) | |
template<class Function > | |
void | populate (Function f) |
Populator. More... | |
RowMatrix< Type > | T () const |
Matrix transpose. More... | |
ArrayView< Type > | col (int i) |
Matrix column. More... | |
const ArrayView< Type > | col (int i) const |
Type | operator() (int i, int j) const |
Element access. More... | |
Type & | operator() (int i, int j) |
![]() | |
DenseMatrix () | |
DenseMatrix (int rows, int cols) | |
DenseMatrix (int rows, int cols, const ArrayView< Type > data) | |
ArrayView< Type > | data () |
const ArrayView< Type > | data () const |
size_t | size () const |
int | cols () const |
int | rows () const |
Type * | begin () |
Typeconst * | begin () const |
This class represents a generally non-symmetric dense matrix. It is an encapsulation of the NumberArray class with some operators bundled to it.
|
inline |
|
inlineexplicit |
Return shallow copy of the chosen matrix column.
This method accepts a function object that is called for every matrix element.
Return transposed matrix. The result is of the type RowMatrix, so that no reordering of the entries is necessary.