Classes | |
class | Row< eT > |
Class for row vectors (matrices with only one row) More... | |
Functions | |
arma_inline arma_warn_unused eT & | Row< 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 | Row< 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 & | Row< 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 | Row< eT >::fixed< fixed_n_elem >::at (const uword in_row, const uword in_col) const |
element accessor; no bounds check | |
row_iterator | Row< eT >::begin_row (const uword row_num) |
const_row_iterator | Row< eT >::begin_row (const uword row_num) const |
arma_inline eT & | Row< eT >::col (const uword col_num) |
creation of subview (column vector) | |
arma_inline eT | Row< eT >::col (const uword col_num) const |
creation of subview (column vector) | |
arma_inline subview_row< eT > | 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 > | Row< eT >::cols (const uword in_col1, const uword in_col2) const |
creation of subview (submatrix comprised of specified column vectors) | |
row_iterator | Row< eT >::end_row (const uword row_num) |
const_row_iterator | Row< eT >::end_row (const uword row_num) const |
arma_hot const Row< eT > & | Row< eT >::fixed< fixed_n_elem >::fill (const eT val) |
fill the matrix with the specified value | |
arma_inline | Row< eT >::fixed< fixed_n_elem >::fixed () |
arma_inline | Row< eT >::fixed< fixed_n_elem >::fixed (const fixed< fixed_n_elem > &X) |
Row< eT >::fixed< fixed_n_elem >::fixed (const subview_cube< eT > &X) | |
template<typename T1 > | |
Row< eT >::fixed< fixed_n_elem >::fixed (const Base< eT, T1 > &A) | |
template<typename T1 , typename T2 > | |
Row< eT >::fixed< fixed_n_elem >::fixed (const Base< pod_type, T1 > &A, const Base< pod_type, T2 > &B) | |
Row< eT >::fixed< fixed_n_elem >::fixed (eT *aux_mem, const bool copy_aux_mem=true) | |
Row< eT >::fixed< fixed_n_elem >::fixed (const eT *aux_mem) | |
Row< eT >::fixed< fixed_n_elem >::fixed (const char *text) | |
Row< eT >::fixed< fixed_n_elem >::fixed (const std::string &text) | |
void | Row< eT >::insert_cols (const uword col_num, const uword N, const bool set_to_zero=true) |
template<typename T1 > | |
void | Row< eT >::insert_cols (const uword col_num, const Base< eT, T1 > &X) |
arma_inline void | Row< eT >::fixed< fixed_n_elem >::mem_setup () |
arma_hot const Row< eT > & | Row< eT >::fixed< fixed_n_elem >::ones () |
subview_row< eT > | Row< eT >::fixed< fixed_n_elem >::operator() (const uword row_num, const span &col_span) |
const subview_row< eT > | Row< eT >::fixed< fixed_n_elem >::operator() (const uword row_num, const span &col_span) const |
subview_col< eT > | Row< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const uword col_num) |
const subview_col< eT > | Row< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const uword col_num) const |
subview< eT > | Row< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const span &col_span) |
const subview< eT > | Row< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const span &col_span) const |
arma_inline arma_warn_unused eT & | Row< 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 | Row< 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 & | Row< 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 | Row< 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< Row > | Row< eT >::operator<< (const eT val) |
const Row & | Row< eT >::operator= (const char *text) |
create the matrix from a textual description | |
const Row & | Row< eT >::operator= (const std::string &text) |
create the matrix from a textual description | |
const Row & | Row< eT >::operator= (const eT val) |
template<typename T1 > | |
const Row & | Row< eT >::operator= (const Base< eT, T1 > &X) |
template<typename T1 > | |
const Row & | Row< eT >::operator= (const BaseCube< eT, T1 > &X) |
const Row & | Row< eT >::operator= (const subview_cube< eT > &X) |
construct a matrix from a subview_cube instance | |
template<typename T1 > | |
const Row & | Row< eT >::fixed< fixed_n_elem >::operator= (const Base< eT, T1 > &A) |
const Row & | Row< eT >::fixed< fixed_n_elem >::operator= (const eT val) |
const Row & | Row< eT >::fixed< fixed_n_elem >::operator= (const char *text) |
create the matrix from a textual description | |
const Row & | Row< eT >::fixed< fixed_n_elem >::operator= (const std::string &text) |
create the matrix from a textual description | |
const Row & | Row< 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 & | Row< 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 | Row< eT >::fixed< fixed_n_elem >::operator[] (const uword i) const |
linear element accessor (treats the matrix as a vector); no bounds check | |
Row< eT >::Row () | |
construct an empty row vector | |
Row< eT >::Row (const Row< eT > &X) | |
Row< eT >::Row (const uword N) | |
construct a row vector with the specified number of n_elem | |
Row< eT >::Row (const uword in_rows, const uword in_cols) | |
Row< eT >::Row (const char *text) | |
Row< eT >::Row (const std::string &text) | |
template<typename T1 > | |
Row< eT >::Row (const Base< eT, T1 > &X) | |
Row< eT >::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< eT >::Row (const eT *aux_mem, const uword aux_length) | |
construct a row vector from a given auxiliary array | |
template<typename T1 > | |
Row< eT >::Row (const BaseCube< eT, T1 > &X) | |
Row< eT >::Row (const subview_cube< eT > &X) | |
template<typename T1 , typename T2 > | |
Row< eT >::Row (const Base< typename Row< eT >::pod_type, T1 > &A, const Base< typename Row< eT >::pod_type, T2 > &B) | |
void | Row< eT >::shed_col (const uword col_num) |
remove specified columns | |
void | Row< eT >::shed_cols (const uword in_col1, const uword in_col2) |
remove specified columns | |
arma_inline subview_row< eT > | Row< eT >::subvec (const uword in_col1, const uword in_col2) |
arma_inline const subview_row< eT > | Row< eT >::subvec (const uword in_col1, const uword in_col2) const |
arma_inline subview_row< eT > | Row< eT >::subvec (const span &col_span) |
arma_inline const subview_row< eT > | Row< eT >::subvec (const span &col_span) const |
arma_hot const Row< eT > & | Row< eT >::fixed< fixed_n_elem >::zeros () |
arma_inline arma_warn_unused eT & Row< 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 972 of file Row_meat.hpp.
arma_inline arma_warn_unused eT Row< 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 984 of file Row_meat.hpp.
arma_inline arma_warn_unused eT & Row< 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 1024 of file Row_meat.hpp.
arma_inline arma_warn_unused eT Row< 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 1036 of file Row_meat.hpp.
Reimplemented from Mat< eT >.
Definition at line 580 of file Row_meat.hpp.
Row< eT >::const_row_iterator Row< eT >::begin_row | ( | const uword | row_num | ) | const [inline] |
Reimplemented from Mat< eT >.
Definition at line 594 of file Row_meat.hpp.
arma_inline eT & Row< eT >::col | ( | const uword | col_num | ) |
creation of subview (column vector)
Reimplemented from Mat< eT >.
Definition at line 312 of file Row_meat.hpp.
arma_inline eT Row< eT >::col | ( | const uword | col_num | ) | const |
creation of subview (column vector)
Reimplemented from Mat< eT >.
Definition at line 324 of file Row_meat.hpp.
arma_inline subview_row< eT > Row< eT >::cols | ( | const uword | in_col1, |
const uword | in_col2 | ||
) |
creation of subview (submatrix comprised of specified column vectors)
Reimplemented from Mat< eT >.
Definition at line 336 of file Row_meat.hpp.
arma_inline const subview_row< eT > Row< eT >::cols | ( | const uword | in_col1, |
const uword | in_col2 | ||
) | const |
creation of subview (submatrix comprised of specified column vectors)
Reimplemented from Mat< eT >.
Definition at line 352 of file Row_meat.hpp.
Reimplemented from Mat< eT >.
Definition at line 608 of file Row_meat.hpp.
Row< eT >::const_row_iterator Row< eT >::end_row | ( | const uword | row_num | ) | const [inline] |
Reimplemented from Mat< eT >.
Definition at line 622 of file Row_meat.hpp.
arma_hot const Row< eT > & Row< eT >::fixed< fixed_n_elem >::fill | ( | const eT | val | ) | [inline] |
fill the matrix with the specified value
Reimplemented from Mat< eT >.
Definition at line 1076 of file Row_meat.hpp.
Row< eT >::fixed< fixed_n_elem >::fixed | ( | ) | [inline] |
Definition at line 654 of file Row_meat.hpp.
arma_inline Row< eT >::fixed< fixed_n_elem >::fixed | ( | const fixed< fixed_n_elem > & | X | ) |
Definition at line 666 of file Row_meat.hpp.
arma_inline Row< eT >::fixed< fixed_n_elem >::fixed | ( | const subview_cube< eT > & | X | ) | [inline] |
Definition at line 682 of file Row_meat.hpp.
arma_inline Row< eT >::fixed< fixed_n_elem >::fixed | ( | const Base< eT, T1 > & | A | ) | [inline] |
Definition at line 697 of file Row_meat.hpp.
arma_inline Row< eT >::fixed< fixed_n_elem >::fixed | ( | const Base< pod_type, T1 > & | A, |
const Base< pod_type, T2 > & | B | ||
) | [inline] |
Definition at line 712 of file Row_meat.hpp.
Row< eT >::fixed< fixed_n_elem >::fixed | ( | eT * | aux_mem, |
const bool | copy_aux_mem = true |
||
) | [inline] |
Definition at line 726 of file Row_meat.hpp.
Row< eT >::fixed< fixed_n_elem >::fixed | ( | const eT * | aux_mem | ) | [inline] |
Definition at line 755 of file Row_meat.hpp.
Row< eT >::fixed< fixed_n_elem >::fixed | ( | const char * | text | ) | [inline] |
Definition at line 769 of file Row_meat.hpp.
Row< eT >::fixed< fixed_n_elem >::fixed | ( | const std::string & | text | ) | [inline] |
Definition at line 783 of file Row_meat.hpp.
void Row< eT >::insert_cols | ( | const uword | col_num, |
const uword | N, | ||
const bool | set_to_zero = true |
||
) | [inline] |
insert N cols at the specified col position, optionally setting the elements of the inserted cols to zero
Reimplemented from Mat< eT >.
Definition at line 522 of file Row_meat.hpp.
void Row< eT >::insert_cols | ( | const uword | col_num, |
const Base< eT, T1 > & | X | ||
) | [inline] |
insert the given object at the specified col position; the given object must have one row
Reimplemented from Mat< eT >.
Definition at line 568 of file Row_meat.hpp.
arma_inline void Row< eT >::fixed< fixed_n_elem >::mem_setup | ( | ) | [private] |
Definition at line 637 of file Row_meat.hpp.
arma_hot const Row< eT > & Row< eT >::fixed< fixed_n_elem >::ones | ( | ) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 1108 of file Row_meat.hpp.
subview_row< eT > Row< eT >::fixed< fixed_n_elem >::operator() | ( | const uword | row_num, |
const span & | col_span | ||
) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 798 of file Row_meat.hpp.
const subview_row< eT > Row< eT >::fixed< fixed_n_elem >::operator() | ( | const uword | row_num, |
const span & | col_span | ||
) | const [inline] |
Reimplemented from Mat< eT >.
Definition at line 882 of file Row_meat.hpp.
subview_col< eT > Row< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, |
const uword | col_num | ||
) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 895 of file Row_meat.hpp.
const subview_col< eT > Row< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, |
const uword | col_num | ||
) | const [inline] |
Reimplemented from Mat< eT >.
Definition at line 908 of file Row_meat.hpp.
subview< eT > Row< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, |
const span & | col_span | ||
) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 921 of file Row_meat.hpp.
const subview< eT > Row< eT >::fixed< fixed_n_elem >::operator() | ( | const span & | row_span, |
const span & | col_span | ||
) | const [inline] |
Reimplemented from Mat< eT >.
Definition at line 934 of file Row_meat.hpp.
arma_inline arma_warn_unused eT & Row< 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 996 of file Row_meat.hpp.
arma_inline arma_warn_unused eT Row< 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 1010 of file Row_meat.hpp.
arma_inline arma_warn_unused eT & Row< 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 1048 of file Row_meat.hpp.
arma_inline arma_warn_unused eT Row< 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 1062 of file Row_meat.hpp.
mat_injector< Row< eT > > Row< eT >::operator<< | ( | const eT | val | ) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 302 of file Row_meat.hpp.
create the matrix from a textual description
Reimplemented from Mat< eT >.
Reimplemented in Row< eT >::fixed< fixed_n_elem >.
Definition at line 87 of file Row_meat.hpp.
create the matrix from a textual description
Reimplemented from Mat< eT >.
Reimplemented in Row< eT >::fixed< fixed_n_elem >.
Definition at line 114 of file Row_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 Row< eT >::fixed< fixed_n_elem >.
Definition at line 159 of file Row_meat.hpp.
const Row< eT > & Row< eT >::operator= | ( | const Base< eT, T1 > & | X | ) | [inline] |
Reimplemented in Row< eT >::fixed< fixed_n_elem >.
Definition at line 188 of file Row_meat.hpp.
const Row< eT > & Row< eT >::operator= | ( | const BaseCube< eT, T1 > & | X | ) | [inline] |
Reimplemented from Mat< eT >.
Definition at line 261 of file Row_meat.hpp.
const Row< eT > & Row< eT >::operator= | ( | const subview_cube< eT > & | X | ) | [inline] |
construct a matrix from a subview_cube instance
Reimplemented from Mat< eT >.
Reimplemented in Row< eT >::fixed< fixed_n_elem >.
Definition at line 288 of file Row_meat.hpp.
const Row< eT > & Row< eT >::fixed< fixed_n_elem >::operator= | ( | const Base< eT, T1 > & | A | ) | [inline] |
Reimplemented from Row< eT >.
Definition at line 811 of file Row_meat.hpp.
const Row< eT > & Row< 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 Row< eT >.
Definition at line 825 of file Row_meat.hpp.
const Row< eT > & Row< eT >::fixed< fixed_n_elem >::operator= | ( | const char * | text | ) | [inline] |
create the matrix from a textual description
Reimplemented from Row< eT >.
Definition at line 839 of file Row_meat.hpp.
const Row< eT > & Row< eT >::fixed< fixed_n_elem >::operator= | ( | const std::string & | text | ) | [inline] |
create the matrix from a textual description
Reimplemented from Row< eT >.
Definition at line 853 of file Row_meat.hpp.
const Row< eT > & Row< eT >::fixed< fixed_n_elem >::operator= | ( | const subview_cube< eT > & | X | ) | [inline] |
construct a matrix from a subview_cube instance
Reimplemented from Row< eT >.
Definition at line 867 of file Row_meat.hpp.
arma_inline arma_warn_unused eT & Row< 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 948 of file Row_meat.hpp.
arma_inline arma_warn_unused eT Row< 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 960 of file Row_meat.hpp.
construct an empty row vector
Definition at line 21 of file Row_meat.hpp.
Definition at line 33 of file Row_meat.hpp.
construct a row vector with the specified number of n_elem
Definition at line 48 of file Row_meat.hpp.
Definition at line 60 of file Row_meat.hpp.
Definition at line 73 of file Row_meat.hpp.
Definition at line 100 of file Row_meat.hpp.
Definition at line 173 of file Row_meat.hpp.
Row< eT >::Row | ( | eT * | aux_mem, |
const uword | aux_length, | ||
const bool | copy_aux_mem = true , |
||
const bool | strict = true |
||
) | [inline] |
construct a row vector from a given auxiliary array
Definition at line 202 of file Row_meat.hpp.
construct a row vector from a given auxiliary array
Definition at line 215 of file Row_meat.hpp.
Row< eT >::Row | ( | const BaseCube< eT, T1 > & | X | ) | [inline] |
Definition at line 246 of file Row_meat.hpp.
Row< eT >::Row | ( | const subview_cube< eT > & | X | ) | [inline] |
Definition at line 274 of file Row_meat.hpp.
Row< eT >::Row | ( | const Base< typename Row< eT >::pod_type, T1 > & | A, |
const Base< typename Row< eT >::pod_type, T2 > & | B | ||
) | [inline] |
Definition at line 229 of file Row_meat.hpp.
arma_inline subview_row< eT > Row< eT >::subvec | ( | const uword | in_col1, |
const uword | in_col2 | ||
) |
Definition at line 368 of file Row_meat.hpp.
arma_inline const subview_row< eT > Row< eT >::subvec | ( | const uword | in_col1, |
const uword | in_col2 | ||
) | const |
Definition at line 384 of file Row_meat.hpp.
arma_inline subview_row< eT > Row< eT >::subvec | ( | const span & | col_span | ) |
Definition at line 400 of file Row_meat.hpp.
arma_inline const subview_row< eT > Row< eT >::subvec | ( | const span & | col_span | ) | const |
Definition at line 422 of file Row_meat.hpp.