#include <Row_proto.hpp>
Public Types | |
typedef eT | elem_type |
the type of elements stored in the matrix | |
typedef get_pod_type < elem_type >::pod_type | pod_type |
if eT is std::complex, pod_type is the underlying type used by std::complex. < otherwise pod_type is the same as elem_type | |
Public Member Functions | |
Row () | |
Row (const u32 N) | |
Row (const char *text) | |
const Row & | operator= (const char *text) |
create the matrix from a textual description | |
Row (const Row &X) | |
const Row & | operator= (const Row &X) |
const Row & | operator*= (const Row &X) |
Row (const Mat< eT > &X) | |
const Row & | operator= (const Mat< eT > &X) |
construct a matrix from a given matrix | |
const Row & | operator*= (const Mat< eT > &X) |
in-place matrix multiplication | |
Row (const eT *aux_mem, const u32 aux_length) | |
construct a row vector from a given auxillary array | |
template<typename T1 , typename T2 > | |
Row (const Base< pod_type, T1 > &A, const Base< pod_type, T2 > &B) | |
Row (const subview< eT > &X) | |
const Row & | operator= (const subview< eT > &X) |
construct a matrix from subview (e.g. construct a matrix from a delayed submatrix operation) | |
const Row & | operator*= (const subview< eT > &X) |
in-place matrix mutiplication (using a submatrix on the right-hand-side) | |
Row (const diagview< eT > &X) | |
construct a row vector from given a diagview | |
const Row & | operator= (const diagview< eT > &X) |
construct a row vector from given a diagview | |
const Row & | operator*= (const diagview< eT > &X) |
template<typename T1 , typename op_type > | |
Row (const Op< T1, op_type > &X) | |
template<typename T1 , typename op_type > | |
const Row & | operator= (const Op< T1, op_type > &X) |
create a matrix from Op, i.e. run the previously delayed unary operations | |
template<typename T1 , typename op_type > | |
const Row & | operator*= (const Op< T1, op_type > &X) |
in-place matrix multiplication, with the right-hand-side operand having delayed operations | |
template<typename T1 , typename T2 , typename glue_type > | |
Row (const Glue< T1, T2, glue_type > &X) | |
template<typename T1 , typename T2 , typename glue_type > | |
const Row & | operator= (const Glue< T1, T2, glue_type > &X) |
create a matrix from Glue, i.e. run the previously delayed binary operations | |
template<typename T1 , typename T2 , typename glue_type > | |
const Row & | operator*= (const Glue< T1, T2, glue_type > &X) |
in-place matrix multiplications, with the right-hand-side operands having delayed operations | |
void | set_size (const u32 N) |
void | set_size (const u32 n_rows, const u32 n_cols) |
change the matrix to have user specified dimensions (data is not preserved) | |
void | zeros () |
void | zeros (const u32 N) |
void | zeros (const u32 n_rows, const u32 n_cols) |
void | load (const std::string name, const file_type type=auto_detect) |
load a matrix from a file | |
template<typename T1 , typename T2 > | |
Row (const Base< typename Row< eT >::pod_type, T1 > &A, const Base< typename Row< eT >::pod_type, T2 > &B) |
Definition at line 22 of file Row_proto.hpp.
the type of elements stored in the matrix
Reimplemented from Mat< eT >.
Definition at line 26 of file Row_proto.hpp.
typedef get_pod_type<elem_type>::pod_type Row< eT >::pod_type |
if eT is std::complex, pod_type is the underlying type used by std::complex. < otherwise pod_type is the same as elem_type
Reimplemented from Mat< eT >.
Definition at line 27 of file Row_proto.hpp.
Row< eT >::Row | ( | const Base< pod_type, T1 > & | A, | |
const Base< pod_type, T2 > & | B | |||
) | [inline, explicit] |
Referenced by Row< eT >::operator*=().