Class for column vectors (matrices with only one column) More...
#include <Col_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 |
Col () | |
construct an empty column vector | |
Col (const Col< eT > &X) | |
Col (const uword n_elem) | |
construct a column vector with the specified number of n_elem | |
Col (const uword in_rows, const uword in_cols) | |
Col (const char *text) | |
construct a column vector from specified text | |
Col (const std::string &text) | |
construct a column vector from specified text | |
template<typename T1 > | |
Col (const Base< eT, T1 > &X) | |
Col (eT *aux_mem, const uword aux_length, const bool copy_aux_mem=true, const bool strict=true) | |
construct a column vector from a given auxiliary array of eTs | |
Col (const eT *aux_mem, const uword aux_length) | |
construct a column vector from a given auxiliary array of eTs | |
template<typename T1 , typename T2 > | |
Col (const Base< pod_type, T1 > &A, const Base< pod_type, T2 > &B) | |
template<typename T1 > | |
Col (const BaseCube< eT, T1 > &X) | |
Col (const subview_cube< eT > &X) | |
template<typename T1 , typename T2 > | |
Col (const Base< typename Col< eT >::pod_type, T1 > &A, const Base< typename Col< eT >::pod_type, T2 > &B) | |
row_iterator | end_row (const uword row_num) |
const_row_iterator | end_row (const uword row_num) const |
void | insert_rows (const uword row_num, const uword N, const bool set_to_zero=true) |
template<typename T1 > | |
void | insert_rows (const uword row_num, const Base< eT, T1 > &X) |
mat_injector< Col > | operator<< (const eT val) |
const Col & | operator= (const char *text) |
construct a column vector from specified text | |
const Col & | operator= (const std::string &text) |
construct a column vector from specified text | |
const Col & | operator= (const eT val) |
template<typename T1 > | |
const Col & | operator= (const Base< eT, T1 > &X) |
template<typename T1 > | |
const Col & | operator= (const BaseCube< eT, T1 > &X) |
const Col & | operator= (const subview_cube< eT > &X) |
construct a matrix from a subview_cube instance | |
arma_inline eT & | row (const uword row_num) |
creation of subview (row vector) | |
arma_inline eT | row (const uword row_num) const |
creation of subview (row vector) | |
arma_inline subview_col< eT > | rows (const uword in_row1, const uword in_row2) |
creation of subview (submatrix comprised of specified row vectors) | |
arma_inline const subview_col< eT > | rows (const uword in_row1, const uword in_row2) const |
creation of subview (submatrix comprised of specified row vectors) | |
void | shed_row (const uword row_num) |
remove specified row | |
void | shed_rows (const uword in_row1, const uword in_row2) |
remove specified rows | |
arma_inline subview_col< eT > | subvec (const uword in_row1, const uword in_row2) |
arma_inline const subview_col< eT > | subvec (const uword in_row1, const uword in_row2) const |
arma_inline subview_col< eT > | subvec (const span &row_span) |
arma_inline const subview_col< eT > | subvec (const span &row_span) const |
Class for column vectors (matrices with only one column)
Definition at line 20 of file Col_bones.hpp.
typedef const eT* Col< eT >::const_row_iterator |
Definition at line 88 of file Col_bones.hpp.
the type of elements stored in the matrix
Reimplemented from Mat< eT >.
Definition at line 24 of file Col_bones.hpp.
typedef get_pod_type<eT>::result Col< 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 Col_bones.hpp.
typedef eT* Col< eT >::row_iterator |
Definition at line 87 of file Col_bones.hpp.
Col< eT >::Col | ( | const Base< pod_type, T1 > & | A, |
const Base< pod_type, T2 > & | B | ||
) | [inline, explicit] |