26 typedef typename T1::pod_type T;
30 out.
set_size(A.get_n_rows(), A.get_n_cols());
35 for(
uword i=0; i<n_elem; ++i)
50 typedef typename T1::pod_type T;
54 out.
set_size(A.get_n_rows(), A.get_n_cols(), A.get_n_slices());
59 for(
uword i=0; i<n_elem; ++i)
74 typedef typename T1::pod_type T;
78 out.
set_size(A.get_n_rows(), A.get_n_cols());
83 for(
uword i=0; i<n_elem; ++i)
98 typedef typename T1::pod_type T;
102 out.
set_size(A.get_n_rows(), A.get_n_cols(), A.get_n_slices());
105 T* out_mem = out.
memptr();
107 for(
uword i=0; i<n_elem; ++i)
115 template<
typename T1>
122 typedef typename T1::pod_type T;
126 out.
set_size(A.get_n_rows(), A.get_n_cols());
129 T* out_mem = out.
memptr();
131 for(
uword i=0; i<n_elem; ++i)
139 template<
typename T1>
146 typedef typename T1::pod_type T;
150 out.
set_size(A.get_n_rows(), A.get_n_cols(), A.get_n_slices());
153 T* out_mem = out.
memptr();
155 for(
uword i=0; i<n_elem; ++i)
163 template<
typename T1>
arma_inline arma_warn_unused eT * memptr()
returns a pointer to array of eTs used by the matrix
void set_size(const uword in_elem)
change the matrix to have user specified dimensions (data is not preserved)
arma_aligned const T1 & m
storage of reference to the operand (eg. a matrix)
static void apply(Mat< typename T1::elem_type > &out, const Op< T1, op_sympd > &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)
static void apply(Mat< typename T1::pod_type > &out, const mtOp< typename T1::pod_type, T1, op_abs > &X)
const uword n_elem
number of elements in the matrix (read-only)
arma_aligned const T1 & m
storage of reference to the operand (eg. a matrix)
static void apply(Mat< typename T1::pod_type > &out, const mtOp< typename T1::pod_type, T1, op_imag > &X)
arma_inline arma_warn_unused eT * memptr()
returns a pointer to array of eTs used by the cube
arma_inline const T1 & real(const Base< typename T1::pod_type, T1 > &X)
arma_inline const eOp< T1, eop_abs > abs(const Base< typename T1::elem_type, T1 > &X, const typename arma_not_cx< typename T1::elem_type >::result *junk=0)
#define arma_extra_debug_sigprint
const uword n_elem
number of elements in the cube (read-only)
const Gen< typename T1::pod_type, gen_zeros > imag(const Base< typename T1::pod_type, T1 > &X)
static void apply(Mat< typename T1::pod_type > &out, const mtOp< typename T1::pod_type, T1, op_real > &X)
arma_aligned const T1 & m
storage of reference to the operand (eg. a matrix)