Mat< eT > Class Template Reference
[Mat]

Dense matrix class. More...

#include <Mat_proto.hpp>

Inheritance diagram for Mat< eT >:

Base< eT, Mat< eT > >

List of all members.

Public Types

typedef eT elem_type
 the type of elements stored in the matrix
typedef get_pod_type
< elem_type >::pod_type 
pod_type
 if eT is std::complex, pod_type is the underlying type used by std::complex. < otherwise pod_type is the same as elem_type

Public Member Functions

 ~Mat ()
 Mat ()
 Mat (const u32 in_rows, const u32 in_cols)
void set_size (const u32 in_rows, const u32 in_cols)
 Mat (const char *text)
const Matoperator= (const char *text)
 Mat (const std::string &text)
const Matoperator= (const std::string &text)
 Mat (const eT *aux_mem, const u32 aux_n_rows, const u32 aux_n_cols)
arma_inline const Matoperator= (const eT val)
arma_inline const Matoperator+= (const eT val)
arma_inline const Matoperator-= (const eT val)
arma_inline const Matoperator*= (const eT val)
arma_inline const Matoperator/= (const eT val)
 Mat (const Mat &m)
const Matoperator= (const Mat &m)
const Matoperator+= (const Mat &m)
const Matoperator-= (const Mat &m)
const Matoperator*= (const Mat &m)
const Matoperator%= (const Mat &m)
const Matoperator/= (const Mat &m)
template<typename T1 , typename T2 >
 Mat (const Base< pod_type, T1 > &A, const Base< pod_type, T2 > &B)
 Mat (const subview< eT > &X)
const Matoperator= (const subview< eT > &X)
const Matoperator+= (const subview< eT > &X)
const Matoperator-= (const subview< eT > &X)
const Matoperator*= (const subview< eT > &X)
const Matoperator%= (const subview< eT > &X)
const Matoperator/= (const subview< eT > &X)
 Mat (const diagview< eT > &X)
const Matoperator= (const diagview< eT > &X)
arma_inline subview_row< eT > row (const u32 row_num)
arma_inline const subview_row< eT > row (const u32 row_num) const
arma_inline subview_col< eT > col (const u32 col_num)
arma_inline const subview_col< eT > col (const u32 col_num) const
arma_inline subview< eT > rows (const u32 in_row1, const u32 in_row2)
arma_inline const subview< eT > rows (const u32 in_row1, const u32 in_row2) const
arma_inline subview< eT > cols (const u32 in_col1, const u32 in_col2)
arma_inline const subview< eT > cols (const u32 in_col1, const u32 in_col2) const
arma_inline subview< eT > submat (const u32 in_row1, const u32 in_col1, const u32 in_row2, const u32 in_col2)
arma_inline const subview< eT > submat (const u32 in_row1, const u32 in_col1, const u32 in_row2, const u32 in_col2) const
arma_inline diagview< eT > diag (const s32 in_id=0)
arma_inline const diagview< eT > diag (const s32 in_id=0) const
void swap_rows (const u32 in_row1, const u32 in_row2)
void swap_cols (const u32 in_col1, const u32 in_col2)
template<typename T1 , typename op_type >
 Mat (const Op< T1, op_type > &X)
template<typename T1 , typename op_type >
const Matoperator= (const Op< T1, op_type > &X)
template<typename T1 , typename op_type >
const Matoperator+= (const Op< T1, op_type > &X)
template<typename T1 , typename op_type >
const Matoperator-= (const Op< T1, op_type > &X)
template<typename T1 , typename op_type >
const Matoperator*= (const Op< T1, op_type > &X)
template<typename T1 , typename op_type >
const Matoperator%= (const Op< T1, op_type > &X)
template<typename T1 , typename op_type >
const Matoperator/= (const Op< T1, op_type > &X)
template<typename T1 , typename T2 , typename glue_type >
 Mat (const Glue< T1, T2, glue_type > &X)
template<typename T1 , typename T2 , typename glue_type >
const Matoperator= (const Glue< T1, T2, glue_type > &X)
template<typename T1 , typename T2 , typename glue_type >
const Matoperator+= (const Glue< T1, T2, glue_type > &X)
template<typename T1 , typename T2 , typename glue_type >
const Matoperator-= (const Glue< T1, T2, glue_type > &X)
template<typename T1 , typename T2 , typename glue_type >
const Matoperator*= (const Glue< T1, T2, glue_type > &X)
template<typename T1 , typename T2 , typename glue_type >
const Matoperator%= (const Glue< T1, T2, glue_type > &X)
template<typename T1 , typename T2 , typename glue_type >
const Matoperator/= (const Glue< T1, T2, glue_type > &X)
arma_inline eT & operator[] (const u32 i)
arma_inline eT operator[] (const u32 i) const
arma_inline eT & operator() (const u32 i)
arma_inline eT operator() (const u32 i) const
arma_inline eT & at (const u32 in_row, const u32 in_col)
arma_inline eT at (const u32 in_row, const u32 in_col) const
arma_inline eT & operator() (const u32 in_row, const u32 in_col)
arma_inline eT operator() (const u32 in_row, const u32 in_col) const
arma_inline const Matoperator++ ()
arma_inline void operator++ (int)
arma_inline const Matoperator-- ()
arma_inline void operator-- (int)
arma_inline bool is_vec () const
arma_inline bool is_square () const
arma_inline bool is_finite () const
arma_inline eT * colptr (const u32 in_col)
arma_inline const eT * colptr (const u32 in_col) const
arma_inline eT * memptr ()
arma_inline const eT * memptr () const
void print (const std::string extra_text="") const
void fill (const eT val)
void zeros ()
void zeros (const u32 in_rows, const u32 in_cols)
void reset ()
void save (const std::string name, const file_type type=arma_binary) const
void load (const std::string name, const file_type type=auto_detect)

Public Attributes

const u32 n_rows
 number of rows in the matrix (read-only)
const u32 n_cols
 number of columns in the matrix (read-only)
const u32 n_elem
 number of elements in the matrix (read-only)
arma_aligned const eT *const mem
 pointer to memory used by the matrix (memory is read-only)

Protected Member Functions

void init (const u32 in_rows, const u32 in_cols)
void init (const std::string &text)
void init (const Mat &x)

Protected Attributes

arma_aligned eT mem_local [16]


Detailed Description

template<typename eT>
class Mat< eT >

Dense matrix class.

Definition at line 22 of file Mat_proto.hpp.


Member Typedef Documentation

template<typename eT>
typedef eT Mat< eT >::elem_type

the type of elements stored in the matrix

Reimplemented in Col< eT >, and Row< eT >.

Definition at line 26 of file Mat_proto.hpp.

template<typename eT>
typedef get_pod_type<elem_type>::pod_type Mat< eT >::pod_type

if eT is std::complex, pod_type is the underlying type used by std::complex. < otherwise pod_type is the same as elem_type

Reimplemented in Col< eT >, and Row< eT >.

Definition at line 29 of file Mat_proto.hpp.


Constructor & Destructor Documentation

template<typename eT>
Mat< eT >::~Mat (  )  [inline]

template<typename eT>
Mat< eT >::Mat (  )  [inline]

template<typename eT>
Mat< eT >::Mat ( const u32  in_rows,
const u32  in_cols 
) [inline]

template<typename eT>
Mat< eT >::Mat ( const char *  text  )  [inline]

template<typename eT>
Mat< eT >::Mat ( const std::string &  text  )  [inline]

template<typename eT>
Mat< eT >::Mat ( const eT *  aux_mem,
const u32  aux_n_rows,
const u32  aux_n_cols 
) [inline]

template<typename eT>
Mat< eT >::Mat ( const Mat< eT > &  m  )  [inline]

template<typename eT>
template<typename T1 , typename T2 >
Mat< eT >::Mat ( const Base< pod_type, T1 > &  A,
const Base< pod_type, T2 > &  B 
) [inline, explicit]

template<typename eT>
Mat< eT >::Mat ( const subview< eT > &  X  )  [inline]

template<typename eT>
Mat< eT >::Mat ( const diagview< eT > &  X  )  [inline]

template<typename eT>
template<typename T1 , typename op_type >
Mat< eT >::Mat ( const Op< T1, op_type > &  X  )  [inline]

template<typename eT>
template<typename T1 , typename T2 , typename glue_type >
Mat< eT >::Mat ( const Glue< T1, T2, glue_type > &  X  )  [inline]


Member Function Documentation

template<typename eT>
void Mat< eT >::set_size ( const u32  in_rows,
const u32  in_cols 
) [inline]

Reimplemented in Col< eT >, and Row< eT >.

Referenced by op_var::apply(), op_atanh::apply(), op_tanh::apply(), op_atan::apply(), op_tan::apply(), op_asinh::apply(), op_sinh::apply(), op_asin::apply(), op_sin::apply(), op_acosh::apply(), op_cosh::apply(), op_acos::apply(), op_cos::apply(), op_trans::apply(), op_sum::apply(), op_stddev::apply(), op_sort::apply(), op_scalar_div_post::apply(), op_scalar_div_pre::apply(), op_scalar_times::apply(), op_scalar_minus_post::apply(), op_scalar_minus_pre::apply(), op_scalar_plus::apply(), op_randn::apply(), op_rand::apply(), op_ones_full::apply(), op_neg::apply(), op_conj::apply(), op_pow_s32::apply(), op_pow::apply(), op_square::apply(), op_sqrt::apply(), op_trunc_exp::apply(), op_exp::apply(), op_log10::apply(), op_trunc_log::apply(), op_log::apply(), op_min::apply(), op_median::apply(), op_mean::apply(), op_max::apply(), op_diagmat::apply(), glue_times_vec::apply(), glue_times_diag::apply(), glue_times::apply(), glue_schur::apply(), glue_plus_diag::apply(), glue_plus::apply(), glue_minus_diag::apply(), glue_minus::apply(), glue_div::apply(), glue_plus::apply_mixed(), op_trans::apply_noalias(), glue_times::apply_noalias(), eig_gen(), auxlib::eig_gen(), subview< eT >::extract(), diagview< eT >::extract(), Mat< eT >::init(), auxlib::inv_noalias(), linspace(), diskio::load_arma_ascii(), diskio::load_arma_binary(), diskio::load_field_ppm_binary(), diskio::load_pgm_binary(), diskio::load_raw_ascii(), auxlib::lu(), auxlib::qr(), reshape(), auxlib::solve_od(), auxlib::solve_ud(), auxlib::svd(), and Mat< eT >::zeros().

template<typename eT>
const Mat& Mat< eT >::operator= ( const char *  text  )  [inline]

Reimplemented in Col< eT >, and Row< eT >.

Referenced by Mat< eT >::Mat().

template<typename eT>
const Mat& Mat< eT >::operator= ( const std::string &  text  )  [inline]

template<typename eT>
arma_inline const Mat& Mat< eT >::operator= ( const eT  val  ) 

template<typename eT>
arma_inline const Mat& Mat< eT >::operator+= ( const eT  val  ) 

template<typename eT>
arma_inline const Mat& Mat< eT >::operator-= ( const eT  val  ) 

template<typename eT>
arma_inline const Mat& Mat< eT >::operator*= ( const eT  val  ) 

template<typename eT>
arma_inline const Mat& Mat< eT >::operator/= ( const eT  val  ) 

template<typename eT>
const Mat& Mat< eT >::operator= ( const Mat< eT > &  m  )  [inline]

Reimplemented in Col< eT >, and Row< eT >.

template<typename eT>
const Mat& Mat< eT >::operator+= ( const Mat< eT > &  m  )  [inline]

template<typename eT>
const Mat& Mat< eT >::operator-= ( const Mat< eT > &  m  )  [inline]

template<typename eT>
const Mat& Mat< eT >::operator*= ( const Mat< eT > &  m  )  [inline]

Reimplemented in Col< eT >, and Row< eT >.

template<typename eT>
const Mat& Mat< eT >::operator%= ( const Mat< eT > &  m  )  [inline]

template<typename eT>
const Mat& Mat< eT >::operator/= ( const Mat< eT > &  m  )  [inline]

template<typename eT>
const Mat& Mat< eT >::operator= ( const subview< eT > &  X  )  [inline]

Reimplemented in Col< eT >, and Row< eT >.

template<typename eT>
const Mat& Mat< eT >::operator+= ( const subview< eT > &  X  )  [inline]

template<typename eT>
const Mat& Mat< eT >::operator-= ( const subview< eT > &  X  )  [inline]

template<typename eT>
const Mat& Mat< eT >::operator*= ( const subview< eT > &  X  )  [inline]

Reimplemented in Col< eT >, and Row< eT >.

template<typename eT>
const Mat& Mat< eT >::operator%= ( const subview< eT > &  X  )  [inline]

template<typename eT>
const Mat& Mat< eT >::operator/= ( const subview< eT > &  X  )  [inline]

template<typename eT>
const Mat& Mat< eT >::operator= ( const diagview< eT > &  X  )  [inline]

Reimplemented in Col< eT >, and Row< eT >.

template<typename eT>
arma_inline subview_row<eT> Mat< eT >::row ( const u32  row_num  ) 

template<typename eT>
arma_inline const subview_row<eT> Mat< eT >::row ( const u32  row_num  )  const

template<typename eT>
arma_inline subview_col<eT> Mat< eT >::col ( const u32  col_num  ) 

template<typename eT>
arma_inline const subview_col<eT> Mat< eT >::col ( const u32  col_num  )  const

template<typename eT>
arma_inline subview<eT> Mat< eT >::rows ( const u32  in_row1,
const u32  in_row2 
)

template<typename eT>
arma_inline const subview<eT> Mat< eT >::rows ( const u32  in_row1,
const u32  in_row2 
) const

template<typename eT>
arma_inline subview<eT> Mat< eT >::cols ( const u32  in_col1,
const u32  in_col2 
)

template<typename eT>
arma_inline const subview<eT> Mat< eT >::cols ( const u32  in_col1,
const u32  in_col2 
) const

template<typename eT>
arma_inline subview<eT> Mat< eT >::submat ( const u32  in_row1,
const u32  in_col1,
const u32  in_row2,
const u32  in_col2 
)

template<typename eT>
arma_inline const subview<eT> Mat< eT >::submat ( const u32  in_row1,
const u32  in_col1,
const u32  in_row2,
const u32  in_col2 
) const

template<typename eT>
arma_inline diagview<eT> Mat< eT >::diag ( const s32  in_id = 0  ) 

template<typename eT>
arma_inline const diagview<eT> Mat< eT >::diag ( const s32  in_id = 0  )  const

template<typename eT>
void Mat< eT >::swap_rows ( const u32  in_row1,
const u32  in_row2 
) [inline]

Referenced by auxlib::lu().

template<typename eT>
void Mat< eT >::swap_cols ( const u32  in_col1,
const u32  in_col2 
) [inline]

template<typename eT>
template<typename T1 , typename op_type >
const Mat& Mat< eT >::operator= ( const Op< T1, op_type > &  X  )  [inline]

Reimplemented in Col< eT >, and Row< eT >.

template<typename eT>
template<typename T1 , typename op_type >
const Mat& Mat< eT >::operator+= ( const Op< T1, op_type > &  X  )  [inline]

template<typename eT>
template<typename T1 , typename op_type >
const Mat& Mat< eT >::operator-= ( const Op< T1, op_type > &  X  )  [inline]

template<typename eT>
template<typename T1 , typename op_type >
const Mat& Mat< eT >::operator*= ( const Op< T1, op_type > &  X  )  [inline]

Reimplemented in Col< eT >, and Row< eT >.

template<typename eT>
template<typename T1 , typename op_type >
const Mat& Mat< eT >::operator%= ( const Op< T1, op_type > &  X  )  [inline]

template<typename eT>
template<typename T1 , typename op_type >
const Mat& Mat< eT >::operator/= ( const Op< T1, op_type > &  X  )  [inline]

template<typename eT>
template<typename T1 , typename T2 , typename glue_type >
const Mat& Mat< eT >::operator= ( const Glue< T1, T2, glue_type > &  X  )  [inline]

Reimplemented in Col< eT >, and Row< eT >.

template<typename eT>
template<typename T1 , typename T2 , typename glue_type >
const Mat& Mat< eT >::operator+= ( const Glue< T1, T2, glue_type > &  X  )  [inline]

template<typename eT>
template<typename T1 , typename T2 , typename glue_type >
const Mat& Mat< eT >::operator-= ( const Glue< T1, T2, glue_type > &  X  )  [inline]

template<typename eT>
template<typename T1 , typename T2 , typename glue_type >
const Mat& Mat< eT >::operator*= ( const Glue< T1, T2, glue_type > &  X  )  [inline]

Reimplemented in Col< eT >, and Row< eT >.

template<typename eT>
template<typename T1 , typename T2 , typename glue_type >
const Mat& Mat< eT >::operator%= ( const Glue< T1, T2, glue_type > &  X  )  [inline]

template<typename eT>
template<typename T1 , typename T2 , typename glue_type >
const Mat& Mat< eT >::operator/= ( const Glue< T1, T2, glue_type > &  X  )  [inline]

template<typename eT>
arma_inline eT& Mat< eT >::operator[] ( const u32  i  ) 

template<typename eT>
arma_inline eT Mat< eT >::operator[] ( const u32  i  )  const

template<typename eT>
arma_inline eT& Mat< eT >::operator() ( const u32  i  ) 

template<typename eT>
arma_inline eT Mat< eT >::operator() ( const u32  i  )  const

template<typename eT>
arma_inline eT& Mat< eT >::at ( const u32  in_row,
const u32  in_col 
)

Referenced by accu(), op_var::apply(), op_trans::apply(), op_sum::apply(), op_stddev::apply(), op_sort::apply(), op_ones_diag::apply(), op_min::apply(), op_median::apply(), op_mean::apply(), op_max::apply(), op_inv::apply(), op_diagmat_vec::apply(), op_diagmat::apply(), glue_times_diag::apply(), glue_times::apply(), glue_schur_diag::apply(), glue_plus_diag::apply(), glue_plus::apply(), glue_minus_diag::apply(), gemv_arma< do_trans_A, use_alpha, use_beta >::apply(), gemm_mixed_simple< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm_mixed_cache< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm_emul_simple< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm_emul_cache< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), op_inv::apply_diagvec(), glue_times::apply_inplace(), op_trans::apply_noalias(), det(), auxlib::det(), diagmat(), glue_times::direct_rowvec_diagmat_colvec(), glue_times::direct_rowvec_invdiagmat_colvec(), glue_times::direct_rowvec_mat_colvec(), eig_gen(), diagview< eT >::extract(), diagview< eT >::fill(), Mat< eT >::init(), auxlib::inv_inplace(), auxlib::inv_noalias(), diskio::load_arma_ascii(), diskio::load_field_ppm_binary(), diskio::load_pgm_binary(), diskio::load_raw_ascii(), auxlib::lu(), diagview< eT >::operator()(), operator*(), operator/(), operator<<(), diagview< eT >::operator=(), diagview< eT >::operator[](), auxlib::qr(), diskio::save_arma_ascii(), diskio::save_field_ppm_binary(), diskio::save_raw_ascii(), trace(), and diagview< eT >::zeros().

template<typename eT>
arma_inline eT Mat< eT >::at ( const u32  in_row,
const u32  in_col 
) const

template<typename eT>
arma_inline eT& Mat< eT >::operator() ( const u32  in_row,
const u32  in_col 
)

template<typename eT>
arma_inline eT Mat< eT >::operator() ( const u32  in_row,
const u32  in_col 
) const

template<typename eT>
arma_inline const Mat& Mat< eT >::operator++ (  ) 

template<typename eT>
arma_inline void Mat< eT >::operator++ ( int   ) 

template<typename eT>
arma_inline const Mat& Mat< eT >::operator-- (  ) 

template<typename eT>
arma_inline void Mat< eT >::operator-- ( int   ) 

template<typename eT>
arma_inline bool Mat< eT >::is_vec (  )  const

template<typename eT>
arma_inline bool Mat< eT >::is_square (  )  const

template<typename eT>
arma_inline bool Mat< eT >::is_finite (  )  const

template<typename eT>
arma_inline eT* Mat< eT >::colptr ( const u32  in_col  ) 

template<typename eT>
arma_inline const eT* Mat< eT >::colptr ( const u32  in_col  )  const

template<typename eT>
arma_inline eT* Mat< eT >::memptr (  ) 

Referenced by abs(), op_atanh::apply(), op_tanh::apply(), op_atan::apply(), op_tan::apply(), op_asinh::apply(), op_sinh::apply(), op_asin::apply(), op_sin::apply(), op_acosh::apply(), op_cosh::apply(), op_acos::apply(), op_cos::apply(), op_sort::apply(), op_scalar_div_post::apply(), op_scalar_div_pre::apply(), op_scalar_times::apply(), op_scalar_minus_post::apply(), op_scalar_minus_pre::apply(), op_scalar_plus::apply(), op_randn::apply(), op_rand::apply(), op_neg::apply(), op_conj::apply(), op_pow_s32::apply(), op_pow::apply(), op_square::apply(), op_sqrt::apply(), op_trunc_exp::apply(), op_exp::apply(), op_log10::apply(), op_trunc_log::apply(), op_log::apply(), glue_times_vec::apply(), glue_schur::apply(), glue_plus::apply(), glue_minus::apply(), gemm< do_trans_A, do_trans_B, use_alpha, use_beta >::apply_blas_type(), glue_plus::apply_inplace(), glue_minus::apply_inplace(), glue_plus::apply_mixed(), op_trans::apply_noalias(), auxlib::chol(), auxlib::det(), subview< eT >::div_inplace(), auxlib::eig_gen(), auxlib::eig_sym(), diagview< eT >::extract(), conv_to< Mat< out_eT > >::from(), imag(), Mat< eT >::init(), auxlib::inv_inplace(), auxlib::inv_noalias(), diskio::load_arma_binary(), auxlib::lu(), Mat< eT >::Mat(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), subview< eT >::plus_inplace(), Mat_aux::postfix_mm(), Mat_aux::postfix_pp(), Mat_aux::prefix_mm(), Mat_aux::prefix_pp(), auxlib::qr(), real(), reshape(), subview< eT >::schur_inplace(), auxlib::solve(), auxlib::solve_od(), auxlib::solve_ud(), and auxlib::svd().

template<typename eT>
arma_inline const eT* Mat< eT >::memptr (  )  const

template<typename eT>
void Mat< eT >::print ( const std::string  extra_text = ""  )  const [inline]

template<typename eT>
void Mat< eT >::fill ( const eT  val  )  [inline]

template<typename eT>
void Mat< eT >::zeros (  )  [inline]

template<typename eT>
void Mat< eT >::zeros ( const u32  in_rows,
const u32  in_cols 
) [inline]

Reimplemented in Col< eT >, and Row< eT >.

template<typename eT>
void Mat< eT >::reset (  )  [inline]

template<typename eT>
void Mat< eT >::save ( const std::string  name,
const file_type  type = arma_binary 
) const [inline]

template<typename eT>
void Mat< eT >::load ( const std::string  name,
const file_type  type = auto_detect 
) [inline]

Reimplemented in Col< eT >, and Row< eT >.

Referenced by diskio::load_pgm_binary().

template<typename eT>
void Mat< eT >::init ( const u32  in_rows,
const u32  in_cols 
) [inline, protected]

template<typename eT>
void Mat< eT >::init ( const std::string &  text  )  [inline, protected]

template<typename eT>
void Mat< eT >::init ( const Mat< eT > &  x  )  [inline, protected]


Member Data Documentation

template<typename eT>
const u32 Mat< eT >::n_rows

number of rows in the matrix (read-only)

Definition at line 33 of file Mat_proto.hpp.

Referenced by abs(), accu(), op_var::apply(), op_atanh::apply(), op_tanh::apply(), op_atan::apply(), op_tan::apply(), op_asinh::apply(), op_sinh::apply(), op_asin::apply(), op_sin::apply(), op_acosh::apply(), op_cosh::apply(), op_acos::apply(), op_cos::apply(), op_trans::apply(), op_sum::apply(), op_stddev::apply(), op_sort::apply(), op_scalar_div_post::apply(), op_scalar_div_pre::apply(), op_scalar_times::apply(), op_scalar_minus_post::apply(), op_scalar_minus_pre::apply(), op_scalar_plus::apply(), op_ones_diag::apply(), op_neg::apply(), op_conj::apply(), op_pow_s32::apply(), op_pow::apply(), op_square::apply(), op_sqrt::apply(), op_trunc_exp::apply(), op_exp::apply(), op_log10::apply(), op_trunc_log::apply(), op_log::apply(), op_min::apply(), op_median::apply(), op_mean::apply(), op_max::apply(), op_inv::apply(), op_diagmat::apply(), glue_times_vec::apply(), glue_times_diag::apply(), glue_times::apply(), glue_schur_diag::apply(), glue_schur::apply(), glue_plus_diag::apply(), glue_plus::apply(), glue_minus_diag::apply(), glue_minus::apply(), glue_div::apply(), gemv< do_trans_A, use_alpha, use_beta >::apply(), gemv_arma< do_trans_A, use_alpha, use_beta >::apply(), gemm_mixed_simple< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm_mixed_cache< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm_emul_simple< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm_emul_cache< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm< do_trans_A, do_trans_B, use_alpha, use_beta >::apply_blas_type(), glue_times::apply_inplace(), glue_plus::apply_inplace(), glue_times::apply_mixed(), glue_schur::apply_mixed(), glue_plus::apply_mixed(), glue_minus::apply_mixed(), glue_div::apply_mixed(), op_trans::apply_noalias(), glue_times::apply_noalias(), arma_assert_mul_size(), arma_assert_same_size(), Mat< eT >::at(), auxlib::chol(), Mat< eT >::colptr(), Mat< eT >::cols(), det(), auxlib::det(), Mat< eT >::diag(), glue_times::direct_rowvec_diagmat_colvec(), glue_times::direct_rowvec_invdiagmat_colvec(), glue_times::direct_rowvec_mat_colvec(), subview< eT >::div_inplace(), auxlib::eig_gen(), auxlib::eig_sym(), subview< eT >::extract(), Mat< eT >::init(), auxlib::inv_inplace(), auxlib::inv_noalias(), Mat< eT >::is_square(), Mat< eT >::is_vec(), diskio::load_arma_ascii(), diskio::load_raw_ascii(), auxlib::lu(), subview< eT >::minus_inplace(), glue_times_vec::mul_col_row(), glue_times::mul_storage_cost(), norm(), Mat< eT >::operator()(), operator*(), operator/(), operator<<(), subview< eT >::plus_inplace(), auxlib::qr(), reshape(), Mat< eT >::row(), Mat< eT >::rows(), diskio::save_arma_ascii(), diskio::save_arma_binary(), diskio::save_field_ppm_binary(), diskio::save_pgm_binary(), diskio::save_raw_ascii(), subview< eT >::schur_inplace(), solve(), auxlib::solve(), auxlib::solve_od(), auxlib::solve_ud(), Mat< eT >::submat(), auxlib::svd(), Mat< eT >::swap_cols(), Mat< eT >::swap_rows(), trace(), and op_diagmat::zero_offdiag().

template<typename eT>
const u32 Mat< eT >::n_cols

number of columns in the matrix (read-only)

Definition at line 34 of file Mat_proto.hpp.

Referenced by abs(), accu(), op_var::apply(), op_atanh::apply(), op_tanh::apply(), op_atan::apply(), op_tan::apply(), op_asinh::apply(), op_sinh::apply(), op_asin::apply(), op_sin::apply(), op_acosh::apply(), op_cosh::apply(), op_acos::apply(), op_cos::apply(), op_trans::apply(), op_sum::apply(), op_stddev::apply(), op_sort::apply(), op_scalar_div_post::apply(), op_scalar_div_pre::apply(), op_scalar_times::apply(), op_scalar_minus_post::apply(), op_scalar_minus_pre::apply(), op_scalar_plus::apply(), op_neg::apply(), op_conj::apply(), op_pow_s32::apply(), op_pow::apply(), op_square::apply(), op_sqrt::apply(), op_trunc_exp::apply(), op_exp::apply(), op_log10::apply(), op_trunc_log::apply(), op_log::apply(), op_min::apply(), op_median::apply(), op_mean::apply(), op_max::apply(), op_diagmat::apply(), glue_times_vec::apply(), glue_times_diag::apply(), glue_times::apply(), glue_schur_diag::apply(), glue_schur::apply(), glue_plus_diag::apply(), glue_plus::apply(), glue_minus_diag::apply(), glue_minus::apply(), glue_div::apply(), gemv< do_trans_A, use_alpha, use_beta >::apply(), gemv_arma< do_trans_A, use_alpha, use_beta >::apply(), gemm_mixed_simple< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm_mixed_cache< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm_emul_simple< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm_emul_cache< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm< do_trans_A, do_trans_B, use_alpha, use_beta >::apply_blas_type(), glue_times::apply_inplace(), glue_plus::apply_inplace(), glue_times::apply_mixed(), glue_schur::apply_mixed(), glue_plus::apply_mixed(), glue_minus::apply_mixed(), glue_div::apply_mixed(), op_trans::apply_noalias(), glue_times::apply_noalias(), arma_assert_mul_size(), arma_assert_same_size(), Mat< eT >::col(), Mat< eT >::cols(), det(), auxlib::det(), Mat< eT >::diag(), glue_times::direct_rowvec_mat_colvec(), subview< eT >::div_inplace(), auxlib::eig_gen(), auxlib::eig_sym(), subview< eT >::extract(), Mat< eT >::init(), auxlib::inv_inplace(), auxlib::inv_noalias(), Mat< eT >::is_square(), Mat< eT >::is_vec(), diskio::load_arma_ascii(), diskio::load_raw_ascii(), auxlib::lu(), subview< eT >::minus_inplace(), glue_times_vec::mul_col_row(), glue_times::mul_storage_cost(), norm(), Mat< eT >::operator()(), operator*(), operator<<(), subview< eT >::plus_inplace(), auxlib::qr(), reshape(), Mat< eT >::rows(), diskio::save_arma_ascii(), diskio::save_arma_binary(), diskio::save_field_ppm_binary(), diskio::save_pgm_binary(), diskio::save_raw_ascii(), subview< eT >::schur_inplace(), auxlib::solve(), auxlib::solve_od(), auxlib::solve_ud(), Mat< eT >::submat(), auxlib::svd(), Mat< eT >::swap_cols(), Mat< eT >::swap_rows(), trace(), and op_diagmat::zero_offdiag().

template<typename eT>
const u32 Mat< eT >::n_elem

number of elements in the matrix (read-only)

Definition at line 35 of file Mat_proto.hpp.

Referenced by abs(), accu(), accu_schur(), op_var::apply(), op_atanh::apply(), op_tanh::apply(), op_atan::apply(), op_tan::apply(), op_asinh::apply(), op_sinh::apply(), op_asin::apply(), op_sin::apply(), op_acosh::apply(), op_cosh::apply(), op_acos::apply(), op_cos::apply(), op_trans::apply(), op_stddev::apply(), op_sort::apply(), op_scalar_div_post::apply(), op_scalar_div_pre::apply(), op_scalar_times::apply(), op_scalar_minus_post::apply(), op_scalar_minus_pre::apply(), op_scalar_plus::apply(), op_randn::apply(), op_rand::apply(), op_neg::apply(), op_conj::apply(), op_pow_s32::apply(), op_pow::apply(), op_square::apply(), op_sqrt::apply(), op_trunc_exp::apply(), op_exp::apply(), op_log10::apply(), op_trunc_log::apply(), op_log::apply(), op_min::apply(), op_median::apply(), op_mean::apply(), op_max::apply(), op_diagmat_vec::apply(), glue_times::apply(), glue_schur::apply(), glue_plus::apply(), glue_minus::apply(), glue_div::apply(), gemv< do_trans_A, use_alpha, use_beta >::apply(), gemm_mixed< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm< do_trans_A, do_trans_B, use_alpha, use_beta >::apply_blas_type(), op_inv::apply_diagvec(), glue_schur::apply_inplace(), glue_plus::apply_inplace(), glue_minus::apply_inplace(), glue_div::apply_inplace(), glue_plus::apply_mixed(), op_trans::apply_noalias(), det(), glue_times::direct_rowvec_invdiagvec_colvec(), subview< eT >::div_inplace(), Mat< eT >::fill(), conv_to< Mat< out_eT > >::from(), conv_to< out_eT >::from(), imag(), Mat< eT >::init(), Mat< eT >::is_finite(), Mat< eT >::is_square(), diskio::load_arma_binary(), diskio::load_field_ppm_binary(), diskio::load_pgm_binary(), Mat< eT >::Mat(), max(), mean(), min(), norm(), Mat< eT >::operator()(), operator*(), Mat< eT >::operator*=(), Mat< eT >::operator+=(), Mat< eT >::operator-=(), Mat< eT >::operator/=(), subview< eT >::plus_inplace(), Mat_aux::postfix_mm(), Mat_aux::postfix_pp(), Mat_aux::prefix_mm(), Mat_aux::prefix_pp(), auxlib::qr(), real(), diskio::save_arma_binary(), diskio::save_field_ppm_binary(), diskio::save_pgm_binary(), subview< eT >::schur_inplace(), arma_ostream::set_flags(), and Mat< eT >::~Mat().

template<typename eT>
arma_aligned const eT* const Mat< eT >::mem

pointer to memory used by the matrix (memory is read-only)

Definition at line 37 of file Mat_proto.hpp.

Referenced by abs(), accu(), accu_schur(), op_atanh::apply(), op_tanh::apply(), op_atan::apply(), op_tan::apply(), op_asinh::apply(), op_sinh::apply(), op_asin::apply(), op_sin::apply(), op_acosh::apply(), op_cosh::apply(), op_acos::apply(), op_cos::apply(), op_scalar_div_post::apply(), op_scalar_div_pre::apply(), op_scalar_times::apply(), op_scalar_minus_post::apply(), op_scalar_minus_pre::apply(), op_scalar_plus::apply(), op_neg::apply(), op_conj::apply(), op_pow_s32::apply(), op_pow::apply(), op_square::apply(), op_sqrt::apply(), op_trunc_exp::apply(), op_exp::apply(), op_log10::apply(), op_trunc_log::apply(), op_log::apply(), op_diagmat_vec::apply(), glue_times_vec::apply(), glue_schur::apply(), glue_plus::apply(), glue_minus::apply(), glue_div::apply(), gemv< do_trans_A, use_alpha, use_beta >::apply(), gemm< do_trans_A, do_trans_B, use_alpha, use_beta >::apply_blas_type(), op_inv::apply_diagvec(), glue_schur::apply_inplace(), glue_plus::apply_inplace(), glue_minus::apply_inplace(), glue_div::apply_inplace(), glue_schur::apply_mixed(), glue_plus::apply_mixed(), glue_minus::apply_mixed(), glue_div::apply_mixed(), op_trans::apply_noalias(), Mat< eT >::at(), Mat< eT >::colptr(), det(), glue_times::direct_rowvec_invdiagvec_colvec(), Mat< eT >::fill(), conv_to< out_eT >::from(), Mat< eT >::init(), Mat< eT >::is_finite(), max(), mean(), Mat< eT >::memptr(), min(), norm(), operator!=(), Mat< eT >::operator()(), operator*(), Mat< eT >::operator*=(), Mat< eT >::operator+=(), Mat< eT >::operator-=(), Mat< eT >::operator/=(), operator<(), operator<<(), operator<=(), Mat< eT >::operator=(), operator==(), operator>(), operator>=(), Mat< eT >::operator[](), auxlib::qr(), diskio::save_arma_binary(), arma_ostream::set_flags(), Mat< eT >::swap_rows(), and Mat< eT >::~Mat().

template<typename eT>
arma_aligned eT Mat< eT >::mem_local[16] [protected]

Definition at line 40 of file Mat_proto.hpp.

Referenced by Mat< eT >::init(), and Mat< eT >::~Mat().