33 for(
uword i=0; i<N; ++i)
44 for(
uword i=1; i<N; ++i)
62 typedef typename T1::elem_type eT;
79 for(
uword i=0; i<N; ++i)
81 const eT* A_data = A.
colptr(i);
82 eT* out_data = out.
colptr(i);
90 for(
uword i=0; i<N; ++i)
92 const eT* A_data = A.
colptr(i);
93 eT* out_data = out.
colptr(i);
105 template<
typename T1>
112 typedef typename T1::elem_type eT;
117 const bool upper = (in.aux_uword_a == 0);
124 template<
typename eT>
163 for(
uword row = 0; row < N; ++row)
165 eT* out_colptr = out.
colptr(row);
167 for(
uword col = 0; col <= row; ++col)
170 out_colptr[col] = A.
at(row, col);
178 for(
uword row = 0; row < N; ++row)
180 for(
uword col = row; col < N; ++col)
182 out.
at(col, row) = A.
at(row, col);
192 template<
typename eT>
219 for(
uword row = 0; row < N; ++row)
221 eT* out_colptr = out.
colptr(row);
223 for(
uword col = 0; col <= row; ++col)
234 for(
uword row = 0; row < N; ++row)
236 for(
uword col = row; col < N; ++col)
arma_hot static arma_inline void copy(eT *dest, const eT *src, const uword n_elem)
arma_inline const T1 & conj(const Base< typename T1::pod_type, T1 > &A)
const uword n_rows
number of rows in the matrix (read-only)
arma_aligned const T1 & m
storage of reference to the operand (eg. a matrix)
arma_inline arma_warn_unused eT * colptr(const uword in_col)
returns a pointer to array of eTs for a specified column; no bounds check
static arma_hot void inplace_set(eT *dest, const eT val, const uword n_elem)
arma_inline arma_warn_unused eT & at(const uword i)
linear element accessor (treats the matrix as a vector); no bounds check.
arma_inline arma_warn_unused bool is_square() const
returns true if the object has the same number of non-zero rows and columnns
#define arma_ignore(variable)
void copy_size(const Mat< eT2 > &m)
change the matrix (without preserving data) to have the same dimensions as the given matrix ...
static void fill_zeros(Mat< eT > &A, const bool upper)
#define arma_extra_debug_sigprint
static void apply_htrans(Mat< eT > &out, const Mat< eT > &A, const bool upper, const typename arma_not_cx< eT >::result *junk=0)
arma_aligned uword aux_uword_a
storage of auxiliary data, uword format
static void apply(Mat< typename T1::elem_type > &out, const Op< T1, op_trimat > &in)