75 inline void fill(
const eT val);
90 inline eT
at(
const uword in_row,
const uword in_col)
const;
97 inline bool is_vec()
const;
172 template<
typename eT>
183 template<
typename T1>
213 template<
typename eT>
224 template<
typename T1>
static void extract(Mat< eT > &out, const subview &in)
X = Y.submat(...)
void operator/=(const eT val)
static void div_inplace(Mat< eT > &out, const subview &in)
X /= Y.submat(...)
get_pod_type< elem_type >::result pod_type
arma_aligned Mat< eT > * m_ptr
static void minus_inplace(Mat< eT > &out, const subview &in)
X -= Y.submat(...)
void operator-=(const eT val)
void operator%=(const Base< eT, T1 > &x)
void swap_rows(const uword in_row1, const uword in_row2)
void operator+=(const eT val)
Class for column vectors (matrices with only one column)
void swap_cols(const uword in_col1, const uword in_col2)
static void plus_inplace(Mat< eT > &out, const subview &in)
X += Y.submat(...)
eT & operator()(const uword i)
diagview< eT > diag(const sword in_id=0)
creation of diagview (diagonal)
arma_aligned const Mat< eT > & m
arma_inline eT * colptr(const uword in_col)
get_pod_type< elem_type >::result pod_type
get_pod_type< elem_type >::result pod_type
subview_row< eT > row(const uword row_num)
creation of subview (row vector)
static void schur_inplace(Mat< eT > &out, const subview &in)
X %= Y.submat(...)
subview< eT > submat(const uword in_row1, const uword in_col1, const uword in_row2, const uword in_col2)
creation of subview (submatrix)
bool check_overlap(const subview &x) const
Class for row vectors (matrices with only one row)
eT & at(const uword in_row, const uword in_col)
Col< eT > unsafe_col(const uword col_num)
eT & operator[](const uword i)
void operator=(const Base< eT, T1 > &x)
Class for storing data required to extract and set the diagonals of a matrix.
subview< eT > cols(const uword in_col1, const uword in_col2)
creation of subview (submatrix comprised of specified column vectors)
void operator*=(const eT val)
subview< eT > rows(const uword in_row1, const uword in_row2)
creation of subview (submatrix comprised of specified row vectors)
subview_col< eT > col(const uword col_num)
creation of subview (column vector)