$search
#include <subview_bones.hpp>
Public Types | |
typedef eT | elem_type |
typedef get_pod_type < elem_type >::result | pod_type |
Public Member Functions | |
eT | at (const uword in_row, const uword in_col) const |
eT & | at (const uword in_row, const uword in_col) |
bool | check_overlap (const subview &x) const |
const subview_col< eT > | col (const uword col_num) const |
creation of subview (column vector) | |
subview_col< eT > | col (const uword col_num) |
creation of subview (column vector) | |
arma_inline const eT * | colptr (const uword in_col) const |
arma_inline eT * | colptr (const uword in_col) |
const subview< eT > | cols (const uword in_col1, const uword in_col2) const |
creation of subview (submatrix comprised of specified column vectors) | |
subview< eT > | cols (const uword in_col1, const uword in_col2) |
creation of subview (submatrix comprised of specified column vectors) | |
const diagview< eT > | diag (const sword in_id=0) const |
creation of diagview (diagonal) | |
diagview< eT > | diag (const sword in_id=0) |
creation of diagview (diagonal) | |
void | eye () |
void | fill (const eT val) |
bool | is_vec () const |
void | ones () |
void | operator%= (const subview &x) |
template<typename T1 > | |
void | operator%= (const Base< eT, T1 > &x) |
const subview< eT > | operator() (const span &row_span, const span &col_span) const |
subview< eT > | operator() (const span &row_span, const span &col_span) |
const subview_col< eT > | operator() (const span &row_span, const uword col_num) const |
subview_col< eT > | operator() (const span &row_span, const uword col_num) |
const subview_row< eT > | operator() (const uword row_num, const span &col_span) const |
subview_row< eT > | operator() (const uword row_num, const span &col_span) |
eT | operator() (const uword in_row, const uword in_col) const |
eT & | operator() (const uword in_row, const uword in_col) |
eT | operator() (const uword i) const |
eT & | operator() (const uword i) |
void | operator*= (const eT val) |
void | operator+= (const subview &x) |
template<typename T1 > | |
void | operator+= (const Base< eT, T1 > &x) |
void | operator+= (const eT val) |
void | operator-= (const subview &x) |
template<typename T1 > | |
void | operator-= (const Base< eT, T1 > &x) |
void | operator-= (const eT val) |
void | operator/= (const subview &x) |
template<typename T1 > | |
void | operator/= (const Base< eT, T1 > &x) |
void | operator/= (const eT val) |
void | operator= (const subview &x) |
x.submat(...) = y.submat(...) | |
template<typename T1 > | |
void | operator= (const Base< eT, T1 > &x) |
eT | operator[] (const uword i) const |
eT & | operator[] (const uword i) |
const subview_row< eT > | row (const uword row_num) const |
creation of subview (row vector) | |
subview_row< eT > | row (const uword row_num) |
creation of subview (row vector) | |
const subview< eT > | rows (const uword in_row1, const uword in_row2) const |
creation of subview (submatrix comprised of specified row vectors) | |
subview< eT > | rows (const uword in_row1, const uword in_row2) |
creation of subview (submatrix comprised of specified row vectors) | |
const subview< eT > | submat (const span &row_span, const span &col_span) const |
creation of subview (generic submatrix) | |
subview< eT > | submat (const span &row_span, const span &col_span) |
creation of subview (submatrix) | |
const subview< eT > | submat (const uword in_row1, const uword in_col1, const uword in_row2, const uword in_col2) const |
creation of subview (generic submatrix) | |
subview< eT > | submat (const uword in_row1, const uword in_col1, const uword in_row2, const uword in_col2) |
creation of subview (submatrix) | |
void | swap_cols (const uword in_col1, const uword in_col2) |
void | swap_rows (const uword in_row1, const uword in_row2) |
const Col< eT > | unsafe_col (const uword col_num) const |
Col< eT > | unsafe_col (const uword col_num) |
void | zeros () |
~subview () | |
Static Public Member Functions | |
static void | div_inplace (Mat< eT > &out, const subview &in) |
X /= Y.submat(...). | |
static void | extract (Mat< eT > &out, const subview &in) |
X = Y.submat(...). | |
static void | minus_inplace (Mat< eT > &out, const subview &in) |
X -= Y.submat(...). | |
static void | plus_inplace (Mat< eT > &out, const subview &in) |
X += Y.submat(...). | |
static void | schur_inplace (Mat< eT > &out, const subview &in) |
X = Y.submat(...). | |
Public Attributes | |
const uword | aux_col1 |
const uword | aux_row1 |
arma_aligned const Mat< eT > & | m |
const uword | n_cols |
const uword | n_elem |
const uword | n_rows |
Protected Member Functions | |
arma_inline | subview (Mat< eT > &in_m, const uword in_row1, const uword in_col1, const uword in_n_rows, const uword in_n_cols) |
arma_inline | subview (const Mat< eT > &in_m, const uword in_row1, const uword in_col1, const uword in_n_rows, const uword in_n_cols) |
Protected Attributes | |
arma_aligned Mat< eT > * | m_ptr |
Private Member Functions | |
subview () | |
Friends | |
class | Mat< eT > |
Class for storing data required to construct or apply operations to a submatrix (i.e. where the submatrix starts and ends as well as a reference/pointer to the original matrix),
Definition at line 22 of file subview_bones.hpp.
Reimplemented in subview_col< eT >, and subview_row< eT >.
Definition at line 29 of file subview_bones.hpp.
typedef get_pod_type<elem_type>::result subview< eT >::pod_type |
Reimplemented in subview_col< eT >, and subview_row< eT >.
Definition at line 30 of file subview_bones.hpp.
friend class Mat< eT > [friend] |
Reimplemented in subview_col< eT >, and subview_row< eT >.
Definition at line 166 of file subview_bones.hpp.
Definition at line 33 of file subview_bones.hpp.
Definition at line 32 of file subview_bones.hpp.
Definition at line 24 of file subview_bones.hpp.
Definition at line 25 of file subview_bones.hpp.
Definition at line 36 of file subview_bones.hpp.
Definition at line 37 of file subview_bones.hpp.
Definition at line 35 of file subview_bones.hpp.