Classes | |
class | Col< eT > |
Class for column vectors (matrices with only one column) More... | |
Functions | |
arma_inline arma_warn_unused eT & | Col< eT >::fixed< fixed_n_elem >::at (const uword i) |
linear element accessor (treats the matrix as a vector); no bounds check. | |
arma_inline arma_warn_unused eT | Col< eT >::fixed< fixed_n_elem >::at (const uword i) const |
linear element accessor (treats the matrix as a vector); no bounds check | |
arma_inline arma_warn_unused eT & | Col< eT >::fixed< fixed_n_elem >::at (const uword in_row, const uword in_col) |
element accessor; no bounds check | |
arma_inline arma_warn_unused eT | Col< eT >::fixed< fixed_n_elem >::at (const uword in_row, const uword in_col) const |
element accessor; no bounds check | |
row_iterator | Col< eT >::begin_row (const uword row_num) |
const_row_iterator | Col< eT >::begin_row (const uword row_num) const |
arma_inline void | Col< eT >::fixed< fixed_n_elem >::change_to_row () |
Col< eT >::Col () | |
construct an empty column vector | |
Col< eT >::Col (const Col< eT > &X) | |
Col< eT >::Col (const uword n_elem) | |
construct a column vector with the specified number of n_elem | |
Col< eT >::Col (const uword in_rows, const uword in_cols) | |
Col< eT >::Col (const char *text) | |
construct a column vector from specified text | |
Col< eT >::Col (const std::string &text) | |
construct a column vector from specified text | |
template<typename T1 > | |
Col< eT >::Col (const Base< eT, T1 > &X) | |
Col< eT >::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< eT >::Col (const eT *aux_mem, const uword aux_length) | |
construct a column vector from a given auxiliary array of eTs | |
template<typename T1 > | |
Col< eT >::Col (const BaseCube< eT, T1 > &X) | |
Col< eT >::Col (const subview_cube< eT > &X) | |
template<typename T1 , typename T2 > | |
Col< eT >::Col (const Base< typename Col< eT >::pod_type, T1 > &A, const Base< typename Col< eT >::pod_type, T2 > &B) | |
row_iterator | Col< eT >::end_row (const uword row_num) |
const_row_iterator | Col< eT >::end_row (const uword row_num) const |
arma_hot const Col< eT > & | Col< eT >::fixed< fixed_n_elem >::fill (const eT val) |
fill the matrix with the specified value | |
arma_inline | Col< eT >::fixed< fixed_n_elem >::fixed () |
arma_inline | Col< eT >::fixed< fixed_n_elem >::fixed (const fixed< fixed_n_elem > &X) |
Col< eT >::fixed< fixed_n_elem >::fixed (const subview_cube< eT > &X) | |
template<typename T1 > | |
Col< eT >::fixed< fixed_n_elem >::fixed (const Base< eT, T1 > &A) | |
template<typename T1 , typename T2 > | |
Col< eT >::fixed< fixed_n_elem >::fixed (const Base< pod_type, T1 > &A, const Base< pod_type, T2 > &B) | |
Col< eT >::fixed< fixed_n_elem >::fixed (eT *aux_mem, const bool copy_aux_mem=true) | |
Col< eT >::fixed< fixed_n_elem >::fixed (const eT *aux_mem) | |
Col< eT >::fixed< fixed_n_elem >::fixed (const char *text) | |
Col< eT >::fixed< fixed_n_elem >::fixed (const std::string &text) | |
void | Col< eT >::insert_rows (const uword row_num, const uword N, const bool set_to_zero=true) |
template<typename T1 > | |
void | Col< eT >::insert_rows (const uword row_num, const Base< eT, T1 > &X) |
arma_inline void | Col< eT >::fixed< fixed_n_elem >::mem_setup () |
arma_hot const Col< eT > & | Col< eT >::fixed< fixed_n_elem >::ones () |
subview_row< eT > | Col< eT >::fixed< fixed_n_elem >::operator() (const uword row_num, const span &col_span) |
const subview_row< eT > | Col< eT >::fixed< fixed_n_elem >::operator() (const uword row_num, const span &col_span) const |
subview_col< eT > | Col< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const uword col_num) |
const subview_col< eT > | Col< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const uword col_num) const |
subview< eT > | Col< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const span &col_span) |
const subview< eT > | Col< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const span &col_span) const |
arma_inline arma_warn_unused eT & | Col< eT >::fixed< fixed_n_elem >::operator() (const uword i) |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined | |
arma_inline arma_warn_unused eT | Col< eT >::fixed< fixed_n_elem >::operator() (const uword i) const |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined | |
arma_inline arma_warn_unused eT & | Col< eT >::fixed< fixed_n_elem >::operator() (const uword in_row, const uword in_col) |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined | |
arma_inline arma_warn_unused eT | Col< eT >::fixed< fixed_n_elem >::operator() (const uword in_row, const uword in_col) const |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined | |
mat_injector< Col > | Col< eT >::operator<< (const eT val) |
const Col & | Col< eT >::operator= (const char *text) |
construct a column vector from specified text | |
const Col & | Col< eT >::operator= (const std::string &text) |
construct a column vector from specified text | |
const Col & | Col< eT >::operator= (const eT val) |
template<typename T1 > | |
const Col & | Col< eT >::operator= (const Base< eT, T1 > &X) |
template<typename T1 > | |
const Col & | Col< eT >::operator= (const BaseCube< eT, T1 > &X) |
const Col & | Col< eT >::operator= (const subview_cube< eT > &X) |
construct a matrix from a subview_cube instance | |
template<typename T1 > | |
const Col & | Col< eT >::fixed< fixed_n_elem >::operator= (const Base< eT, T1 > &A) |
const Col & | Col< eT >::fixed< fixed_n_elem >::operator= (const eT val) |
const Col & | Col< eT >::fixed< fixed_n_elem >::operator= (const char *text) |
construct a column vector from specified text | |
const Col & | Col< eT >::fixed< fixed_n_elem >::operator= (const std::string &text) |
construct a column vector from specified text | |
const Col & | Col< eT >::fixed< fixed_n_elem >::operator= (const subview_cube< eT > &X) |
construct a matrix from a subview_cube instance | |
arma_inline arma_warn_unused eT & | Col< eT >::fixed< fixed_n_elem >::operator[] (const uword i) |
linear element accessor (treats the matrix as a vector); no bounds check. | |
arma_inline arma_warn_unused eT | Col< eT >::fixed< fixed_n_elem >::operator[] (const uword i) const |
linear element accessor (treats the matrix as a vector); no bounds check | |
arma_inline eT & | Col< eT >::row (const uword row_num) |
creation of subview (row vector) | |
arma_inline eT | Col< eT >::row (const uword row_num) const |
creation of subview (row vector) | |
arma_inline subview_col< eT > | 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 > | Col< eT >::rows (const uword in_row1, const uword in_row2) const |
creation of subview (submatrix comprised of specified row vectors) | |
void | Col< eT >::shed_row (const uword row_num) |
remove specified row | |
void | Col< eT >::shed_rows (const uword in_row1, const uword in_row2) |
remove specified rows | |
arma_inline subview_col< eT > | Col< eT >::subvec (const uword in_row1, const uword in_row2) |
arma_inline const subview_col< eT > | Col< eT >::subvec (const uword in_row1, const uword in_row2) const |
arma_inline subview_col< eT > | Col< eT >::subvec (const span &row_span) |
arma_inline const subview_col< eT > | Col< eT >::subvec (const span &row_span) const |
arma_hot const Col< eT > & | Col< eT >::fixed< fixed_n_elem >::zeros () |
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::at | ( | const uword | i | ) |
linear element accessor (treats the matrix as a vector); no bounds check.
Reimplemented from Mat< eT >.
Definition at line 1034 of file Col_meat.hpp.
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::at | ( | const uword | i | ) | const |
linear element accessor (treats the matrix as a vector); no bounds check
Reimplemented from Mat< eT >.
Definition at line 1046 of file Col_meat.hpp.
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::at | ( | const uword | in_row, |
const uword | in_col | ||
) |
element accessor; no bounds check
Reimplemented from Mat< eT >.
Definition at line 1086 of file Col_meat.hpp.
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::at | ( | const uword | in_row, |
const uword | in_col | ||
) | const |
element accessor; no bounds check
Reimplemented from Mat< eT >.
Definition at line 1098 of file Col_meat.hpp.
Reimplemented from Mat< eT >.
Definition at line 614 of file Col_meat.hpp.
Col< eT >::const_row_iterator Col< eT >::begin_row | ( | const uword | row_num | ) | const [inline] |
Reimplemented from Mat< eT >.
Definition at line 628 of file Col_meat.hpp.
arma_inline void Col< eT >::fixed< fixed_n_elem >::change_to_row | ( | ) | [private] |
Definition at line 689 of file Col_meat.hpp.
construct an empty column vector
Definition at line 21 of file Col_meat.hpp.
Definition at line 33 of file Col_meat.hpp.
construct a column vector with the specified number of n_elem
Definition at line 48 of file Col_meat.hpp.
Definition at line 60 of file Col_meat.hpp.
construct a column vector from specified text
Definition at line 74 of file Col_meat.hpp.
construct a column vector from specified text
Definition at line 113 of file Col_meat.hpp.
Definition at line 207 of file Col_meat.hpp.
Col< eT >::Col | ( | eT * | aux_mem, |
const uword | aux_length, | ||
const bool | copy_aux_mem = true , |
||
const bool | strict = true |
||
) | [inline] |
construct a column vector from a given auxiliary array of eTs
Definition at line 236 of file Col_meat.hpp.
construct a column vector from a given auxiliary array of eTs
Definition at line 249 of file Col_meat.hpp.
Col< eT >::Col | ( | const BaseCube< eT, T1 > & | X | ) | [inline] |
Definition at line 280 of file Col_meat.hpp.
Col< eT >::Col | ( | const subview_cube< eT > & | X | ) | [inline] |
Definition at line 308 of file Col_meat.hpp.
Col< eT >::Col | ( | const Base< typename Col< eT >::pod_type, T1 > & | A, |
const Base< typename Col< eT >::pod_type, T2 > & | B | ||
) | [inline] |
Definition at line 263 of file Col_meat.hpp.
Reimplemented from Mat< eT >.
Definition at line 642 of file Col_meat.hpp.
Col< eT >::const_row_iterator Col< eT >::end_row | ( | const uword | row_num | ) | const [inline] |
Reimplemented from Mat< eT >.
Definition at line 656 of file Col_meat.hpp.
arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::fill | ( | const eT | val | ) | [inline] |
fill the matrix with the specified value
Reimplemented from Mat< eT >.
Definition at line 1138 of file Col_meat.hpp.
arma_inline Col< eT >::fixed< fixed_n_elem >::fixed | ( | ) |
Definition at line 702 of file Col_meat.hpp.
arma_inline Col< eT >::fixed< fixed_n_elem >::fixed | ( | const fixed< fixed_n_elem > & | X | ) |
Definition at line 714 of file Col_meat.hpp.
Col< eT >::fixed< fixed_n_elem >::fixed | ( | const subview_cube< eT > & | X | ) | [inline] |
Definition at line 730 of file Col_meat.hpp.
Col< eT >::fixed< fixed_n_elem >::fixed | ( | const Base< eT, T1 > & | A | ) | [inline] |
Definition at line 745 of file Col_meat.hpp.
Col< eT >::fixed< fixed_n_elem >::fixed | ( | const Base< pod_type, T1 > & | A, |
const Base< pod_type, T2 > & | B | ||
) | [inline] |
Definition at line 760 of file Col_meat.hpp.
Col< eT >::fixed< fixed_n_elem >::fixed | ( | eT * | aux_mem, |
const bool | copy_aux_mem = true |
||
) | [inline] |
Definition at line 774 of file Col_meat.hpp.
Col< eT >::fixed< fixed_n_elem >::fixed | ( | const eT * | aux_mem | ) | [inline] |
Definition at line 803 of file Col_meat.hpp.
Col< eT >::fixed< fixed_n_elem >::fixed | ( | const char * | text | ) | [inline] |
NOTE: this function relies on Col::operator=(text), to change vec_state as well as swapping n_rows and n_cols, and Mat::init(), to check that the given vector will not have a different size than fixed_n_elem.
Definition at line 820 of file Col_meat.hpp.
Col< eT >::fixed< fixed_n_elem >::fixed | ( | const std::string & | text | ) | [inline] |
NOTE: this function relies on Col::operator=(text), to change vec_state as well as swapping n_rows and n_cols, and Mat::init(), to check that the given vector will not have a different size than fixed_n_elem.
Definition at line 839 of file Col_meat.hpp.
void Col< eT >::insert_rows | ( | const uword | row_num, |
const uword | N, | ||
const bool | set_to_zero = true |
||
) | [inline] |
insert N rows at the specified row position, optionally setting the elements of the inserted rows to zero
Reimplemented from Mat< eT >.
Definition at line 556 of file Col_meat.hpp.
void Col< eT >::insert_rows | ( | const uword | row_num, |
const Base< eT, T1 > & | X | ||
) | [inline] |
insert the given object at the specified row position; the given object must have one column
Reimplemented from Mat< eT >.
Definition at line 602 of file Col_meat.hpp.
arma_inline void Col< eT >::fixed< fixed_n_elem >::mem_setup | ( | ) | [private] |
Definition at line 671 of file Col_meat.hpp.
arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::ones | ( | ) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 1170 of file Col_meat.hpp.
subview_row< eT > Col< eT >::fixed< fixed_n_elem >::operator() | ( | const uword | row_num, |
const span & | col_span | ||
) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 931 of file Col_meat.hpp.
const subview_row< eT > Col< eT >::fixed< fixed_n_elem >::operator() | ( | const uword | row_num, |
const span & | col_span | ||
) | const [inline] |
Reimplemented from Mat< eT >.
Definition at line 944 of file Col_meat.hpp.
subview_col< eT > Col< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, |
const uword | col_num | ||
) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 957 of file Col_meat.hpp.
const subview_col< eT > Col< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, |
const uword | col_num | ||
) | const [inline] |
Reimplemented from Mat< eT >.
Definition at line 970 of file Col_meat.hpp.
subview< eT > Col< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, |
const span & | col_span | ||
) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 983 of file Col_meat.hpp.
const subview< eT > Col< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, |
const span & | col_span | ||
) | const [inline] |
Reimplemented from Mat< eT >.
Definition at line 996 of file Col_meat.hpp.
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator() | ( | const uword | i | ) |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented from Mat< eT >.
Definition at line 1058 of file Col_meat.hpp.
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::operator() | ( | const uword | i | ) | const |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented from Mat< eT >.
Definition at line 1072 of file Col_meat.hpp.
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator() | ( | const uword | in_row, |
const uword | in_col | ||
) |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented from Mat< eT >.
Definition at line 1110 of file Col_meat.hpp.
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::operator() | ( | const uword | in_row, |
const uword | in_col | ||
) | const |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented from Mat< eT >.
Definition at line 1124 of file Col_meat.hpp.
mat_injector< Col< eT > > Col< eT >::operator<< | ( | const eT | val | ) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 336 of file Col_meat.hpp.
construct a column vector from specified text
Reimplemented from Mat< eT >.
Reimplemented in Col< eT >::fixed< fixed_n_elem >.
Definition at line 93 of file Col_meat.hpp.
construct a column vector from specified text
Reimplemented from Mat< eT >.
Reimplemented in Col< eT >::fixed< fixed_n_elem >.
Definition at line 132 of file Col_meat.hpp.
Set the matrix to be equal to the specified scalar. NOTE: the size of the matrix will be 1x1
Reimplemented from Mat< eT >.
Reimplemented in Col< eT >::fixed< fixed_n_elem >.
Definition at line 193 of file Col_meat.hpp.
const Col< eT > & Col< eT >::operator= | ( | const Base< eT, T1 > & | X | ) | [inline] |
Reimplemented in Col< eT >::fixed< fixed_n_elem >.
Definition at line 222 of file Col_meat.hpp.
const Col< eT > & Col< eT >::operator= | ( | const BaseCube< eT, T1 > & | X | ) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 295 of file Col_meat.hpp.
const Col< eT > & Col< eT >::operator= | ( | const subview_cube< eT > & | X | ) | [inline] |
construct a matrix from a subview_cube instance
Reimplemented from Mat< eT >.
Reimplemented in Col< eT >::fixed< fixed_n_elem >.
Definition at line 322 of file Col_meat.hpp.
const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= | ( | const Base< eT, T1 > & | A | ) | [inline] |
Reimplemented from Col< eT >.
Definition at line 856 of file Col_meat.hpp.
const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= | ( | const eT | val | ) | [inline] |
Set the matrix to be equal to the specified scalar. NOTE: the size of the matrix will be 1x1
Reimplemented from Col< eT >.
Definition at line 870 of file Col_meat.hpp.
const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= | ( | const char * | text | ) | [inline] |
construct a column vector from specified text
Reimplemented from Col< eT >.
Definition at line 884 of file Col_meat.hpp.
const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= | ( | const std::string & | text | ) | [inline] |
construct a column vector from specified text
Reimplemented from Col< eT >.
Definition at line 900 of file Col_meat.hpp.
const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= | ( | const subview_cube< eT > & | X | ) | [inline] |
construct a matrix from a subview_cube instance
Reimplemented from Col< eT >.
Definition at line 916 of file Col_meat.hpp.
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator[] | ( | const uword | i | ) |
linear element accessor (treats the matrix as a vector); no bounds check.
Reimplemented from Mat< eT >.
Definition at line 1010 of file Col_meat.hpp.
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::operator[] | ( | const uword | i | ) | const |
linear element accessor (treats the matrix as a vector); no bounds check
Reimplemented from Mat< eT >.
Definition at line 1022 of file Col_meat.hpp.
arma_inline eT & Col< eT >::row | ( | const uword | row_num | ) |
creation of subview (row vector)
Reimplemented from Mat< eT >.
Definition at line 346 of file Col_meat.hpp.
arma_inline eT Col< eT >::row | ( | const uword | row_num | ) | const |
creation of subview (row vector)
Reimplemented from Mat< eT >.
Definition at line 358 of file Col_meat.hpp.
arma_inline subview_col< eT > Col< eT >::rows | ( | const uword | in_row1, |
const uword | in_row2 | ||
) |
creation of subview (submatrix comprised of specified row vectors)
Reimplemented from Mat< eT >.
Definition at line 370 of file Col_meat.hpp.
arma_inline const subview_col< eT > Col< eT >::rows | ( | const uword | in_row1, |
const uword | in_row2 | ||
) | const |
creation of subview (submatrix comprised of specified row vectors)
Reimplemented from Mat< eT >.
Definition at line 386 of file Col_meat.hpp.
arma_inline subview_col< eT > Col< eT >::subvec | ( | const uword | in_row1, |
const uword | in_row2 | ||
) |
Definition at line 402 of file Col_meat.hpp.
arma_inline const subview_col< eT > Col< eT >::subvec | ( | const uword | in_row1, |
const uword | in_row2 | ||
) | const |
Definition at line 418 of file Col_meat.hpp.
arma_inline subview_col< eT > Col< eT >::subvec | ( | const span & | row_span | ) |
Definition at line 434 of file Col_meat.hpp.
arma_inline const subview_col< eT > Col< eT >::subvec | ( | const span & | row_span | ) | const |
Definition at line 456 of file Col_meat.hpp.