Class for row vectors (matrices with only one row) More...
#include <Row_bones.hpp>
Classes | |
class | fixed |
Public Types | |
typedef const eT * | const_row_iterator |
typedef eT | elem_type |
the type of elements stored in the matrix | |
typedef get_pod_type< eT >::result | pod_type |
if eT is non-complex, pod_type is same as eT. otherwise, pod_type is the underlying type used by std::complex | |
typedef eT * | row_iterator |
Public Member Functions | |
row_iterator | begin_row (const uword row_num) |
const_row_iterator | begin_row (const uword row_num) const |
arma_inline eT & | col (const uword col_num) |
creation of subview (column vector) | |
arma_inline eT | col (const uword col_num) const |
creation of subview (column vector) | |
arma_inline subview_row< eT > | cols (const uword in_col1, const uword in_col2) |
creation of subview (submatrix comprised of specified column vectors) | |
arma_inline const subview_row< eT > | cols (const uword in_col1, const uword in_col2) const |
creation of subview (submatrix comprised of specified column vectors) | |
row_iterator | end_row (const uword row_num) |
const_row_iterator | end_row (const uword row_num) const |
void | insert_cols (const uword col_num, const uword N, const bool set_to_zero=true) |
template<typename T1 > | |
void | insert_cols (const uword col_num, const Base< eT, T1 > &X) |
mat_injector< Row > | operator<< (const eT val) |
const Row & | operator= (const char *text) |
create the matrix from a textual description | |
const Row & | operator= (const std::string &text) |
create the matrix from a textual description | |
const Row & | operator= (const eT val) |
template<typename T1 > | |
const Row & | operator= (const Base< eT, T1 > &X) |
template<typename T1 > | |
const Row & | operator= (const BaseCube< eT, T1 > &X) |
const Row & | operator= (const subview_cube< eT > &X) |
construct a matrix from a subview_cube instance | |
Row () | |
construct an empty row vector | |
Row (const Row< eT > &X) | |
Row (const uword N) | |
construct a row vector with the specified number of n_elem | |
Row (const uword in_rows, const uword in_cols) | |
Row (const char *text) | |
Row (const std::string &text) | |
template<typename T1 > | |
Row (const Base< eT, T1 > &X) | |
Row (eT *aux_mem, const uword aux_length, const bool copy_aux_mem=true, const bool strict=true) | |
construct a row vector from a given auxiliary array | |
Row (const eT *aux_mem, const uword aux_length) | |
construct a row vector from a given auxiliary array | |
template<typename T1 , typename T2 > | |
Row (const Base< pod_type, T1 > &A, const Base< pod_type, T2 > &B) | |
template<typename T1 > | |
Row (const BaseCube< eT, T1 > &X) | |
Row (const subview_cube< eT > &X) | |
template<typename T1 , typename T2 > | |
Row (const Base< typename Row< eT >::pod_type, T1 > &A, const Base< typename Row< eT >::pod_type, T2 > &B) | |
void | shed_col (const uword col_num) |
remove specified columns | |
void | shed_cols (const uword in_col1, const uword in_col2) |
remove specified columns | |
arma_inline subview_row< eT > | subvec (const uword in_col1, const uword in_col2) |
arma_inline const subview_row< eT > | subvec (const uword in_col1, const uword in_col2) const |
arma_inline subview_row< eT > | subvec (const span &col_span) |
arma_inline const subview_row< eT > | subvec (const span &col_span) const |
Class for row vectors (matrices with only one row)
Definition at line 20 of file Row_bones.hpp.
typedef const eT* Row< eT >::const_row_iterator |
Definition at line 87 of file Row_bones.hpp.
the type of elements stored in the matrix
Reimplemented from Mat< eT >.
Definition at line 24 of file Row_bones.hpp.
typedef get_pod_type<eT>::result Row< eT >::pod_type |
if eT is non-complex, pod_type is same as eT. otherwise, pod_type is the underlying type used by std::complex
Reimplemented from Mat< eT >.
Definition at line 25 of file Row_bones.hpp.
typedef eT* Row< eT >::row_iterator |
Definition at line 86 of file Row_bones.hpp.
Row< eT >::Row | ( | const Base< pod_type, T1 > & | A, |
const Base< pod_type, T2 > & | B | ||
) | [inline, explicit] |