$search
Classes | |
| class | Col< eT > |
| Class for column vectors (matrices with only one column). More... | |
Functions | |
| arma_inline arma_warn_unused eT | Col::fixed::at (const uword in_row, const uword in_col) const |
| element accessor; no bounds check | |
| arma_inline arma_warn_unused eT & | Col::fixed::at (const uword in_row, const uword in_col) |
| element accessor; no bounds check | |
| arma_inline arma_warn_unused eT | Col::fixed::at (const uword i) const |
| linear element accessor (treats the matrix as a vector); no bounds check | |
| arma_inline arma_warn_unused eT & | Col::fixed::at (const uword i) |
| linear element accessor (treats the matrix as a vector); no bounds check. | |
| const_row_iterator | Col::begin_row (const uword row_num) const |
| row_iterator | Col::begin_row (const uword row_num) |
| arma_inline void | Col::fixed::change_to_row () |
| Col::Col (const subview_cube< eT > &X) | |
| template<typename T1 > | |
| Col::Col (const BaseCube< eT, T1 > &X) | |
| template<typename T1 , typename T2 > | |
| Col::Col (const Base< typename Col< eT >::pod_type, T1 > &A, const Base< typename Col< eT >::pod_type, T2 > &B) | |
| Col::Col (const eT *aux_mem, const uword aux_length) | |
| construct a column vector from a given auxiliary array of eTs | |
| Col::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 | |
| template<typename T1 > | |
| Col::Col (const Base< eT, T1 > &X) | |
| Col::Col (const std::string &text) | |
| construct a column vector from specified text | |
| Col::Col (const char *text) | |
| construct a column vector from specified text | |
| Col::Col (const uword in_rows, const uword in_cols) | |
| Col::Col (const uword n_elem) | |
| construct a column vector with the specified number of n_elem | |
| Col::Col (const Col< eT > &X) | |
| Col::Col () | |
| construct an empty column vector | |
| const_row_iterator | Col::end_row (const uword row_num) const |
| row_iterator | Col::end_row (const uword row_num) |
| arma_hot const Col< eT > & | Col::fixed::fill (const eT val) |
| fill the matrix with the specified value | |
| Col::fixed::fixed (const std::string &text) | |
| Col::fixed::fixed (const char *text) | |
| Col::fixed::fixed (const eT *aux_mem) | |
| Col::fixed::fixed (eT *aux_mem, const bool copy_aux_mem=true) | |
| template<typename T1 , typename T2 > | |
| Col::fixed::fixed (const Base< pod_type, T1 > &A, const Base< pod_type, T2 > &B) | |
| template<typename T1 > | |
| Col::fixed::fixed (const Base< eT, T1 > &A) | |
| Col::fixed::fixed (const subview_cube< eT > &X) | |
| arma_inline | Col::fixed::fixed (const fixed< fixed_n_elem > &X) |
| arma_inline | Col::fixed::fixed () |
| template<typename T1 > | |
| void | Col::insert_rows (const uword row_num, const Base< eT, T1 > &X) |
| void | Col::insert_rows (const uword row_num, const uword N, const bool set_to_zero=true) |
| arma_inline void | Col::fixed::mem_setup () |
| arma_hot const Col< eT > & | Col::fixed::ones () |
| arma_inline arma_warn_unused eT | Col::fixed::operator() (const uword in_row, const uword in_col) const |
| element accessor; bounds checking not done when ARMA_NO_DEBUG is defined | |
| arma_inline arma_warn_unused eT & | Col::fixed::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::fixed::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::fixed::operator() (const uword i) |
| linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined | |
| const subview< eT > | Col::fixed::operator() (const span &row_span, const span &col_span) const |
| subview< eT > | Col::fixed::operator() (const span &row_span, const span &col_span) |
| const subview_col< eT > | Col::fixed::operator() (const span &row_span, const uword col_num) const |
| subview_col< eT > | Col::fixed::operator() (const span &row_span, const uword col_num) |
| const subview_row< eT > | Col::fixed::operator() (const uword row_num, const span &col_span) const |
| subview_row< eT > | Col::fixed::operator() (const uword row_num, const span &col_span) |
| mat_injector< Col > | Col::operator<< (const eT val) |
| const Col & | Col::fixed::operator= (const subview_cube< eT > &X) |
| construct a matrix from a subview_cube instance | |
| const Col & | Col::fixed::operator= (const std::string &text) |
| construct a column vector from specified text | |
| const Col & | Col::fixed::operator= (const char *text) |
| construct a column vector from specified text | |
| const Col & | Col::fixed::operator= (const eT val) |
| template<typename T1 > | |
| const Col & | Col::fixed::operator= (const Base< eT, T1 > &A) |
| const Col & | Col::operator= (const subview_cube< eT > &X) |
| construct a matrix from a subview_cube instance | |
| template<typename T1 > | |
| const Col & | Col::operator= (const BaseCube< eT, T1 > &X) |
| template<typename T1 > | |
| const Col & | Col::operator= (const Base< eT, T1 > &X) |
| const Col & | Col::operator= (const eT val) |
| const Col & | Col::operator= (const std::string &text) |
| construct a column vector from specified text | |
| const Col & | Col::operator= (const char *text) |
| construct a column vector from specified text | |
| arma_inline arma_warn_unused eT | Col::fixed::operator[] (const uword i) const |
| linear element accessor (treats the matrix as a vector); no bounds check | |
| arma_inline arma_warn_unused eT & | Col::fixed::operator[] (const uword i) |
| linear element accessor (treats the matrix as a vector); no bounds check. | |
| arma_inline eT | Col::row (const uword row_num) const |
| creation of subview (row vector) | |
| arma_inline eT & | Col::row (const uword row_num) |
| creation of subview (row vector) | |
| arma_inline const subview_col< eT > | Col::rows (const uword in_row1, const uword in_row2) const |
| creation of subview (submatrix comprised of specified row vectors) | |
| arma_inline subview_col< eT > | Col::rows (const uword in_row1, const uword in_row2) |
| creation of subview (submatrix comprised of specified row vectors) | |
| void | Col::shed_row (const uword row_num) |
| remove specified row | |
| void | Col::shed_rows (const uword in_row1, const uword in_row2) |
| remove specified rows | |
| arma_inline const subview_col< eT > | Col::subvec (const span &row_span) const |
| arma_inline subview_col< eT > | Col::subvec (const span &row_span) |
| arma_inline const subview_col< eT > | Col::subvec (const uword in_row1, const uword in_row2) const |
| arma_inline subview_col< eT > | Col::subvec (const uword in_row1, const uword in_row2) |
| arma_hot const Col< eT > & | Col::fixed::zeros () |
| arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::at | ( | const uword | in_row, | |
| const uword | in_col | |||
| ) | const [inline, inherited] |
element accessor; no bounds check
Reimplemented from Mat< eT >.
Definition at line 1098 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 | |||
| ) | [inline, inherited] |
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 | i | ) | const [inline, inherited] |
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 | i | ) | [inline, inherited] |
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.
| Col< eT >::const_row_iterator Col< eT >::begin_row | ( | const uword | row_num | ) | const [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 628 of file Col_meat.hpp.
| Col< eT >::row_iterator Col< eT >::begin_row | ( | const uword | row_num | ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 614 of file Col_meat.hpp.
| arma_inline void Col< eT >::fixed< fixed_n_elem >::change_to_row | ( | ) | [inline, private, inherited] |
Definition at line 689 of file Col_meat.hpp.
| Col< eT >::Col | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
Definition at line 308 of file Col_meat.hpp.
| Col< eT >::Col | ( | const BaseCube< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 280 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, inherited] |
Definition at line 263 of file Col_meat.hpp.
| Col< eT >::Col | ( | const eT * | aux_mem, | |
| const uword | aux_length | |||
| ) | [inline, inherited] |
construct a column vector from a given auxiliary array of eTs
Definition at line 249 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, inherited] |
construct a column vector from a given auxiliary array of eTs
Definition at line 236 of file Col_meat.hpp.
| Col< eT >::Col | ( | const Base< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 207 of file Col_meat.hpp.
construct a column vector from specified text
Definition at line 113 of file Col_meat.hpp.
construct a column vector from specified text
Definition at line 74 of file Col_meat.hpp.
| Col< eT >::Col | ( | const uword | in_rows, | |
| const uword | in_cols | |||
| ) | [inline, inherited] |
Definition at line 60 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 33 of file Col_meat.hpp.
construct an empty column vector
Definition at line 21 of file Col_meat.hpp.
| Col< eT >::const_row_iterator Col< eT >::end_row | ( | const uword | row_num | ) | const [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 656 of file Col_meat.hpp.
| Col< eT >::row_iterator Col< eT >::end_row | ( | const uword | row_num | ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 642 of file Col_meat.hpp.
| arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::fill | ( | const eT | val | ) | [inline, inherited] |
fill the matrix with the specified value
Reimplemented from Mat< eT >.
Definition at line 1138 of file Col_meat.hpp.
| Col< eT >::fixed< fixed_n_elem >::fixed | ( | const std::string & | text | ) | [inline, inherited] |
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.
| Col< eT >::fixed< fixed_n_elem >::fixed | ( | const char * | text | ) | [inline, inherited] |
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 eT * | aux_mem | ) | [inline, inherited] |
Definition at line 803 of file Col_meat.hpp.
| Col< eT >::fixed< fixed_n_elem >::fixed | ( | eT * | aux_mem, | |
| const bool | copy_aux_mem = true | |||
| ) | [inline, inherited] |
Definition at line 774 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, inherited] |
Definition at line 760 of file Col_meat.hpp.
| Col< eT >::fixed< fixed_n_elem >::fixed | ( | const Base< eT, T1 > & | A | ) | [inline, inherited] |
Definition at line 745 of file Col_meat.hpp.
| Col< eT >::fixed< fixed_n_elem >::fixed | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
Definition at line 730 of file Col_meat.hpp.
| arma_inline Col< eT >::fixed< fixed_n_elem >::fixed | ( | const fixed< fixed_n_elem > & | X | ) | [inline, inherited] |
Definition at line 714 of file Col_meat.hpp.
| arma_inline Col< eT >::fixed< fixed_n_elem >::fixed | ( | ) | [inline, inherited] |
Definition at line 702 of file Col_meat.hpp.
| void Col< eT >::insert_rows | ( | const uword | row_num, | |
| const Base< eT, T1 > & | X | |||
| ) | [inline, inherited] |
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.
| void Col< eT >::insert_rows | ( | const uword | row_num, | |
| const uword | N, | |||
| const bool | set_to_zero = true | |||
| ) | [inline, inherited] |
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.
| arma_inline void Col< eT >::fixed< fixed_n_elem >::mem_setup | ( | ) | [inline, private, inherited] |
Definition at line 671 of file Col_meat.hpp.
| arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::ones | ( | ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 1170 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 [inline, inherited] |
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.
| arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator() | ( | const uword | in_row, | |
| const uword | in_col | |||
| ) | [inline, inherited] |
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 | i | ) | const [inline, inherited] |
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 | i | ) | [inline, inherited] |
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.
| const subview< eT > Col< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, | |
| const span & | col_span | |||
| ) | const [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 996 of file Col_meat.hpp.
| subview< eT > Col< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, | |
| const span & | col_span | |||
| ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 983 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, inherited] |
Reimplemented from Mat< eT >.
Definition at line 970 of file Col_meat.hpp.
| subview_col< eT > Col< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, | |
| const uword | col_num | |||
| ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 957 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, inherited] |
Reimplemented from Mat< eT >.
Definition at line 944 of file Col_meat.hpp.
| subview_row< eT > Col< eT >::fixed< fixed_n_elem >::operator() | ( | const uword | row_num, | |
| const span & | col_span | |||
| ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 931 of file Col_meat.hpp.
| mat_injector< Col< eT > > Col< eT >::operator<< | ( | const eT | val | ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 336 of file Col_meat.hpp.
| const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
construct a matrix from a subview_cube instance
Reimplemented from Col< eT >.
Definition at line 916 of file Col_meat.hpp.
| const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= | ( | const std::string & | text | ) | [inline, inherited] |
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 char * | text | ) | [inline, inherited] |
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 eT | val | ) | [inline, inherited] |
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 Base< eT, T1 > & | A | ) | [inline, inherited] |
Reimplemented from Col< eT >.
Definition at line 856 of file Col_meat.hpp.
| const Col< eT > & Col< eT >::operator= | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
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 >::operator= | ( | const BaseCube< eT, T1 > & | X | ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 295 of file Col_meat.hpp.
| const Col< eT > & Col< eT >::operator= | ( | const Base< eT, T1 > & | X | ) | [inline, inherited] |
Reimplemented in Col< eT >::fixed< fixed_n_elem >.
Definition at line 222 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 std::string & | text | ) | [inline, inherited] |
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.
| const Col< eT > & Col< eT >::operator= | ( | const char * | text | ) | [inline, inherited] |
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.
| arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::operator[] | ( | const uword | i | ) | const [inline, inherited] |
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 arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator[] | ( | const uword | i | ) | [inline, inherited] |
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 eT Col< eT >::row | ( | const uword | row_num | ) | const [inline, inherited] |
creation of subview (row vector)
Reimplemented from Mat< eT >.
Definition at line 358 of file Col_meat.hpp.
creation of subview (row vector)
Reimplemented from Mat< eT >.
Definition at line 346 of file Col_meat.hpp.
| arma_inline const subview_col< eT > Col< eT >::rows | ( | const uword | in_row1, | |
| const uword | in_row2 | |||
| ) | const [inline, inherited] |
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 >::rows | ( | const uword | in_row1, | |
| const uword | in_row2 | |||
| ) | [inline, inherited] |
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 >::subvec | ( | const span & | row_span | ) | const [inline, inherited] |
Definition at line 456 of file Col_meat.hpp.
| arma_inline subview_col< eT > Col< eT >::subvec | ( | const span & | row_span | ) | [inline, inherited] |
Definition at line 434 of file Col_meat.hpp.
| arma_inline const subview_col< eT > Col< eT >::subvec | ( | const uword | in_row1, | |
| const uword | in_row2 | |||
| ) | const [inline, inherited] |
Definition at line 418 of file Col_meat.hpp.
| arma_inline subview_col< eT > Col< eT >::subvec | ( | const uword | in_row1, | |
| const uword | in_row2 | |||
| ) | [inline, inherited] |
Definition at line 402 of file Col_meat.hpp.
| arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::zeros | ( | ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 1154 of file Col_meat.hpp.