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