#include <subview_cube_bones.hpp>
Public Types | |
typedef eT | elem_type |
typedef get_pod_type < elem_type >::result | pod_type |
Public Member Functions | |
arma_inline eT & | at (const uword in_row, const uword in_col, const uword in_slice) |
arma_inline eT | at (const uword in_row, const uword in_col, const uword in_slice) const |
bool | check_overlap (const subview_cube &x) const |
bool | check_overlap (const Mat< eT > &x) const |
void | fill (const eT val) |
void | ones () |
template<typename T1 > | |
void | operator%= (const BaseCube< eT, T1 > &x) |
void | operator%= (const subview_cube &x) |
template<typename T1 > | |
void | operator%= (const Base< eT, T1 > &x) |
eT & | operator() (const uword i) |
eT | operator() (const uword i) const |
arma_inline eT & | operator() (const uword in_row, const uword in_col, const uword in_slice) |
arma_inline eT | operator() (const uword in_row, const uword in_col, const uword in_slice) const |
void | operator*= (const eT val) |
void | operator+= (const eT val) |
template<typename T1 > | |
void | operator+= (const BaseCube< eT, T1 > &x) |
void | operator+= (const subview_cube &x) |
template<typename T1 > | |
void | operator+= (const Base< eT, T1 > &x) |
void | operator-= (const eT val) |
template<typename T1 > | |
void | operator-= (const BaseCube< eT, T1 > &x) |
void | operator-= (const subview_cube &x) |
template<typename T1 > | |
void | operator-= (const Base< eT, T1 > &x) |
void | operator/= (const eT val) |
template<typename T1 > | |
void | operator/= (const BaseCube< eT, T1 > &x) |
void | operator/= (const subview_cube &x) |
template<typename T1 > | |
void | operator/= (const Base< eT, T1 > &x) |
template<typename T1 > | |
void | operator= (const BaseCube< eT, T1 > &x) |
void | operator= (const subview_cube &x) |
x.subcube(...) = y.subcube(...) | |
template<typename T1 > | |
void | operator= (const Base< eT, T1 > &x) |
eT & | operator[] (const uword i) |
eT | operator[] (const uword i) const |
arma_inline eT * | slice_colptr (const uword in_slice, const uword in_col) |
arma_inline const eT * | slice_colptr (const uword in_slice, const uword in_col) const |
void | zeros () |
~subview_cube () | |
Static Public Member Functions | |
static void | div_inplace (Cube< eT > &out, const subview_cube &in) |
cube X /= Y.subcube(...) | |
static void | div_inplace (Mat< eT > &out, const subview_cube &in) |
mat X /= Y.subcube(...) | |
static void | extract (Cube< eT > &out, const subview_cube &in) |
cube X = Y.subcube(...) | |
static void | extract (Mat< eT > &out, const subview_cube &in) |
mat X = Y.subcube(...) | |
static void | minus_inplace (Cube< eT > &out, const subview_cube &in) |
cube X -= Y.subcube(...) | |
static void | minus_inplace (Mat< eT > &out, const subview_cube &in) |
mat X -= Y.subcube(...) | |
static void | plus_inplace (Cube< eT > &out, const subview_cube &in) |
cube X += Y.subcube(...) | |
static void | plus_inplace (Mat< eT > &out, const subview_cube &in) |
mat X += Y.subcube(...) | |
static void | schur_inplace (Cube< eT > &out, const subview_cube &in) |
cube X %= Y.subcube(...) | |
static void | schur_inplace (Mat< eT > &out, const subview_cube &in) |
mat X %= Y.subcube(...) | |
Public Attributes | |
const uword | aux_col1 |
const uword | aux_row1 |
const uword | aux_slice1 |
arma_aligned const Cube< eT > & | m |
const uword | n_cols |
const uword | n_elem |
const uword | n_elem_slice |
const uword | n_rows |
const uword | n_slices |
Protected Member Functions | |
arma_inline | subview_cube (const Cube< eT > &in_m, const uword in_row1, const uword in_col1, const uword in_slice1, const uword in_n_rows, const uword in_n_cols, const uword in_n_slices) |
arma_inline | subview_cube (Cube< eT > &in_m, const uword in_row1, const uword in_col1, const uword in_slice1, const uword in_n_rows, const uword in_n_cols, const uword in_n_slices) |
Protected Attributes | |
arma_aligned Cube< eT > * | m_ptr |
Private Member Functions | |
subview_cube () | |
Friends | |
class | Cube< eT > |
class | Mat< eT > |
Class for storing data required to construct or apply operations to a subcube (i.e. where the subcube starts and ends as well as a reference/pointer to the original cube),
Definition at line 21 of file subview_cube_bones.hpp.
typedef eT subview_cube< eT >::elem_type |
Definition at line 28 of file subview_cube_bones.hpp.
typedef get_pod_type<elem_type>::result subview_cube< eT >::pod_type |
Definition at line 29 of file subview_cube_bones.hpp.
subview_cube< eT >::subview_cube | ( | ) | [private] |
friend class Cube< eT > [friend] |
Definition at line 114 of file subview_cube_bones.hpp.
friend class Mat< eT > [friend] |
Definition at line 113 of file subview_cube_bones.hpp.
const uword subview_cube< eT >::aux_col1 |
Definition at line 32 of file subview_cube_bones.hpp.
const uword subview_cube< eT >::aux_row1 |
Definition at line 31 of file subview_cube_bones.hpp.
const uword subview_cube< eT >::aux_slice1 |
Definition at line 33 of file subview_cube_bones.hpp.
arma_aligned const Cube<eT>& subview_cube< eT >::m |
Definition at line 23 of file subview_cube_bones.hpp.
arma_aligned Cube<eT>* subview_cube< eT >::m_ptr [protected] |
Definition at line 24 of file subview_cube_bones.hpp.
const uword subview_cube< eT >::n_cols |
Definition at line 36 of file subview_cube_bones.hpp.
const uword subview_cube< eT >::n_elem |
Definition at line 39 of file subview_cube_bones.hpp.
const uword subview_cube< eT >::n_elem_slice |
Definition at line 37 of file subview_cube_bones.hpp.
const uword subview_cube< eT >::n_rows |
Definition at line 35 of file subview_cube_bones.hpp.
const uword subview_cube< eT >::n_slices |
Definition at line 38 of file subview_cube_bones.hpp.