Class for column vectors (matrices with only column). More...
#include <Col_proto.hpp>
Public Types | |
typedef eT | elem_type |
typedef get_pod_type< eT >::result | pod_type |
typedef eT * | row_iterator |
typedef const eT * | const_row_iterator |
Public Member Functions | |
Col () | |
construct an empty column vector | |
Col (const u32 n_elem) | |
construct a column vector with the specified number of n_elem | |
Col (const u32 in_rows, const u32 in_cols) | |
Col (const char *text) | |
construct a column vector from specified text | |
const Col & | operator= (const char *text) |
construct a column vector from specified text | |
Col (const std::string &text) | |
construct a column vector from specified text | |
const Col & | operator= (const std::string &text) |
construct a column vector from specified text | |
Col (const Col &X) | |
construct a column vector from a given column vector | |
const Col & | operator= (const Col &X) |
construct a column vector from a given column vector | |
Col (const Mat< eT > &X) | |
construct a column vector from a given matrix; the matrix must have exactly one column | |
const Col & | operator= (const Mat< eT > &X) |
construct a column vector from a given matrix; the matrix must have exactly one column | |
const Col & | operator*= (const Mat< eT > &X) |
Col (eT *aux_mem, const u32 aux_n_rows, const u32 aux_n_cols, const bool copy_aux_mem=true) | |
construct a column vector from a given auxiliary array of eTs | |
Col (const eT *aux_mem, const u32 aux_n_rows, const u32 aux_n_cols) | |
construct a column vector from a given auxiliary array of eTs | |
Col (eT *aux_mem, const u32 aux_length, const bool copy_aux_mem=true) | |
construct a column vector from a given auxiliary array of eTs | |
Col (const eT *aux_mem, const u32 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) | |
Col (const subview< eT > &X) | |
construct a column vector from given a submatrix; the submatrix must have exactly one column | |
const Col & | operator= (const subview< eT > &X) |
construct a column vector from given a submatrix; the submatrix must have exactly one column | |
const Col & | operator*= (const subview< eT > &X) |
Col (const subview_cube< eT > &X) | |
construct a column vector from given a subcube; the subcube must have exactly one column | |
const Col & | operator= (const subview_cube< eT > &X) |
construct a column vector from given a subcube; the subcube must have exactly one column | |
const Col & | operator*= (const subview_cube< eT > &X) |
Col (const diagview< eT > &X) | |
construct a column vector from given a diagview | |
const Col & | operator= (const diagview< eT > &X) |
construct a column vector from given a diagview | |
const Col & | operator*= (const diagview< eT > &X) |
arma_inline eT & | row (const u32 row_num) |
arma_inline eT | row (const u32 row_num) const |
arma_inline subview_col< eT > | rows (const u32 in_row1, const u32 in_row2) |
arma_inline const subview_col< eT > | rows (const u32 in_row1, const u32 in_row2) const |
template<typename T1 , typename op_type > | |
Col (const Op< T1, op_type > &X) | |
construct a column vector from Op, i.e. run the previously delayed operations; the result of the operations must have exactly one column | |
template<typename T1 , typename op_type > | |
const Col & | operator= (const Op< T1, op_type > &X) |
construct a column vector from Op, i.e. run the previously delayed operations; the result of the operations must have exactly one column | |
template<typename T1 , typename op_type > | |
const Col & | operator*= (const Op< T1, op_type > &X) |
template<typename T1 , typename eop_type > | |
Col (const eOp< T1, eop_type > &X) | |
template<typename T1 , typename eop_type > | |
const Col & | operator= (const eOp< T1, eop_type > &X) |
template<typename T1 , typename eop_type > | |
const Col & | operator*= (const eOp< T1, eop_type > &X) |
template<typename T1 , typename op_type > | |
Col (const mtOp< eT, T1, op_type > &X) | |
template<typename T1 , typename op_type > | |
const Col & | operator= (const mtOp< eT, T1, op_type > &X) |
template<typename T1 , typename op_type > | |
const Col & | operator*= (const mtOp< eT, T1, op_type > &X) |
template<typename T1 , typename T2 , typename glue_type > | |
Col (const Glue< T1, T2, glue_type > &X) | |
construct a column vector from Glue, i.e. run the previously delayed operations; the result of the operations must have exactly one column | |
template<typename T1 , typename T2 , typename glue_type > | |
const Col & | operator= (const Glue< T1, T2, glue_type > &X) |
construct a column vector from Glue, i.e. run the previously delayed operations; the result of the operations must have exactly one column | |
template<typename T1 , typename T2 , typename glue_type > | |
const Col & | operator*= (const Glue< T1, T2, glue_type > &X) |
template<typename T1 , typename T2 , typename eglue_type > | |
Col (const eGlue< T1, T2, eglue_type > &X) | |
template<typename T1 , typename T2 , typename eglue_type > | |
const Col & | operator= (const eGlue< T1, T2, eglue_type > &X) |
template<typename T1 , typename T2 , typename eglue_type > | |
const Col & | operator*= (const eGlue< T1, T2, eglue_type > &X) |
template<typename T1 , typename T2 , typename glue_type > | |
Col (const mtGlue< eT, T1, T2, glue_type > &X) | |
template<typename T1 , typename T2 , typename glue_type > | |
const Col & | operator= (const mtGlue< eT, T1, T2, glue_type > &X) |
template<typename T1 , typename T2 , typename glue_type > | |
const Col & | operator*= (const mtGlue< eT, T1, T2, glue_type > &X) |
void | set_size (const u32 n_elem) |
change the number of rows | |
void | set_size (const u32 n_rows, const u32 n_cols) |
change the number of n_rows (this function re-implements mat::set_size() in order to check the number of columns) | |
template<typename eT2 > | |
void | copy_size (const Mat< eT2 > &m) |
change the number of n_rows (this function re-implements mat::copy_size() in order to check the number of columns) | |
void | zeros () |
void | zeros (const u32 n_elem) |
void | zeros (const u32 n_rows, const u32 n_cols) |
void | ones () |
void | ones (const u32 n_elem) |
void | ones (const u32 n_rows, const u32 n_cols) |
void | load (const std::string name, const file_type type=auto_detect, const bool print_status=true) |
void | load (std::istream &is, const file_type type=auto_detect, const bool print_status=true) |
void | quiet_load (const std::string name, const file_type type=auto_detect) |
void | quiet_load (std::istream &is, const file_type type=auto_detect) |
row_iterator | begin_row (const u32 row_num) |
const_row_iterator | begin_row (const u32 row_num) const |
row_iterator | end_row (const u32 row_num) |
const_row_iterator | end_row (const u32 row_num) const |
template<typename T1 , typename T2 > | |
Col (const Base< typename Col< eT >::pod_type, T1 > &A, const Base< typename Col< eT >::pod_type, T2 > &B) |
Class for column vectors (matrices with only column).
Definition at line 23 of file Col_proto.hpp.
Definition at line 27 of file Col_proto.hpp.
typedef get_pod_type<eT>::result Col< eT >::pod_type |
Definition at line 28 of file Col_proto.hpp.
typedef eT* Col< eT >::row_iterator |
Definition at line 121 of file Col_proto.hpp.
typedef const eT* Col< eT >::const_row_iterator |
Definition at line 122 of file Col_proto.hpp.