$search
Classes | |
class | Mat< eT > |
Dense matrix class. More... | |
class | Mat_aux |
Functions | |
arma_inline arma_warn_unused eT | Mat::fixed::at (const uword in_row, const uword in_col) const |
element accessor; no bounds check | |
arma_inline arma_warn_unused eT & | Mat::fixed::at (const uword in_row, const uword in_col) |
element accessor; no bounds check | |
arma_inline arma_warn_unused eT | Mat::fixed::at (const uword i) const |
linear element accessor (treats the matrix as a vector); no bounds check | |
arma_inline arma_warn_unused eT & | Mat::fixed::at (const uword i) |
linear element accessor (treats the matrix as a vector); no bounds check. | |
arma_inline arma_warn_unused eT | Mat::at (const uword in_row, const uword in_col) const |
element accessor; no bounds check | |
arma_inline arma_warn_unused eT & | Mat::at (const uword in_row, const uword in_col) |
element accessor; no bounds check | |
arma_inline arma_warn_unused eT | Mat::at (const uword i) const |
linear element accessor (treats the matrix as a vector); no bounds check | |
arma_inline arma_warn_unused eT & | Mat::at (const uword i) |
linear element accessor (treats the matrix as a vector); no bounds check. | |
const_iterator | Mat::begin () const |
iterator | Mat::begin () |
const_col_iterator | Mat::begin_col (const uword col_num) const |
col_iterator | Mat::begin_col (const uword col_num) |
const_row_iterator | Mat::begin_row (const uword row_num) const |
row_iterator | Mat::begin_row (const uword row_num) |
void | Mat::clear () |
resets this matrix to an empty matrix | |
arma_inline const subview_col< eT > | Mat::col (const uword col_num) const |
creation of subview (column vector) | |
arma_inline subview_col< eT > | Mat::col (const uword col_num) |
creation of subview (column vector) | |
arma_inline arma_warn_unused const eT * | Mat::colptr (const uword in_col) const |
returns a pointer to array of eTs for a specified column; no bounds check | |
arma_inline arma_warn_unused eT * | Mat::colptr (const uword in_col) |
returns a pointer to array of eTs for a specified column; no bounds check | |
arma_inline const subview< eT > | Mat::cols (const uword in_col1, const uword in_col2) const |
creation of subview (submatrix comprised of specified column vectors) | |
arma_inline subview< eT > | Mat::cols (const uword in_col1, const uword in_col2) |
creation of subview (submatrix comprised of specified column vectors) | |
Mat::const_row_iterator::const_row_iterator (const Mat< eT > &in_M, const uword in_row) | |
template<typename eT2 > | |
void | Mat::copy_size (const Mat< eT2 > &m) |
change the matrix (without preserving data) to have the same dimensions as the given matrix | |
arma_inline const diagview< eT > | Mat::diag (const sword in_id=0) const |
creation of diagview (diagonal) | |
arma_inline diagview< eT > | Mat::diag (const sword in_id=0) |
creation of diagview (diagonal) | |
template<typename T1 > | |
arma_inline const subview_elem1< eT, T1 > | Mat::elem (const Base< uword, T1 > &a) const |
template<typename T1 > | |
arma_inline subview_elem1< eT, T1 > | Mat::elem (const Base< uword, T1 > &a) |
bool | Mat::empty () const |
returns true if the matrix has no elements | |
const_iterator | Mat::end () const |
iterator | Mat::end () |
const_col_iterator | Mat::end_col (const uword col_num) const |
col_iterator | Mat::end_col (const uword col_num) |
const_row_iterator | Mat::end_row (const uword row_num) const |
row_iterator | Mat::end_row (const uword row_num) |
const Mat & | Mat::eye (const uword in_rows, const uword in_cols) |
const Mat & | Mat::eye () |
arma_hot const Mat< eT > & | Mat::fixed::fill (const eT val) |
fill the matrix with the specified value | |
arma_hot const Mat & | Mat::fill (const eT val) |
fill the matrix with the specified value | |
Mat::fixed::fixed (const std::string &text) | |
Mat::fixed::fixed (const char *text) | |
Mat::fixed::fixed (const eT *aux_mem) | |
Mat::fixed::fixed (eT *aux_mem, const bool copy_aux_mem=true) | |
template<typename T1 , typename T2 > | |
Mat::fixed::fixed (const Base< pod_type, T1 > &A, const Base< pod_type, T2 > &B) | |
template<typename T1 > | |
Mat::fixed::fixed (const Base< eT, T1 > &A) | |
arma_inline | Mat::fixed::fixed (const fixed< fixed_n_rows, fixed_n_cols > &X) |
arma_inline | Mat::fixed::fixed () |
void | Mat::impl_print (std::ostream &user_stream, const std::string &extra_text) const |
void | Mat::impl_print (const std::string &extra_text) const |
void | Mat::impl_print_trans (std::ostream &user_stream, const std::string &extra_text) const |
DEPRECATED FUNCTION. | |
void | Mat::impl_print_trans (const std::string &extra_text) const |
DEPRECATED FUNCTION. | |
void | Mat::impl_raw_print (std::ostream &user_stream, const std::string &extra_text) const |
void | Mat::impl_raw_print (const std::string &extra_text) const |
void | Mat::impl_raw_print_trans (std::ostream &user_stream, const std::string &extra_text) const |
DEPRECATED FUNCTION. | |
void | Mat::impl_raw_print_trans (const std::string &extra_text) const |
DEPRECATED FUNCTION. | |
arma_inline arma_warn_unused bool | Mat::in_range (const span &row_span, const span &col_span) const |
arma_inline arma_warn_unused bool | Mat::in_range (const uword in_row, const span &col_span) const |
arma_inline arma_warn_unused bool | Mat::in_range (const span &row_span, const uword in_col) const |
arma_inline arma_warn_unused bool | Mat::in_range (const uword in_row, const uword in_col) const |
returns true if the given location is currently in range | |
arma_inline arma_warn_unused bool | Mat::in_range (const span &x) const |
returns true if the given start and end indices are currently in range | |
arma_inline arma_warn_unused bool | Mat::in_range (const uword i) const |
returns true if the given index is currently in range | |
template<typename T1 , typename T2 > | |
void | Mat::init (const Base< typename Mat< eT >::pod_type, T1 > &A, const Base< typename Mat< eT >::pod_type, T2 > &B) |
for constructing a complex matrix out of two non-complex matrices | |
void | Mat::init (const std::string &text) |
internal function to create the matrix from a textual description | |
void | Mat::init_cold () |
void | Mat::init_warm (uword in_rows, uword in_cols) |
internal matrix construction; if the requested size is small enough, memory from the stack is used. otherwise memory is allocated via 'new' | |
template<typename T1 > | |
void | Mat::insert_cols (const uword col_num, const Base< eT, T1 > &X) |
void | Mat::insert_cols (const uword col_num, const uword N, const bool set_to_zero=true) |
template<typename T1 > | |
void | Mat::insert_rows (const uword row_num, const Base< eT, T1 > &X) |
void | Mat::insert_rows (const uword row_num, const uword N, const bool set_to_zero=true) |
arma_inline arma_warn_unused bool | Mat::is_colvec () const |
returns true if the object can be interpreted as a column vector | |
arma_inline arma_warn_unused bool | Mat::is_empty () const |
returns true if the matrix has no elements | |
arma_warn_unused bool | Mat::is_finite () const |
returns true if all of the elements are finite | |
arma_inline arma_warn_unused bool | Mat::is_rowvec () const |
returns true if the object can be interpreted as a row vector | |
arma_inline arma_warn_unused bool | Mat::is_square () const |
returns true if the object has the same number of non-zero rows and columnns | |
arma_inline arma_warn_unused bool | Mat::is_vec () const |
returns true if the object can be interpreted as a column or row vector | |
bool | Mat::load (std::istream &is, const file_type type=auto_detect, const bool print_status=true) |
load a matrix from a stream | |
bool | Mat::load (const std::string name, const file_type type=auto_detect, const bool print_status=true) |
load a matrix from a file | |
template<typename T1 , typename T2 , typename glue_type > | |
Mat::Mat (const mtGlue< eT, T1, T2, glue_type > &X) | |
EXPERIMENTAL: create a matrix from mtGlue, i.e. run the previously delayed binary operations. | |
template<typename T1 , typename T2 , typename eglue_type > | |
Mat::Mat (const eGlue< T1, T2, eglue_type > &X) | |
create a matrix from eGlue, i.e. run the previously delayed binary operations | |
template<typename T1 , typename T2 , typename glue_type > | |
Mat::Mat (const Glue< T1, T2, glue_type > &X) | |
create a matrix from Glue, i.e. run the previously delayed binary operations | |
template<typename T1 , typename op_type > | |
Mat::Mat (const mtOp< eT, T1, op_type > &X) | |
EXPERIMENTAL. | |
template<typename T1 , typename eop_type > | |
Mat::Mat (const eOp< T1, eop_type > &X) | |
create a matrix from eOp, i.e. run the previously delayed unary operations | |
template<typename T1 , typename op_type > | |
Mat::Mat (const Op< T1, op_type > &X) | |
create a matrix from Op, i.e. run the previously delayed unary operations | |
template<typename gen_type > | |
Mat::Mat (const Gen< eT, gen_type > &X) | |
template<typename T1 > | |
Mat::Mat (const subview_elem1< eT, T1 > &X) | |
Mat::Mat (const diagview< eT > &X) | |
construct a matrix from diagview (e.g. construct a matrix from a delayed diag operation) | |
Mat::Mat (const subview_cube< eT > &X) | |
construct a matrix from a subview_cube instance | |
Mat::Mat (const subview< eT > &X) | |
construct a matrix from subview (e.g. construct a matrix from a delayed submatrix operation) | |
template<typename T1 , typename T2 > | |
Mat::Mat (const Base< typename Mat< eT >::pod_type, T1 > &A, const Base< typename Mat< eT >::pod_type, T2 > &B) | |
for constructing a complex matrix out of two non-complex matrices | |
template<typename T1 > | |
Mat::Mat (const BaseCube< eT, T1 > &X) | |
Mat::Mat (const char junk, const eT *aux_mem, const uword aux_n_rows, const uword aux_n_cols) | |
Mat::Mat (const eT *aux_mem, const uword aux_n_rows, const uword aux_n_cols) | |
Mat::Mat (eT *aux_mem, const uword aux_n_rows, const uword aux_n_cols, const bool copy_aux_mem=true, const bool strict=true) | |
Mat::Mat (const Mat &m) | |
construct a matrix from a given matrix | |
Mat::Mat (const std::string &text) | |
create the matrix from a textual description | |
Mat::Mat (const char *text) | |
create the matrix from a textual description | |
Mat::Mat (const uword in_rows, const uword in_cols) | |
construct the matrix to have user specified dimensions | |
Mat::Mat () | |
eT | Mat::max (uword &row_of_max_val, uword &col_of_max_val) const |
eT | Mat::max (uword &index_of_max_val) const |
arma_warn_unused eT | Mat::max () const |
arma_inline void | Mat::fixed::mem_setup () |
arma_inline arma_warn_unused const eT * | Mat::memptr () const |
returns a pointer to array of eTs used by the matrix | |
arma_inline arma_warn_unused eT * | Mat::memptr () |
returns a pointer to array of eTs used by the matrix | |
eT | Mat::min (uword &row_of_min_val, uword &col_of_min_val) const |
eT | Mat::min (uword &index_of_min_val) const |
arma_warn_unused eT | Mat::min () const |
arma_hot const Mat< eT > & | Mat::fixed::ones () |
const Mat & | Mat::ones (const uword in_rows, const uword in_cols) |
const Mat & | Mat::ones (const uword in_elem) |
const Mat & | Mat::ones () |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator%= (const mtGlue< eT, T1, T2, glue_type > &X) |
EXPERIMENTAL: in-place matrix element-wise multiplication, with the right-hand-side operands having delayed operations. | |
template<typename T1 , typename T2 , typename eglue_type > | |
const Mat & | Mat::operator%= (const eGlue< T1, T2, eglue_type > &X) |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator%= (const Glue< T1, T2, glue_type > &X) |
in-place matrix element-wise multiplication, with the right-hand-side operands having delayed operations | |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator%= (const mtOp< eT, T1, op_type > &X) |
EXPERIMENTAL. | |
template<typename T1 , typename eop_type > | |
const Mat & | Mat::operator%= (const eOp< T1, eop_type > &X) |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator%= (const Op< T1, op_type > &X) |
in-place matrix element-wise multiplication, with the right-hand-side operand having delayed operations | |
template<typename gen_type > | |
const Mat & | Mat::operator%= (const Gen< eT, gen_type > &X) |
template<typename T1 > | |
const Mat & | Mat::operator%= (const subview_elem1< eT, T1 > &X) |
const Mat & | Mat::operator%= (const diagview< eT > &X) |
in-place element-wise matrix mutiplication (using a diagview on the right-hand-side) | |
const Mat & | Mat::operator%= (const subview_cube< eT > &X) |
in-place element-wise matrix mutiplication (using a single-slice subcube on the right-hand-side) | |
const Mat & | Mat::operator%= (const subview< eT > &X) |
in-place element-wise matrix mutiplication (using a submatrix on the right-hand-side) | |
template<typename T1 > | |
const Mat & | Mat::operator%= (const BaseCube< eT, T1 > &X) |
const Mat & | Mat::operator%= (const Mat &m) |
in-place element-wise matrix multiplication | |
arma_inline arma_warn_unused eT | Mat::fixed::operator() (const uword in_row, const uword in_col) const |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined | |
arma_inline arma_warn_unused eT & | Mat::fixed::operator() (const uword in_row, const uword in_col) |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined | |
arma_inline arma_warn_unused eT | Mat::fixed::operator() (const uword i) const |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined | |
arma_inline arma_warn_unused eT & | Mat::fixed::operator() (const uword i) |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined | |
const subview< eT > | Mat::fixed::operator() (const span &row_span, const span &col_span) const |
subview< eT > | Mat::fixed::operator() (const span &row_span, const span &col_span) |
const subview_col< eT > | Mat::fixed::operator() (const span &row_span, const uword col_num) const |
subview_col< eT > | Mat::fixed::operator() (const span &row_span, const uword col_num) |
const subview_row< eT > | Mat::fixed::operator() (const uword row_num, const span &col_span) const |
subview_row< eT > | Mat::fixed::operator() (const uword row_num, const span &col_span) |
arma_inline arma_warn_unused eT | Mat::operator() (const uword in_row, const uword in_col) const |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined | |
arma_inline arma_warn_unused eT & | Mat::operator() (const uword in_row, const uword in_col) |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined | |
arma_inline arma_warn_unused eT | Mat::operator() (const uword i) const |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined | |
arma_inline arma_warn_unused eT & | Mat::operator() (const uword i) |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined | |
const subview< eT > | Mat::operator() (const span &row_span, const span &col_span) const |
subview< eT > | Mat::operator() (const span &row_span, const span &col_span) |
const subview_col< eT > | Mat::operator() (const span &row_span, const uword col_num) const |
subview_col< eT > | Mat::operator() (const span &row_span, const uword col_num) |
const subview_row< eT > | Mat::operator() (const uword row_num, const span &col_span) const |
subview_row< eT > | Mat::operator() (const uword row_num, const span &col_span) |
eT | Mat::const_row_iterator::operator* () const |
eT & | Mat::row_iterator::operator* () |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator*= (const mtGlue< eT, T1, T2, glue_type > &X) |
EXPERIMENTAL: in-place matrix multiplications, with the right-hand-side operands having delayed operations. | |
template<typename T1 , typename T2 , typename eglue_type > | |
const Mat & | Mat::operator*= (const eGlue< T1, T2, eglue_type > &X) |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator*= (const Glue< T1, T2, glue_type > &X) |
in-place matrix multiplications, with the right-hand-side operands having delayed operations | |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator*= (const mtOp< eT, T1, op_type > &X) |
EXPERIMENTAL. | |
template<typename T1 , typename eop_type > | |
const Mat & | Mat::operator*= (const eOp< T1, eop_type > &X) |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator*= (const Op< T1, op_type > &X) |
in-place matrix multiplication, with the right-hand-side operand having delayed operations | |
template<typename gen_type > | |
const Mat & | Mat::operator*= (const Gen< eT, gen_type > &X) |
template<typename T1 > | |
const Mat & | Mat::operator*= (const subview_elem1< eT, T1 > &X) |
const Mat & | Mat::operator*= (const diagview< eT > &X) |
in-place matrix mutiplication (using a diagview on the right-hand-side) | |
const Mat & | Mat::operator*= (const subview_cube< eT > &X) |
in-place matrix mutiplication (using a single-slice subcube on the right-hand-side) | |
const Mat & | Mat::operator*= (const subview< eT > &X) |
in-place matrix mutiplication (using a submatrix on the right-hand-side) | |
template<typename T1 > | |
const Mat & | Mat::operator*= (const BaseCube< eT, T1 > &X) |
const Mat & | Mat::operator*= (const Mat &m) |
in-place matrix multiplication | |
arma_inline const Mat & | Mat::operator*= (const eT val) |
In-place multiplication of all elements of the matrix with a scalar. | |
void | Mat::const_row_iterator::operator++ (int) |
const_row_iterator & | Mat::const_row_iterator::operator++ () |
void | Mat::row_iterator::operator++ (int) |
row_iterator & | Mat::row_iterator::operator++ () |
arma_inline void | Mat::operator++ (int) |
postfix ++ (must not return the object by reference) | |
arma_inline const Mat & | Mat::operator++ () |
prefix ++ | |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator+= (const mtGlue< eT, T1, T2, glue_type > &X) |
EXPERIMENTAL: in-place matrix addition, with the right-hand-side operands having delayed operations. | |
template<typename T1 , typename T2 , typename eglue_type > | |
const Mat & | Mat::operator+= (const eGlue< T1, T2, eglue_type > &X) |
in-place matrix addition, with the right-hand-side operands having delayed operations | |
template<typename T1 , typename T2 > | |
const Mat & | Mat::operator+= (const Glue< T1, T2, glue_times > &X) |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator+= (const Glue< T1, T2, glue_type > &X) |
in-place matrix addition, with the right-hand-side operands having delayed operations | |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator+= (const mtOp< eT, T1, op_type > &X) |
EXPERIMENTAL. | |
template<typename T1 , typename eop_type > | |
const Mat & | Mat::operator+= (const eOp< T1, eop_type > &X) |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator+= (const Op< T1, op_type > &X) |
in-place matrix addition, with the right-hand-side operand having delayed operations | |
template<typename gen_type > | |
const Mat & | Mat::operator+= (const Gen< eT, gen_type > &X) |
template<typename T1 > | |
const Mat & | Mat::operator+= (const subview_elem1< eT, T1 > &X) |
const Mat & | Mat::operator+= (const diagview< eT > &X) |
in-place matrix addition (using a diagview on the right-hand-side) | |
const Mat & | Mat::operator+= (const subview_cube< eT > &X) |
in-place matrix addition (using a single-slice subcube on the right-hand-side) | |
const Mat & | Mat::operator+= (const subview< eT > &X) |
in-place matrix addition (using a submatrix on the right-hand-side) | |
template<typename T1 > | |
const Mat & | Mat::operator+= (const BaseCube< eT, T1 > &X) |
const Mat & | Mat::operator+= (const Mat &m) |
in-place matrix addition | |
arma_inline const Mat & | Mat::operator+= (const eT val) |
In-place addition of a scalar to all elements of the matrix. | |
void | Mat::const_row_iterator::operator-- (int) |
const_row_iterator & | Mat::const_row_iterator::operator-- () |
void | Mat::row_iterator::operator-- (int) |
row_iterator & | Mat::row_iterator::operator-- () |
arma_inline void | Mat::operator-- (int) |
postfix -- (must not return the object by reference) | |
arma_inline const Mat & | Mat::operator-- () |
prefix -- | |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator-= (const mtGlue< eT, T1, T2, glue_type > &X) |
EXPERIMENTAL: in-place matrix subtraction, with the right-hand-side operands having delayed operations. | |
template<typename T1 , typename T2 , typename eglue_type > | |
const Mat & | Mat::operator-= (const eGlue< T1, T2, eglue_type > &X) |
in-place matrix subtraction, with the right-hand-side operands having delayed operations | |
template<typename T1 , typename T2 > | |
const Mat & | Mat::operator-= (const Glue< T1, T2, glue_times > &X) |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator-= (const Glue< T1, T2, glue_type > &X) |
in-place matrix subtraction, with the right-hand-side operands having delayed operations | |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator-= (const mtOp< eT, T1, op_type > &X) |
EXPERIMENTAL. | |
template<typename T1 , typename eop_type > | |
const Mat & | Mat::operator-= (const eOp< T1, eop_type > &X) |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator-= (const Op< T1, op_type > &X) |
in-place matrix subtraction, with the right-hand-side operand having delayed operations | |
template<typename gen_type > | |
const Mat & | Mat::operator-= (const Gen< eT, gen_type > &X) |
template<typename T1 > | |
const Mat & | Mat::operator-= (const subview_elem1< eT, T1 > &X) |
const Mat & | Mat::operator-= (const diagview< eT > &X) |
in-place matrix subtraction (using a diagview on the right-hand-side) | |
const Mat & | Mat::operator-= (const subview_cube< eT > &X) |
in-place matrix subtraction (using a single-slice subcube on the right-hand-side) | |
const Mat & | Mat::operator-= (const subview< eT > &X) |
in-place matrix subtraction (using a submatrix on the right-hand-side) | |
template<typename T1 > | |
const Mat & | Mat::operator-= (const BaseCube< eT, T1 > &X) |
const Mat & | Mat::operator-= (const Mat &m) |
in-place matrix subtraction | |
arma_inline const Mat & | Mat::operator-= (const eT val) |
In-place subtraction of a scalar from all elements of the matrix. | |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator/= (const mtGlue< eT, T1, T2, glue_type > &X) |
EXPERIMENTAL: in-place matrix element-wise division, with the right-hand-side operands having delayed operations. | |
template<typename T1 , typename T2 , typename eglue_type > | |
const Mat & | Mat::operator/= (const eGlue< T1, T2, eglue_type > &X) |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator/= (const Glue< T1, T2, glue_type > &X) |
in-place matrix element-wise division, with the right-hand-side operands having delayed operations | |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator/= (const mtOp< eT, T1, op_type > &X) |
EXPERIMENTAL. | |
template<typename T1 , typename eop_type > | |
const Mat & | Mat::operator/= (const eOp< T1, eop_type > &X) |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator/= (const Op< T1, op_type > &X) |
in-place matrix element-wise division, with the right-hand-side operand having delayed operations | |
template<typename gen_type > | |
const Mat & | Mat::operator/= (const Gen< eT, gen_type > &X) |
template<typename T1 > | |
const Mat & | Mat::operator/= (const subview_elem1< eT, T1 > &X) |
const Mat & | Mat::operator/= (const diagview< eT > &X) |
in-place element-wise matrix division (using a diagview on the right-hand-side) | |
const Mat & | Mat::operator/= (const subview_cube< eT > &X) |
in-place element-wise matrix division (using a single-slice subcube on the right-hand-side) | |
const Mat & | Mat::operator/= (const subview< eT > &X) |
in-place element-wise matrix division (using a submatrix on the right-hand-side) | |
template<typename T1 > | |
const Mat & | Mat::operator/= (const BaseCube< eT, T1 > &X) |
const Mat & | Mat::operator/= (const Mat &m) |
in-place element-wise matrix division | |
arma_inline const Mat & | Mat::operator/= (const eT val) |
In-place division of all elements of the matrix with a scalar. | |
mat_injector< Mat > | Mat::operator<< (const injector_end_of_row &x) |
mat_injector< Mat > | Mat::operator<< (const eT val) |
const Mat & | Mat::fixed::operator= (const std::string &text) |
create the matrix from a textual description | |
const Mat & | Mat::fixed::operator= (const char *text) |
create the matrix from a textual description | |
const Mat & | Mat::fixed::operator= (const eT val) |
template<typename T1 > | |
const Mat & | Mat::fixed::operator= (const Base< eT, T1 > &A) |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator= (const mtGlue< eT, T1, T2, glue_type > &X) |
EXPERIMENTAL: create a matrix from Glue, i.e. run the previously delayed binary operations. | |
template<typename T1 , typename T2 , typename eglue_type > | |
const Mat & | Mat::operator= (const eGlue< T1, T2, eglue_type > &X) |
create a matrix from eGlue, i.e. run the previously delayed binary operations | |
template<typename T1 , typename T2 , typename glue_type > | |
const Mat & | Mat::operator= (const Glue< T1, T2, glue_type > &X) |
create a matrix from Glue, i.e. run the previously delayed binary operations | |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator= (const mtOp< eT, T1, op_type > &X) |
EXPERIMENTAL. | |
template<typename T1 , typename eop_type > | |
const Mat & | Mat::operator= (const eOp< T1, eop_type > &X) |
create a matrix from eOp, i.e. run the previously delayed unary operations | |
template<typename T1 , typename op_type > | |
const Mat & | Mat::operator= (const Op< T1, op_type > &X) |
create a matrix from Op, i.e. run the previously delayed unary operations | |
template<typename gen_type > | |
const Mat & | Mat::operator= (const Gen< eT, gen_type > &X) |
template<typename T1 > | |
const Mat & | Mat::operator= (const subview_elem1< eT, T1 > &X) |
const Mat & | Mat::operator= (const diagview< eT > &X) |
construct a matrix from diagview (e.g. construct a matrix from a delayed diag operation) | |
const Mat & | Mat::operator= (const subview_cube< eT > &X) |
construct a matrix from a subview_cube instance | |
const Mat & | Mat::operator= (const subview< eT > &X) |
construct a matrix from subview (e.g. construct a matrix from a delayed submatrix operation) | |
template<typename T1 > | |
const Mat & | Mat::operator= (const BaseCube< eT, T1 > &X) |
const Mat & | Mat::operator= (const Mat &m) |
construct a matrix from a given matrix | |
arma_inline const Mat & | Mat::operator= (const eT val) |
const Mat & | Mat::operator= (const std::string &text) |
create the matrix from a textual description | |
const Mat & | Mat::operator= (const char *text) |
create the matrix from a textual description | |
arma_inline arma_warn_unused eT | Mat::fixed::operator[] (const uword i) const |
linear element accessor (treats the matrix as a vector); no bounds check | |
arma_inline arma_warn_unused eT & | Mat::fixed::operator[] (const uword i) |
linear element accessor (treats the matrix as a vector); no bounds check. | |
arma_inline arma_warn_unused eT | Mat::operator[] (const uword i) const |
linear element accessor (treats the matrix as a vector); no bounds check | |
arma_inline arma_warn_unused eT & | Mat::operator[] (const uword i) |
linear element accessor (treats the matrix as a vector); no bounds check. | |
template<typename T > | |
static arma_inline void | Mat_aux::postfix_mm (Mat< std::complex< T > > &x) |
postfix ++ for complex numbers (work around for limitations of the std::complex class) | |
template<typename eT > | |
static arma_inline void | Mat_aux::postfix_mm (Mat< eT > &x) |
postfix -- | |
template<typename T > | |
static arma_inline void | Mat_aux::postfix_pp (Mat< std::complex< T > > &x) |
postfix ++ for complex numbers (work around for limitations of the std::complex class) | |
template<typename eT > | |
static arma_inline void | Mat_aux::postfix_pp (Mat< eT > &x) |
postfix ++ | |
template<typename T > | |
static arma_inline void | Mat_aux::prefix_mm (Mat< std::complex< T > > &x) |
prefix -- for complex numbers (work around for limitations of the std::complex class) | |
template<typename eT > | |
static arma_inline void | Mat_aux::prefix_mm (Mat< eT > &x) |
prefix -- | |
template<typename T > | |
static arma_inline void | Mat_aux::prefix_pp (Mat< std::complex< T > > &x) |
prefix ++ for complex numbers (work around for limitations of the std::complex class) | |
template<typename eT > | |
static arma_inline void | Mat_aux::prefix_pp (Mat< eT > &x) |
prefix ++ | |
bool | Mat::quiet_load (std::istream &is, const file_type type=auto_detect) |
load a matrix from a stream, without printing any error messages | |
bool | Mat::quiet_load (const std::string name, const file_type type=auto_detect) |
load a matrix from a file, without printing any error messages | |
bool | Mat::quiet_save (std::ostream &os, const file_type type=arma_binary) const |
save the matrix to a stream, without printing any error messages | |
bool | Mat::quiet_save (const std::string name, const file_type type=arma_binary) const |
save the matrix to a file, without printing any error messages | |
const Mat & | Mat::randn (const uword in_rows, const uword in_cols) |
const Mat & | Mat::randn (const uword in_elem) |
const Mat & | Mat::randn () |
const Mat & | Mat::randu (const uword in_rows, const uword in_cols) |
const Mat & | Mat::randu (const uword in_elem) |
const Mat & | Mat::randu () |
void | Mat::reset () |
void | Mat::reshape (const uword in_rows, const uword in_cols, const uword dim=0) |
change the matrix to have user specified dimensions (data is preserved) | |
void | Mat::resize (const uword in_rows, const uword in_cols) |
change the matrix to have user specified dimensions (data is preserved) | |
void | Mat::resize (const uword in_elem) |
change the matrix to have user specified dimensions (data is preserved) | |
arma_inline const subview_row< eT > | Mat::row (const uword row_num) const |
creation of subview (row vector) | |
arma_inline subview_row< eT > | Mat::row (const uword row_num) |
creation of subview (row vector) | |
Mat::row_iterator::row_iterator (Mat< eT > &in_M, const uword in_row) | |
arma_inline const subview< eT > | Mat::rows (const uword in_row1, const uword in_row2) const |
creation of subview (submatrix comprised of specified row vectors) | |
arma_inline subview< eT > | Mat::rows (const uword in_row1, const uword in_row2) |
creation of subview (submatrix comprised of specified row vectors) | |
bool | Mat::save (std::ostream &os, const file_type type=arma_binary, const bool print_status=true) const |
save the matrix to a stream | |
bool | Mat::save (const std::string name, const file_type type=arma_binary, const bool print_status=true) const |
save the matrix to a file | |
template<typename T , typename T1 > | |
static void | Mat_aux::set_imag (Mat< std::complex< T > > &out, const Base< T, T1 > &X) |
template<typename eT , typename T1 > | |
static void | Mat_aux::set_imag (Mat< eT > &out, const Base< eT, T1 > &X) |
template<typename T1 > | |
void | Mat::set_imag (const Base< typename Mat< eT >::pod_type, T1 > &X) |
template<typename T , typename T1 > | |
static void | Mat_aux::set_real (Mat< std::complex< T > > &out, const Base< T, T1 > &X) |
template<typename eT , typename T1 > | |
static void | Mat_aux::set_real (Mat< eT > &out, const Base< eT, T1 > &X) |
template<typename T1 > | |
void | Mat::set_real (const Base< typename Mat< eT >::pod_type, T1 > &X) |
void | Mat::set_size (const uword in_rows, const uword in_cols) |
change the matrix to have user specified dimensions (data is not preserved) | |
void | Mat::set_size (const uword in_elem) |
change the matrix to have user specified dimensions (data is not preserved) | |
void | Mat::shed_col (const uword col_num) |
remove specified column | |
void | Mat::shed_cols (const uword in_col1, const uword in_col2) |
remove specified columns | |
void | Mat::shed_row (const uword row_num) |
remove specified row | |
void | Mat::shed_rows (const uword in_row1, const uword in_row2) |
remove specified rows | |
uword | Mat::size () const |
returns the number of elements in this matrix | |
void | Mat::steal_mem (Mat &X) |
const subview< eT > | Mat::submat (const span &row_span, const span &col_span) const |
creation of subview (generic submatrix) | |
subview< eT > | Mat::submat (const span &row_span, const span &col_span) |
creation of subview (submatrix) | |
arma_inline const subview< eT > | Mat::submat (const uword in_row1, const uword in_col1, const uword in_row2, const uword in_col2) const |
creation of subview (generic submatrix) | |
arma_inline subview< eT > | Mat::submat (const uword in_row1, const uword in_col1, const uword in_row2, const uword in_col2) |
creation of subview (submatrix) | |
void | Mat::swap_cols (const uword in_col1, const uword in_col2) |
void | Mat::swap_rows (const uword in_row1, const uword in_row2) |
const Col< eT > | Mat::unsafe_col (const uword col_num) const |
Col< eT > | Mat::unsafe_col (const uword col_num) |
arma_hot const Mat< eT > & | Mat::fixed::zeros () |
const Mat & | Mat::zeros (const uword in_rows, const uword in_cols) |
const Mat & | Mat::zeros (const uword in_elem) |
const Mat & | Mat::zeros () |
Mat::~Mat () |
arma_inline arma_warn_unused eT Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::at | ( | const uword | in_row, | |
const uword | in_col | |||
) | const [inline, inherited] |
element accessor; no bounds check
Reimplemented from Mat< eT >.
Definition at line 5776 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::at | ( | const uword | in_row, | |
const uword | in_col | |||
) | [inline, inherited] |
element accessor; no bounds check
Reimplemented from Mat< eT >.
Definition at line 5762 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::at | ( | const uword | i | ) | const [inline, inherited] |
linear element accessor (treats the matrix as a vector); no bounds check
Reimplemented from Mat< eT >.
Definition at line 5722 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::at | ( | const uword | i | ) | [inline, inherited] |
linear element accessor (treats the matrix as a vector); no bounds check.
Reimplemented from Mat< eT >.
Definition at line 5710 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT Mat< eT >::at | ( | const uword | in_row, | |
const uword | in_col | |||
) | const [inline, inherited] |
element accessor; no bounds check
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 3754 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT & Mat< eT >::at | ( | const uword | in_row, | |
const uword | in_col | |||
) | [inline, inherited] |
element accessor; no bounds check
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 3742 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT Mat< eT >::at | ( | const uword | i | ) | const [inline, inherited] |
linear element accessor (treats the matrix as a vector); no bounds check
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 3704 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT & Mat< eT >::at | ( | const uword | i | ) | [inline, inherited] |
linear element accessor (treats the matrix as a vector); no bounds check.
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 3692 of file Mat_meat.hpp.
Definition at line 5219 of file Mat_meat.hpp.
Definition at line 5207 of file Mat_meat.hpp.
Mat< eT >::const_col_iterator Mat< eT >::begin_col | ( | const uword | col_num | ) | const [inline, inherited] |
Definition at line 5269 of file Mat_meat.hpp.
Mat< eT >::col_iterator Mat< eT >::begin_col | ( | const uword | col_num | ) | [inline, inherited] |
Definition at line 5255 of file Mat_meat.hpp.
Mat< eT >::const_row_iterator Mat< eT >::begin_row | ( | const uword | row_num | ) | const [inline, inherited] |
Reimplemented in Col< eT >, Row< eT >, Col< eT1 >, and Row< eT1 >.
Definition at line 5325 of file Mat_meat.hpp.
Mat< eT >::row_iterator Mat< eT >::begin_row | ( | const uword | row_num | ) | [inline, inherited] |
Reimplemented in Col< eT >, Row< eT >, Col< eT1 >, and Row< eT1 >.
Definition at line 5311 of file Mat_meat.hpp.
void Mat< eT >::clear | ( | ) | [inline, inherited] |
resets this matrix to an empty matrix
Definition at line 5368 of file Mat_meat.hpp.
arma_inline const subview_col< eT > Mat< eT >::col | ( | const uword | col_num | ) | const [inline, inherited] |
creation of subview (column vector)
Reimplemented in Row< eT >, and Row< eT1 >.
Definition at line 1895 of file Mat_meat.hpp.
arma_inline subview_col< eT > Mat< eT >::col | ( | const uword | col_num | ) | [inline, inherited] |
creation of subview (column vector)
Reimplemented in Row< eT >, and Row< eT1 >.
Definition at line 1880 of file Mat_meat.hpp.
arma_inline arma_warn_unused const eT * Mat< eT >::colptr | ( | const uword | in_col | ) | const [inline, inherited] |
returns a pointer to array of eTs for a specified column; no bounds check
Definition at line 4012 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT * Mat< eT >::colptr | ( | const uword | in_col | ) | [inline, inherited] |
returns a pointer to array of eTs for a specified column; no bounds check
Definition at line 4000 of file Mat_meat.hpp.
arma_inline const subview< eT > Mat< eT >::cols | ( | const uword | in_col1, | |
const uword | in_col2 | |||
) | const [inline, inherited] |
creation of subview (submatrix comprised of specified column vectors)
Reimplemented in Row< eT >, and Row< eT1 >.
Definition at line 2071 of file Mat_meat.hpp.
arma_inline subview< eT > Mat< eT >::cols | ( | const uword | in_col1, | |
const uword | in_col2 | |||
) | [inline, inherited] |
creation of subview (submatrix comprised of specified column vectors)
Reimplemented in Row< eT >, and Row< eT1 >.
Definition at line 2050 of file Mat_meat.hpp.
Mat< eT >::const_row_iterator::const_row_iterator | ( | const Mat< eT > & | in_M, | |
const uword | in_row | |||
) | [inline, inherited] |
Definition at line 5091 of file Mat_meat.hpp.
void Mat< eT >::copy_size | ( | const Mat< eT2 > & | m | ) | [inline, inherited] |
change the matrix (without preserving data) to have the same dimensions as the given matrix
Definition at line 4303 of file Mat_meat.hpp.
arma_inline const diagview< eT > Mat< eT >::diag | ( | const sword | in_id = 0 |
) | const [inline, inherited] |
creation of diagview (diagonal)
Definition at line 2308 of file Mat_meat.hpp.
arma_inline diagview< eT > Mat< eT >::diag | ( | const sword | in_id = 0 |
) | [inline, inherited] |
creation of diagview (diagonal)
Definition at line 2284 of file Mat_meat.hpp.
arma_inline const subview_elem1< eT, T1 > Mat< eT >::elem | ( | const Base< uword, T1 > & | a | ) | const [inline, inherited] |
Definition at line 2245 of file Mat_meat.hpp.
arma_inline subview_elem1< eT, T1 > Mat< eT >::elem | ( | const Base< uword, T1 > & | a | ) | [inline, inherited] |
Definition at line 2232 of file Mat_meat.hpp.
bool Mat< eT >::empty | ( | ) | const [inline, inherited] |
returns true if the matrix has no elements
Definition at line 5379 of file Mat_meat.hpp.
Definition at line 5243 of file Mat_meat.hpp.
Definition at line 5231 of file Mat_meat.hpp.
Mat< eT >::const_col_iterator Mat< eT >::end_col | ( | const uword | col_num | ) | const [inline, inherited] |
Definition at line 5297 of file Mat_meat.hpp.
Mat< eT >::col_iterator Mat< eT >::end_col | ( | const uword | col_num | ) | [inline, inherited] |
Definition at line 5283 of file Mat_meat.hpp.
Mat< eT >::const_row_iterator Mat< eT >::end_row | ( | const uword | row_num | ) | const [inline, inherited] |
Reimplemented in Col< eT >, Row< eT >, Col< eT1 >, and Row< eT1 >.
Definition at line 5353 of file Mat_meat.hpp.
Mat< eT >::row_iterator Mat< eT >::end_row | ( | const uword | row_num | ) | [inline, inherited] |
Reimplemented in Col< eT >, Row< eT >, Col< eT1 >, and Row< eT1 >.
Definition at line 5339 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::eye | ( | const uword | in_rows, | |
const uword | in_cols | |||
) | [inline, inherited] |
Definition at line 4539 of file Mat_meat.hpp.
Definition at line 4518 of file Mat_meat.hpp.
arma_hot const Mat< eT > & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::fill | ( | const eT | val | ) | [inline, inherited] |
fill the matrix with the specified value
Reimplemented from Mat< eT >.
Definition at line 5822 of file Mat_meat.hpp.
arma_hot const Mat< eT > & Mat< eT >::fill | ( | const eT | val | ) | [inline, inherited] |
fill the matrix with the specified value
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 4317 of file Mat_meat.hpp.
Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::fixed | ( | const std::string & | text | ) | [inline, inherited] |
Definition at line 5533 of file Mat_meat.hpp.
Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::fixed | ( | const char * | text | ) | [inline, inherited] |
Definition at line 5519 of file Mat_meat.hpp.
Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::fixed | ( | const eT * | aux_mem | ) | [inline, inherited] |
Definition at line 5505 of file Mat_meat.hpp.
Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::fixed | ( | eT * | aux_mem, | |
const bool | copy_aux_mem = true | |||
) | [inline, inherited] |
Definition at line 5476 of file Mat_meat.hpp.
Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::fixed | ( | const Base< pod_type, T1 > & | A, | |
const Base< pod_type, T2 > & | B | |||
) | [inline, inherited] |
Definition at line 5462 of file Mat_meat.hpp.
Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::fixed | ( | const Base< eT, T1 > & | A | ) | [inline, inherited] |
Definition at line 5447 of file Mat_meat.hpp.
arma_inline Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::fixed | ( | const fixed< fixed_n_rows, fixed_n_cols > & | X | ) | [inline, inherited] |
Definition at line 5430 of file Mat_meat.hpp.
arma_inline Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::fixed | ( | ) | [inline, inherited] |
Definition at line 5418 of file Mat_meat.hpp.
void Mat< eT >::impl_print | ( | std::ostream & | user_stream, | |
const std::string & | extra_text | |||
) | const [inline, inherited] |
print contents of the matrix to a user specified stream, optionally preceding with a user specified line of text. the precision and cell width are modified. on return, the stream's state are restored to their original values.
Definition at line 4075 of file Mat_meat.hpp.
void Mat< eT >::impl_print | ( | const std::string & | extra_text | ) | const [inline, inherited] |
print contents of the matrix (to the cout stream), optionally preceding with a user specified line of text. the precision and cell width are modified. on return, the stream's state are restored to their original values.
Definition at line 4050 of file Mat_meat.hpp.
void Mat< eT >::impl_print_trans | ( | std::ostream & | user_stream, | |
const std::string & | extra_text | |||
) | const [inline, inherited] |
DEPRECATED FUNCTION.
Definition at line 4113 of file Mat_meat.hpp.
void Mat< eT >::impl_print_trans | ( | const std::string & | extra_text | ) | const [inline, inherited] |
DEPRECATED FUNCTION.
Definition at line 4097 of file Mat_meat.hpp.
void Mat< eT >::impl_raw_print | ( | std::ostream & | user_stream, | |
const std::string & | extra_text | |||
) | const [inline, inherited] |
print contents of the matrix to a user specified stream, optionally preceding with a user specified line of text. the stream's state are used as is and are not modified. (i.e. the precision and cell width are not modified).
Definition at line 4157 of file Mat_meat.hpp.
void Mat< eT >::impl_raw_print | ( | const std::string & | extra_text | ) | const [inline, inherited] |
print contents of the matrix (to the cout stream), optionally preceding with a user specified line of text. the stream's state are used as is and are not modified (i.e. the precision and cell width are not modified).
Definition at line 4132 of file Mat_meat.hpp.
void Mat< eT >::impl_raw_print_trans | ( | std::ostream & | user_stream, | |
const std::string & | extra_text | |||
) | const [inline, inherited] |
DEPRECATED FUNCTION.
Definition at line 4195 of file Mat_meat.hpp.
void Mat< eT >::impl_raw_print_trans | ( | const std::string & | extra_text | ) | const [inline, inherited] |
DEPRECATED FUNCTION.
Definition at line 4179 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::in_range | ( | const span & | row_span, | |
const span & | col_span | |||
) | const [inline, inherited] |
Definition at line 3977 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::in_range | ( | const uword | in_row, | |
const span & | col_span | |||
) | const [inline, inherited] |
Definition at line 3954 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::in_range | ( | const span & | row_span, | |
const uword | in_col | |||
) | const [inline, inherited] |
Definition at line 3931 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::in_range | ( | const uword | in_row, | |
const uword | in_col | |||
) | const [inline, inherited] |
returns true if the given location is currently in range
Definition at line 3920 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::in_range | ( | const span & | x | ) | const [inline, inherited] |
returns true if the given start and end indices are currently in range
Definition at line 3896 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::in_range | ( | const uword | i | ) | const [inline, inherited] |
returns true if the given index is currently in range
Definition at line 3884 of file Mat_meat.hpp.
void Mat< eT >::init | ( | const Base< typename Mat< eT >::pod_type, T1 > & | A, | |
const Base< typename Mat< eT >::pod_type, T2 > & | B | |||
) | [inline, inherited] |
for constructing a complex matrix out of two non-complex matrices
< compile-time abort if eT isn't std::complex
< compile-time abort if T is std::complex
< compile-time abort if types are not compatible
Definition at line 589 of file Mat_meat.hpp.
void Mat< eT >::init | ( | const std::string & | text | ) | [inline, protected, inherited] |
internal function to create the matrix from a textual description
Definition at line 318 of file Mat_meat.hpp.
void Mat< eT >::init_cold | ( | ) | [inline, protected, inherited] |
Definition at line 86 of file Mat_meat.hpp.
void Mat< eT >::init_warm | ( | uword | in_rows, | |
uword | in_cols | |||
) | [inline, protected, inherited] |
internal matrix construction; if the requested size is small enough, memory from the stack is used. otherwise memory is allocated via 'new'
Definition at line 126 of file Mat_meat.hpp.
void Mat< eT >::insert_cols | ( | const uword | col_num, | |
const Base< eT, T1 > & | X | |||
) | [inline, inherited] |
insert the given object at the specified column position; the given object must have the same number of rows as the matrix
Reimplemented in Row< eT >, and Row< eT1 >.
Definition at line 2648 of file Mat_meat.hpp.
void Mat< eT >::insert_cols | ( | const uword | col_num, | |
const uword | N, | |||
const bool | set_to_zero = true | |||
) | [inline, inherited] |
insert N columns at the specified column position, optionally setting the elements of the inserted columns to zero
Reimplemented in Row< eT >, and Row< eT1 >.
Definition at line 2531 of file Mat_meat.hpp.
void Mat< eT >::insert_rows | ( | const uword | row_num, | |
const Base< eT, T1 > & | X | |||
) | [inline, inherited] |
insert the given object at the specified row position; the given object must have the same number of columns as the matrix
Reimplemented in Col< eT >, and Col< eT1 >.
Definition at line 2575 of file Mat_meat.hpp.
void Mat< eT >::insert_rows | ( | const uword | row_num, | |
const uword | N, | |||
const bool | set_to_zero = true | |||
) | [inline, inherited] |
insert N rows at the specified row position, optionally setting the elements of the inserted rows to zero
Reimplemented in Col< eT >, and Col< eT1 >.
Definition at line 2488 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::is_colvec | ( | ) | const [inline, inherited] |
returns true if the object can be interpreted as a column vector
Definition at line 3848 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::is_empty | ( | ) | const [inline, inherited] |
returns true if the matrix has no elements
Definition at line 3812 of file Mat_meat.hpp.
arma_warn_unused bool Mat< eT >::is_finite | ( | ) | const [inline, inherited] |
returns true if all of the elements are finite
Definition at line 3872 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::is_rowvec | ( | ) | const [inline, inherited] |
returns true if the object can be interpreted as a row vector
Definition at line 3836 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::is_square | ( | ) | const [inline, inherited] |
returns true if the object has the same number of non-zero rows and columnns
Definition at line 3860 of file Mat_meat.hpp.
arma_inline arma_warn_unused bool Mat< eT >::is_vec | ( | ) | const [inline, inherited] |
returns true if the object can be interpreted as a column or row vector
Definition at line 3824 of file Mat_meat.hpp.
bool Mat< eT >::load | ( | std::istream & | is, | |
const file_type | type = auto_detect , |
|||
const bool | print_status = true | |||
) | [inline, inherited] |
load a matrix from a stream
Definition at line 4869 of file Mat_meat.hpp.
bool Mat< eT >::load | ( | const std::string | name, | |
const file_type | type = auto_detect , |
|||
const bool | print_status = true | |||
) | [inline, inherited] |
load a matrix from a file
Definition at line 4801 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const mtGlue< eT, T1, T2, glue_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL: create a matrix from mtGlue, i.e. run the previously delayed binary operations.
Definition at line 3525 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const eGlue< T1, T2, eglue_type > & | X | ) | [inline, inherited] |
create a matrix from eGlue, i.e. run the previously delayed binary operations
Definition at line 3380 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const Glue< T1, T2, glue_type > & | X | ) | [inline, inherited] |
create a matrix from Glue, i.e. run the previously delayed binary operations
Definition at line 3214 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const mtOp< eT, T1, op_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL.
Definition at line 3099 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const eOp< T1, eop_type > & | X | ) | [inline, inherited] |
create a matrix from eOp, i.e. run the previously delayed unary operations
Definition at line 2960 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const Op< T1, op_type > & | X | ) | [inline, inherited] |
create a matrix from Op, i.e. run the previously delayed unary operations
Definition at line 2831 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const Gen< eT, gen_type > & | X | ) | [inline, inherited] |
Definition at line 2718 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const subview_elem1< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1663 of file Mat_meat.hpp.
construct a matrix from diagview (e.g. construct a matrix from a delayed diag operation)
Definition at line 1541 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
construct a matrix from a subview_cube instance
Definition at line 1432 of file Mat_meat.hpp.
construct a matrix from subview (e.g. construct a matrix from a delayed submatrix operation)
Definition at line 1311 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const Base< typename Mat< eT >::pod_type, T1 > & | A, | |
const Base< typename Mat< eT >::pod_type, T2 > & | B | |||
) | [inline, inherited] |
for constructing a complex matrix out of two non-complex matrices
Definition at line 1290 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const BaseCube< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 842 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const char | junk, | |
const eT * | aux_mem, | |||
const uword | aux_n_rows, | |||
const uword | aux_n_cols | |||
) | [inline, protected, inherited] |
DANGEROUS! Construct a temporary matrix, using auxiliary memory. This constructor is NOT intended for usage by user code. Its sole purpose is to be used by the Cube class.
Definition at line 742 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const eT * | aux_mem, | |
const uword | aux_n_rows, | |||
const uword | aux_n_cols | |||
) | [inline, inherited] |
construct a matrix from a given auxiliary read-only array of eTs. the array is copied.
Definition at line 719 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | eT * | aux_mem, | |
const uword | aux_n_rows, | |||
const uword | aux_n_cols, | |||
const bool | copy_aux_mem = true , |
|||
const bool | strict = true | |||
) | [inline, inherited] |
construct a matrix from a given auxiliary array of eTs. if copy_aux_mem is true, new memory is allocated and the array is copied. if copy_aux_mem is false, the auxiliary array is used directly (without allocating memory and copying). the default is to copy the array.
Definition at line 695 of file Mat_meat.hpp.
construct a matrix from a given matrix
Definition at line 526 of file Mat_meat.hpp.
create the matrix from a textual description
Definition at line 285 of file Mat_meat.hpp.
create the matrix from a textual description
Definition at line 253 of file Mat_meat.hpp.
Mat< eT >::Mat | ( | const uword | in_rows, | |
const uword | in_cols | |||
) | [inline, inherited] |
construct the matrix to have user specified dimensions
Definition at line 68 of file Mat_meat.hpp.
Definition at line 52 of file Mat_meat.hpp.
eT Mat< eT >::max | ( | uword & | row_of_max_val, | |
uword & | col_of_max_val | |||
) | const [inline, inherited] |
Definition at line 4683 of file Mat_meat.hpp.
Definition at line 4648 of file Mat_meat.hpp.
arma_warn_unused eT Mat< eT >::max | ( | ) | const [inline, inherited] |
Definition at line 4620 of file Mat_meat.hpp.
arma_inline void Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::mem_setup | ( | ) | [inline, private, inherited] |
Definition at line 5401 of file Mat_meat.hpp.
arma_inline arma_warn_unused const eT * Mat< eT >::memptr | ( | ) | const [inline, inherited] |
returns a pointer to array of eTs used by the matrix
Definition at line 4036 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT * Mat< eT >::memptr | ( | ) | [inline, inherited] |
returns a pointer to array of eTs used by the matrix
Definition at line 4024 of file Mat_meat.hpp.
eT Mat< eT >::min | ( | uword & | row_of_min_val, | |
uword & | col_of_min_val | |||
) | const [inline, inherited] |
Definition at line 4662 of file Mat_meat.hpp.
Definition at line 4634 of file Mat_meat.hpp.
arma_warn_unused eT Mat< eT >::min | ( | ) | const [inline, inherited] |
Definition at line 4605 of file Mat_meat.hpp.
arma_hot const Mat< eT > & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::ones | ( | ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 5854 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::ones | ( | const uword | in_rows, | |
const uword | in_cols | |||
) | [inline, inherited] |
Definition at line 4397 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::ones | ( | const uword | in_elem | ) | [inline, inherited] |
Definition at line 4383 of file Mat_meat.hpp.
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 4371 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const mtGlue< eT, T1, T2, glue_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL: in-place matrix element-wise multiplication, with the right-hand-side operands having delayed operations.
Definition at line 3611 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const eGlue< T1, T2, eglue_type > & | X | ) | [inline, inherited] |
Definition at line 3491 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const Glue< T1, T2, glue_type > & | X | ) | [inline, inherited] |
in-place matrix element-wise multiplication, with the right-hand-side operands having delayed operations
Definition at line 3313 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const mtOp< eT, T1, op_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL.
Definition at line 3183 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const eOp< T1, eop_type > & | X | ) | [inline, inherited] |
Definition at line 3065 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const Op< T1, op_type > & | X | ) | [inline, inherited] |
in-place matrix element-wise multiplication, with the right-hand-side operand having delayed operations
Definition at line 2925 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const Gen< eT, gen_type > & | X | ) | [inline, inherited] |
Definition at line 2801 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const subview_elem1< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1742 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const diagview< eT > & | X | ) | [inline, inherited] |
in-place element-wise matrix mutiplication (using a diagview on the right-hand-side)
Definition at line 1634 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
in-place element-wise matrix mutiplication (using a single-slice subcube on the right-hand-side)
Definition at line 1512 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const subview< eT > & | X | ) | [inline, inherited] |
in-place element-wise matrix mutiplication (using a submatrix on the right-hand-side)
Definition at line 1403 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const BaseCube< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1127 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator%= | ( | const Mat< eT > & | m | ) | [inline, inherited] |
in-place element-wise matrix multiplication
Definition at line 809 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator() | ( | const uword | in_row, | |
const uword | in_col | |||
) | const [inline, inherited] |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented from Mat< eT >.
Definition at line 5806 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator() | ( | const uword | in_row, | |
const uword | in_col | |||
) | [inline, inherited] |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented from Mat< eT >.
Definition at line 5790 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator() | ( | const uword | i | ) | const [inline, inherited] |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented from Mat< eT >.
Definition at line 5748 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator() | ( | const uword | i | ) | [inline, inherited] |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented from Mat< eT >.
Definition at line 5734 of file Mat_meat.hpp.
const subview< eT > Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator() | ( | const span & | row_span, | |
const span & | col_span | |||
) | const [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 5672 of file Mat_meat.hpp.
subview< eT > Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator() | ( | const span & | row_span, | |
const span & | col_span | |||
) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 5659 of file Mat_meat.hpp.
const subview_col< eT > Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator() | ( | const span & | row_span, | |
const uword | col_num | |||
) | const [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 5646 of file Mat_meat.hpp.
subview_col< eT > Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator() | ( | const span & | row_span, | |
const uword | col_num | |||
) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 5633 of file Mat_meat.hpp.
const subview_row< eT > Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator() | ( | const uword | row_num, | |
const span & | col_span | |||
) | const [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 5620 of file Mat_meat.hpp.
subview_row< eT > Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator() | ( | const uword | row_num, | |
const span & | col_span | |||
) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 5607 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT Mat< eT >::operator() | ( | const uword | in_row, | |
const uword | in_col | |||
) | const [inline, inherited] |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 3729 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT & Mat< eT >::operator() | ( | const uword | in_row, | |
const uword | in_col | |||
) | [inline, inherited] |
element accessor; bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 3716 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT Mat< eT >::operator() | ( | const uword | i | ) | const [inline, inherited] |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 3656 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT & Mat< eT >::operator() | ( | const uword | i | ) | [inline, inherited] |
linear element accessor (treats the matrix as a vector); bounds checking not done when ARMA_NO_DEBUG is defined
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 3643 of file Mat_meat.hpp.
const subview< eT > Mat< eT >::operator() | ( | const span & | row_span, | |
const span & | col_span | |||
) | const [inline, inherited] |
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 2219 of file Mat_meat.hpp.
subview< eT > Mat< eT >::operator() | ( | const span & | row_span, | |
const span & | col_span | |||
) | [inline, inherited] |
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 2207 of file Mat_meat.hpp.
const subview_col< eT > Mat< eT >::operator() | ( | const span & | row_span, | |
const uword | col_num | |||
) | const [inline, inherited] |
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 1938 of file Mat_meat.hpp.
subview_col< eT > Mat< eT >::operator() | ( | const span & | row_span, | |
const uword | col_num | |||
) | [inline, inherited] |
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 1909 of file Mat_meat.hpp.
const subview_row< eT > Mat< eT >::operator() | ( | const uword | row_num, | |
const span & | col_span | |||
) | const [inline, inherited] |
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 1850 of file Mat_meat.hpp.
subview_row< eT > Mat< eT >::operator() | ( | const uword | row_num, | |
const span & | col_span | |||
) | [inline, inherited] |
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 1821 of file Mat_meat.hpp.
eT Mat< eT >::const_row_iterator::operator* | ( | ) | const [inline, inherited] |
Definition at line 5116 of file Mat_meat.hpp.
eT & Mat< eT >::row_iterator::operator* | ( | ) | [inline, inherited] |
Definition at line 5001 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const mtGlue< eT, T1, T2, glue_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL: in-place matrix multiplications, with the right-hand-side operands having delayed operations.
Definition at line 3593 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const eGlue< T1, T2, eglue_type > & | X | ) | [inline, inherited] |
Definition at line 3474 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const Glue< T1, T2, glue_type > & | X | ) | [inline, inherited] |
in-place matrix multiplications, with the right-hand-side operands having delayed operations
Definition at line 3294 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const mtOp< eT, T1, op_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL.
Definition at line 3167 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const eOp< T1, eop_type > & | X | ) | [inline, inherited] |
Definition at line 3048 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const Op< T1, op_type > & | X | ) | [inline, inherited] |
in-place matrix multiplication, with the right-hand-side operand having delayed operations
Definition at line 2907 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const Gen< eT, gen_type > & | X | ) | [inline, inherited] |
Definition at line 2786 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const subview_elem1< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1727 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const diagview< eT > & | X | ) | [inline, inherited] |
in-place matrix mutiplication (using a diagview on the right-hand-side)
Definition at line 1619 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
in-place matrix mutiplication (using a single-slice subcube on the right-hand-side)
Definition at line 1496 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const subview< eT > & | X | ) | [inline, inherited] |
in-place matrix mutiplication (using a submatrix on the right-hand-side)
Definition at line 1388 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const BaseCube< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1110 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator*= | ( | const Mat< eT > & | m | ) | [inline, inherited] |
in-place matrix multiplication
Definition at line 794 of file Mat_meat.hpp.
arma_inline const Mat< eT > & Mat< eT >::operator*= | ( | const eT | val | ) | [inline, inherited] |
In-place multiplication of all elements of the matrix with a scalar.
Definition at line 497 of file Mat_meat.hpp.
void Mat< eT >::const_row_iterator::operator++ | ( | int | ) | [inline, inherited] |
Definition at line 5144 of file Mat_meat.hpp.
Mat< eT >::const_row_iterator & Mat< eT >::const_row_iterator::operator++ | ( | ) | [inline, inherited] |
Definition at line 5126 of file Mat_meat.hpp.
void Mat< eT >::row_iterator::operator++ | ( | int | ) | [inline, inherited] |
Definition at line 5029 of file Mat_meat.hpp.
Mat< eT >::row_iterator & Mat< eT >::row_iterator::operator++ | ( | ) | [inline, inherited] |
Definition at line 5011 of file Mat_meat.hpp.
arma_inline void Mat< eT >::operator++ | ( | int | ) | [inline, inherited] |
postfix ++ (must not return the object by reference)
Definition at line 3777 of file Mat_meat.hpp.
prefix ++
Definition at line 3765 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const mtGlue< eT, T1, T2, glue_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL: in-place matrix addition, with the right-hand-side operands having delayed operations.
Definition at line 3561 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const eGlue< T1, T2, eglue_type > & | X | ) | [inline, inherited] |
in-place matrix addition, with the right-hand-side operands having delayed operations
Definition at line 3437 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const Glue< T1, T2, glue_times > & | X | ) | [inline, inherited] |
Definition at line 3350 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const Glue< T1, T2, glue_type > & | X | ) | [inline, inherited] |
in-place matrix addition, with the right-hand-side operands having delayed operations
Definition at line 3256 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const mtOp< eT, T1, op_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL.
Definition at line 3135 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const eOp< T1, eop_type > & | X | ) | [inline, inherited] |
Definition at line 3014 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const Op< T1, op_type > & | X | ) | [inline, inherited] |
in-place matrix addition, with the right-hand-side operand having delayed operations
Definition at line 2871 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const Gen< eT, gen_type > & | X | ) | [inline, inherited] |
Definition at line 2756 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const subview_elem1< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1697 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const diagview< eT > & | X | ) | [inline, inherited] |
in-place matrix addition (using a diagview on the right-hand-side)
Definition at line 1590 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
in-place matrix addition (using a single-slice subcube on the right-hand-side)
Definition at line 1466 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const subview< eT > & | X | ) | [inline, inherited] |
in-place matrix addition (using a submatrix on the right-hand-side)
Definition at line 1359 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const BaseCube< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 948 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator+= | ( | const Mat< eT > & | m | ) | [inline, inherited] |
in-place matrix addition
Definition at line 760 of file Mat_meat.hpp.
arma_inline const Mat< eT > & Mat< eT >::operator+= | ( | const eT | val | ) | [inline, inherited] |
In-place addition of a scalar to all elements of the matrix.
Definition at line 467 of file Mat_meat.hpp.
void Mat< eT >::const_row_iterator::operator-- | ( | int | ) | [inline, inherited] |
Definition at line 5177 of file Mat_meat.hpp.
Mat< eT >::const_row_iterator & Mat< eT >::const_row_iterator::operator-- | ( | ) | [inline, inherited] |
Definition at line 5154 of file Mat_meat.hpp.
void Mat< eT >::row_iterator::operator-- | ( | int | ) | [inline, inherited] |
Definition at line 5062 of file Mat_meat.hpp.
Mat< eT >::row_iterator & Mat< eT >::row_iterator::operator-- | ( | ) | [inline, inherited] |
Definition at line 5039 of file Mat_meat.hpp.
arma_inline void Mat< eT >::operator-- | ( | int | ) | [inline, inherited] |
postfix -- (must not return the object by reference)
Definition at line 3800 of file Mat_meat.hpp.
prefix --
Definition at line 3788 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const mtGlue< eT, T1, T2, glue_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL: in-place matrix subtraction, with the right-hand-side operands having delayed operations.
Definition at line 3577 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const eGlue< T1, T2, eglue_type > & | X | ) | [inline, inherited] |
in-place matrix subtraction, with the right-hand-side operands having delayed operations
Definition at line 3456 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const Glue< T1, T2, glue_times > & | X | ) | [inline, inherited] |
Definition at line 3365 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const Glue< T1, T2, glue_type > & | X | ) | [inline, inherited] |
in-place matrix subtraction, with the right-hand-side operands having delayed operations
Definition at line 3275 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const mtOp< eT, T1, op_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL.
Definition at line 3151 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const eOp< T1, eop_type > & | X | ) | [inline, inherited] |
Definition at line 3031 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const Op< T1, op_type > & | X | ) | [inline, inherited] |
in-place matrix subtraction, with the right-hand-side operand having delayed operations
Definition at line 2889 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const Gen< eT, gen_type > & | X | ) | [inline, inherited] |
Definition at line 2771 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const subview_elem1< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1712 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const diagview< eT > & | X | ) | [inline, inherited] |
in-place matrix subtraction (using a diagview on the right-hand-side)
Definition at line 1604 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
in-place matrix subtraction (using a single-slice subcube on the right-hand-side)
Definition at line 1481 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const subview< eT > & | X | ) | [inline, inherited] |
in-place matrix subtraction (using a submatrix on the right-hand-side)
Definition at line 1373 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const BaseCube< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1029 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator-= | ( | const Mat< eT > & | m | ) | [inline, inherited] |
in-place matrix subtraction
Definition at line 777 of file Mat_meat.hpp.
arma_inline const Mat< eT > & Mat< eT >::operator-= | ( | const eT | val | ) | [inline, inherited] |
In-place subtraction of a scalar from all elements of the matrix.
Definition at line 482 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const mtGlue< eT, T1, T2, glue_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL: in-place matrix element-wise division, with the right-hand-side operands having delayed operations.
Definition at line 3627 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const eGlue< T1, T2, eglue_type > & | X | ) | [inline, inherited] |
Definition at line 3508 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const Glue< T1, T2, glue_type > & | X | ) | [inline, inherited] |
in-place matrix element-wise division, with the right-hand-side operands having delayed operations
Definition at line 3332 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const mtOp< eT, T1, op_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL.
Definition at line 3199 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const eOp< T1, eop_type > & | X | ) | [inline, inherited] |
Definition at line 3082 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const Op< T1, op_type > & | X | ) | [inline, inherited] |
in-place matrix element-wise division, with the right-hand-side operand having delayed operations
Definition at line 2943 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const Gen< eT, gen_type > & | X | ) | [inline, inherited] |
Definition at line 2816 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const subview_elem1< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1757 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const diagview< eT > & | X | ) | [inline, inherited] |
in-place element-wise matrix division (using a diagview on the right-hand-side)
Definition at line 1649 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
in-place element-wise matrix division (using a single-slice subcube on the right-hand-side)
Definition at line 1527 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const subview< eT > & | X | ) | [inline, inherited] |
in-place element-wise matrix division (using a submatrix on the right-hand-side)
Definition at line 1418 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const BaseCube< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1208 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator/= | ( | const Mat< eT > & | m | ) | [inline, inherited] |
in-place element-wise matrix division
Definition at line 826 of file Mat_meat.hpp.
arma_inline const Mat< eT > & Mat< eT >::operator/= | ( | const eT | val | ) | [inline, inherited] |
In-place division of all elements of the matrix with a scalar.
Definition at line 512 of file Mat_meat.hpp.
mat_injector< Mat< eT > > Mat< eT >::operator<< | ( | const injector_end_of_row & | x | ) | [inline, inherited] |
Definition at line 1781 of file Mat_meat.hpp.
mat_injector< Mat< eT > > Mat< eT >::operator<< | ( | const eT | val | ) | [inline, inherited] |
Reimplemented in Col< eT >, Row< eT >, Col< eT1 >, and Row< eT1 >.
Definition at line 1771 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator= | ( | const std::string & | text | ) | [inline, inherited] |
create the matrix from a textual description
Reimplemented from Mat< eT >.
Definition at line 5592 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator= | ( | const char * | text | ) | [inline, inherited] |
create the matrix from a textual description
Reimplemented from Mat< eT >.
Definition at line 5577 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator= | ( | const eT | val | ) | [inline, inherited] |
Set the matrix to be equal to the specified scalar. NOTE: the size of the matrix will be 1x1
Reimplemented from Mat< eT >.
Definition at line 5562 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator= | ( | const Base< eT, T1 > & | A | ) | [inline, inherited] |
Definition at line 5549 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const mtGlue< eT, T1, T2, glue_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL: create a matrix from Glue, i.e. run the previously delayed binary operations.
Definition at line 3545 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const eGlue< T1, T2, eglue_type > & | X | ) | [inline, inherited] |
create a matrix from eGlue, i.e. run the previously delayed binary operations
Definition at line 3405 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const Glue< T1, T2, glue_type > & | X | ) | [inline, inherited] |
create a matrix from Glue, i.e. run the previously delayed binary operations
Definition at line 3237 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const mtOp< eT, T1, op_type > & | X | ) | [inline, inherited] |
EXPERIMENTAL.
Definition at line 3119 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const eOp< T1, eop_type > & | X | ) | [inline, inherited] |
create a matrix from eOp, i.e. run the previously delayed unary operations
Definition at line 2984 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const Op< T1, op_type > & | X | ) | [inline, inherited] |
create a matrix from Op, i.e. run the previously delayed unary operations
Definition at line 2853 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const Gen< eT, gen_type > & | X | ) | [inline, inherited] |
Definition at line 2739 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const subview_elem1< eT, T1 > & | X | ) | [inline, inherited] |
Definition at line 1682 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const diagview< eT > & | X | ) | [inline, inherited] |
construct a matrix from diagview (e.g. construct a matrix from a delayed diag operation)
Definition at line 1562 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const subview_cube< eT > & | X | ) | [inline, inherited] |
construct a matrix from a subview_cube instance
Reimplemented in Col< eT >, Col< eT >::fixed< fixed_n_elem >, Row< eT >, Row< eT >::fixed< fixed_n_elem >, Col< eT1 >, and Row< eT1 >.
Definition at line 1451 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const subview< eT > & | X | ) | [inline, inherited] |
construct a matrix from subview (e.g. construct a matrix from a delayed submatrix operation)
Definition at line 1332 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const BaseCube< eT, T1 > & | X | ) | [inline, inherited] |
Reimplemented in Col< eT >, Row< eT >, Col< eT1 >, and Row< eT1 >.
Definition at line 861 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const Mat< eT > & | m | ) | [inline, inherited] |
construct a matrix from a given matrix
Definition at line 547 of file Mat_meat.hpp.
arma_inline const Mat< eT > & Mat< eT >::operator= | ( | const eT | val | ) | [inline, inherited] |
Set the matrix to be equal to the specified scalar. NOTE: the size of the matrix will be 1x1
Reimplemented in Col< eT >, Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, Row< eT >, Row< eT >::fixed< fixed_n_elem >, Col< eT1 >, and Row< eT1 >.
Definition at line 452 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const std::string & | text | ) | [inline, inherited] |
create the matrix from a textual description
Reimplemented in Col< eT >, Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, Row< eT >, Row< eT >::fixed< fixed_n_elem >, Col< eT1 >, and Row< eT1 >.
Definition at line 304 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::operator= | ( | const char * | text | ) | [inline, inherited] |
create the matrix from a textual description
Reimplemented in Col< eT >, Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, Row< eT >, Row< eT >::fixed< fixed_n_elem >, Col< eT1 >, and Row< eT1 >.
Definition at line 272 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator[] | ( | const uword | i | ) | const [inline, inherited] |
linear element accessor (treats the matrix as a vector); no bounds check
Reimplemented from Mat< eT >.
Definition at line 5698 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::operator[] | ( | const uword | i | ) | [inline, inherited] |
linear element accessor (treats the matrix as a vector); no bounds check.
Reimplemented from Mat< eT >.
Definition at line 5686 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT Mat< eT >::operator[] | ( | const uword | i | ) | const [inline, inherited] |
linear element accessor (treats the matrix as a vector); no bounds check
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 3680 of file Mat_meat.hpp.
arma_inline arma_warn_unused eT & Mat< eT >::operator[] | ( | const uword | i | ) | [inline, inherited] |
linear element accessor (treats the matrix as a vector); no bounds check.
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 3668 of file Mat_meat.hpp.
arma_inline void Mat_aux::postfix_mm | ( | Mat< std::complex< T > > & | x | ) | [inline, static, inherited] |
postfix ++ for complex numbers (work around for limitations of the std::complex class)
Definition at line 6002 of file Mat_meat.hpp.
arma_inline void Mat_aux::postfix_mm | ( | Mat< eT > & | x | ) | [inline, static, inherited] |
postfix --
Definition at line 5977 of file Mat_meat.hpp.
arma_inline void Mat_aux::postfix_pp | ( | Mat< std::complex< T > > & | x | ) | [inline, static, inherited] |
postfix ++ for complex numbers (work around for limitations of the std::complex class)
Definition at line 5930 of file Mat_meat.hpp.
arma_inline void Mat_aux::postfix_pp | ( | Mat< eT > & | x | ) | [inline, static, inherited] |
postfix ++
Definition at line 5905 of file Mat_meat.hpp.
arma_inline void Mat_aux::prefix_mm | ( | Mat< std::complex< T > > & | x | ) | [inline, static, inherited] |
prefix -- for complex numbers (work around for limitations of the std::complex class)
Definition at line 5966 of file Mat_meat.hpp.
arma_inline void Mat_aux::prefix_mm | ( | Mat< eT > & | x | ) | [inline, static, inherited] |
prefix --
Definition at line 5941 of file Mat_meat.hpp.
arma_inline void Mat_aux::prefix_pp | ( | Mat< std::complex< T > > & | x | ) | [inline, static, inherited] |
prefix ++ for complex numbers (work around for limitations of the std::complex class)
Definition at line 5894 of file Mat_meat.hpp.
arma_inline void Mat_aux::prefix_pp | ( | Mat< eT > & | x | ) | [inline, static, inherited] |
prefix ++
Definition at line 5869 of file Mat_meat.hpp.
bool Mat< eT >::quiet_load | ( | std::istream & | is, | |
const file_type | type = auto_detect | |||
) | [inline, inherited] |
load a matrix from a stream, without printing any error messages
Definition at line 4977 of file Mat_meat.hpp.
bool Mat< eT >::quiet_load | ( | const std::string | name, | |
const file_type | type = auto_detect | |||
) | [inline, inherited] |
load a matrix from a file, without printing any error messages
Definition at line 4964 of file Mat_meat.hpp.
bool Mat< eT >::quiet_save | ( | std::ostream & | os, | |
const file_type | type = arma_binary | |||
) | const [inline, inherited] |
save the matrix to a stream, without printing any error messages
Definition at line 4951 of file Mat_meat.hpp.
bool Mat< eT >::quiet_save | ( | const std::string | name, | |
const file_type | type = arma_binary | |||
) | const [inline, inherited] |
save the matrix to a file, without printing any error messages
Definition at line 4938 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::randn | ( | const uword | in_rows, | |
const uword | in_cols | |||
) | [inline, inherited] |
Definition at line 4504 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::randn | ( | const uword | in_elem | ) | [inline, inherited] |
Definition at line 4490 of file Mat_meat.hpp.
Definition at line 4470 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::randu | ( | const uword | in_rows, | |
const uword | in_cols | |||
) | [inline, inherited] |
Definition at line 4456 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::randu | ( | const uword | in_elem | ) | [inline, inherited] |
Definition at line 4442 of file Mat_meat.hpp.
Definition at line 4411 of file Mat_meat.hpp.
void Mat< eT >::reset | ( | ) | [inline, inherited] |
Definition at line 4553 of file Mat_meat.hpp.
void Mat< eT >::reshape | ( | const uword | in_rows, | |
const uword | in_cols, | |||
const uword | dim = 0 | |||
) | [inline, inherited] |
change the matrix to have user specified dimensions (data is preserved)
Definition at line 4289 of file Mat_meat.hpp.
void Mat< eT >::resize | ( | const uword | in_rows, | |
const uword | in_cols | |||
) | [inline, inherited] |
change the matrix to have user specified dimensions (data is preserved)
Definition at line 4276 of file Mat_meat.hpp.
change the matrix to have user specified dimensions (data is preserved)
Definition at line 4250 of file Mat_meat.hpp.
arma_inline const subview_row< eT > Mat< eT >::row | ( | const uword | row_num | ) | const [inline, inherited] |
creation of subview (row vector)
Reimplemented in Col< eT >, and Col< eT1 >.
Definition at line 1807 of file Mat_meat.hpp.
arma_inline subview_row< eT > Mat< eT >::row | ( | const uword | row_num | ) | [inline, inherited] |
creation of subview (row vector)
Reimplemented in Col< eT >, and Col< eT1 >.
Definition at line 1792 of file Mat_meat.hpp.
Mat< eT >::row_iterator::row_iterator | ( | Mat< eT > & | in_M, | |
const uword | in_row | |||
) | [inline, inherited] |
Definition at line 4988 of file Mat_meat.hpp.
arma_inline const subview< eT > Mat< eT >::rows | ( | const uword | in_row1, | |
const uword | in_row2 | |||
) | const [inline, inherited] |
creation of subview (submatrix comprised of specified row vectors)
Reimplemented in Col< eT >, and Col< eT1 >.
Definition at line 2029 of file Mat_meat.hpp.
arma_inline subview< eT > Mat< eT >::rows | ( | const uword | in_row1, | |
const uword | in_row2 | |||
) | [inline, inherited] |
creation of subview (submatrix comprised of specified row vectors)
Reimplemented in Col< eT >, and Col< eT1 >.
Definition at line 2008 of file Mat_meat.hpp.
bool Mat< eT >::save | ( | std::ostream & | os, | |
const file_type | type = arma_binary , |
|||
const bool | print_status = true | |||
) | const [inline, inherited] |
save the matrix to a stream
Definition at line 4753 of file Mat_meat.hpp.
bool Mat< eT >::save | ( | const std::string | name, | |
const file_type | type = arma_binary , |
|||
const bool | print_status = true | |||
) | const [inline, inherited] |
save the matrix to a file
Definition at line 4705 of file Mat_meat.hpp.
void Mat_aux::set_imag | ( | Mat< std::complex< T > > & | out, | |
const Base< T, T1 > & | X | |||
) | [inline, static, inherited] |
Definition at line 6066 of file Mat_meat.hpp.
void Mat_aux::set_imag | ( | Mat< eT > & | out, | |
const Base< eT, T1 > & | X | |||
) | [inline, static, inherited] |
Definition at line 6029 of file Mat_meat.hpp.
void Mat< eT >::set_imag | ( | const Base< typename Mat< eT >::pod_type, T1 > & | X | ) | [inline, inherited] |
Definition at line 4592 of file Mat_meat.hpp.
void Mat_aux::set_real | ( | Mat< std::complex< T > > & | out, | |
const Base< T, T1 > & | X | |||
) | [inline, static, inherited] |
Definition at line 6039 of file Mat_meat.hpp.
void Mat_aux::set_real | ( | Mat< eT > & | out, | |
const Base< eT, T1 > & | X | |||
) | [inline, static, inherited] |
Definition at line 6012 of file Mat_meat.hpp.
void Mat< eT >::set_real | ( | const Base< typename Mat< eT >::pod_type, T1 > & | X | ) | [inline, inherited] |
Definition at line 4579 of file Mat_meat.hpp.
void Mat< eT >::set_size | ( | const uword | in_rows, | |
const uword | in_cols | |||
) | [inline, inherited] |
change the matrix to have user specified dimensions (data is not preserved)
Definition at line 4237 of file Mat_meat.hpp.
change the matrix to have user specified dimensions (data is not preserved)
Definition at line 4211 of file Mat_meat.hpp.
remove specified column
Reimplemented in Row< eT >, and Row< eT1 >.
Definition at line 2404 of file Mat_meat.hpp.
void Mat< eT >::shed_cols | ( | const uword | in_col1, | |
const uword | in_col2 | |||
) | [inline, inherited] |
remove specified columns
Reimplemented in Row< eT >, and Row< eT1 >.
Definition at line 2453 of file Mat_meat.hpp.
remove specified row
Reimplemented in Col< eT >, and Col< eT1 >.
Definition at line 2389 of file Mat_meat.hpp.
void Mat< eT >::shed_rows | ( | const uword | in_row1, | |
const uword | in_row2 | |||
) | [inline, inherited] |
remove specified rows
Reimplemented in Col< eT >, and Col< eT1 >.
Definition at line 2419 of file Mat_meat.hpp.
returns the number of elements in this matrix
Definition at line 5390 of file Mat_meat.hpp.
try to steal the memory from a given matrix; if memory can't be stolen, copy the given matrix
Definition at line 630 of file Mat_meat.hpp.
const subview< eT > Mat< eT >::submat | ( | const span & | row_span, | |
const span & | col_span | |||
) | const [inline, inherited] |
creation of subview (generic submatrix)
Definition at line 2172 of file Mat_meat.hpp.
subview< eT > Mat< eT >::submat | ( | const span & | row_span, | |
const span & | col_span | |||
) | [inline, inherited] |
creation of subview (submatrix)
Definition at line 2136 of file Mat_meat.hpp.
arma_inline const subview< eT > Mat< eT >::submat | ( | const uword | in_row1, | |
const uword | in_col1, | |||
const uword | in_row2, | |||
const uword | in_col2 | |||
) | const [inline, inherited] |
creation of subview (generic submatrix)
Definition at line 2114 of file Mat_meat.hpp.
arma_inline subview< eT > Mat< eT >::submat | ( | const uword | in_row1, | |
const uword | in_col1, | |||
const uword | in_row2, | |||
const uword | in_col2 | |||
) | [inline, inherited] |
creation of subview (submatrix)
Definition at line 2092 of file Mat_meat.hpp.
void Mat< eT >::swap_cols | ( | const uword | in_col1, | |
const uword | in_col2 | |||
) | [inline, inherited] |
Definition at line 2359 of file Mat_meat.hpp.
void Mat< eT >::swap_rows | ( | const uword | in_row1, | |
const uword | in_row2 | |||
) | [inline, inherited] |
Definition at line 2331 of file Mat_meat.hpp.
const Col< eT > Mat< eT >::unsafe_col | ( | const uword | col_num | ) | const [inline, inherited] |
create a Col object which uses memory from an existing matrix object. this approach is currently not alias safe and does not take into account that the parent matrix object could be deleted. if deleted memory is accessed by the created Col object, it will cause memory corruption and/or a crash
Definition at line 1991 of file Mat_meat.hpp.
create a Col object which uses memory from an existing matrix object. this approach is currently not alias safe and does not take into account that the parent matrix object could be deleted. if deleted memory is accessed by the created Col object, it will cause memory corruption and/or a crash
Definition at line 1972 of file Mat_meat.hpp.
arma_hot const Mat< eT > & Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::zeros | ( | ) | [inline, inherited] |
Reimplemented from Mat< eT >.
Definition at line 5838 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::zeros | ( | const uword | in_rows, | |
const uword | in_cols | |||
) | [inline, inherited] |
Definition at line 4357 of file Mat_meat.hpp.
const Mat< eT > & Mat< eT >::zeros | ( | const uword | in_elem | ) | [inline, inherited] |
Definition at line 4343 of file Mat_meat.hpp.
Reimplemented in Col< eT >::fixed< fixed_n_elem >, Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >, and Row< eT >::fixed< fixed_n_elem >.
Definition at line 4331 of file Mat_meat.hpp.
Definition at line 20 of file Mat_meat.hpp.