19 template<
typename T1,
typename T2>
26 typedef typename T1::elem_type eT;
46 ( (A_n_cols != B_n_cols) && ( (A_n_rows > 0) || (A_n_cols > 0) ) && ( (B_n_rows > 0) || (B_n_cols > 0) ) ),
47 "join_cols(): number of columns must be the same" 54 ( (A_n_rows != B.
n_rows) && ( (A_n_rows > 0) || (A_n_cols > 0) ) && ( (B_n_rows > 0) || (B_n_cols > 0) ) ),
55 "join_rows(): number of rows must be the same" 60 if( (&out != &A) && (&out != &B) )
143 template<
typename T1,
typename T2>
150 typedef typename T1::elem_type eT;
174 if( (&out != &A) && (&out != &B) )
arma_inline subview_cube< eT > slices(const uword in_slice1, const uword in_slice2)
creation of subview_cube (subcube comprised of specified slices)
void set_size(const uword in_elem)
change the matrix to have user specified dimensions (data is not preserved)
arma_inline subview< eT > submat(const uword in_row1, const uword in_col1, const uword in_row2, const uword in_col2)
creation of subview (submatrix)
static void apply(Mat< typename T1::elem_type > &out, const Glue< T1, T2, glue_join > &X)
void set_size(const uword in_rows, const uword in_cols, const uword in_slices)
change the cube to have user specified dimensions (data is not preserved)
const uword n_cols
number of columns in the matrix (read-only)
const uword n_elem
number of elements in the matrix (read-only)
arma_inline const Op< T1, op_max > max(const Base< typename T1::elem_type, T1 > &X, const uword dim=0)
Delayed 'maximum values' operation. The dimension, along which the maxima are found, is set via 'dim'. For dim = 0, the maximum value of each column is found (i.e. searches by traversing across rows). For dim = 1, the maximum value of each row is found (i.e. searches by traversing across columns). The default is dim = 0.
const uword n_rows
number of rows in the matrix (read-only)
const uword n_cols
number of columns in each slice (read-only)
const T1 & A
first operand
const T2 & B
second operand
#define arma_extra_debug_sigprint
const uword n_elem
number of elements in the cube (read-only)
const T2 & B
second operand
const T1 & A
first operand
uword aux_uword
storage of auxiliary data, uword format
analog of the Glue class, intended for Cube objects
arma_inline arma_warn_unused bool is_empty() const
returns true if the matrix has no elements
const uword n_slices
number of slices in the cube (read-only)
const uword n_rows
number of rows in each slice (read-only)