Classes | Functions
Col

Classes

class  Col< eT >
 Class for column vectors (matrices with only one column) More...
 

Functions

arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::at (const uword i)
 
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::at (const uword i) const
 
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::at (const uword in_row, const uword in_col)
 
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::at (const uword in_row, const uword in_col) const
 
row_iterator Col< eT >::begin_row (const uword row_num)
 
const_row_iterator Col< eT >::begin_row (const uword row_num) const
 
arma_inline void Col< eT >::fixed< fixed_n_elem >::change_to_row ()
 
 Col< eT >::Col ()
 construct an empty column vector More...
 
 Col< eT >::Col (const Col< eT > &X)
 
 Col< eT >::Col (const uword n_elem)
 construct a column vector with the specified number of n_elem More...
 
 Col< eT >::Col (const uword in_rows, const uword in_cols)
 
 Col< eT >::Col (const char *text)
 construct a column vector from specified text More...
 
 Col< eT >::Col (const std::string &text)
 construct a column vector from specified text More...
 
template<typename T1 >
 Col< eT >::Col (const Base< eT, T1 > &X)
 
 Col< eT >::Col (eT *aux_mem, const uword aux_length, const bool copy_aux_mem=true, const bool strict=true)
 construct a column vector from a given auxiliary array of eTs More...
 
 Col< eT >::Col (const eT *aux_mem, const uword aux_length)
 construct a column vector from a given auxiliary array of eTs More...
 
template<typename T1 >
 Col< eT >::Col (const BaseCube< eT, T1 > &X)
 
 Col< eT >::Col (const subview_cube< eT > &X)
 
template<typename T1 , typename T2 >
 Col< eT >::Col (const Base< typename Col< eT >::pod_type, T1 > &A, const Base< typename Col< eT >::pod_type, T2 > &B)
 
row_iterator Col< eT >::end_row (const uword row_num)
 
const_row_iterator Col< eT >::end_row (const uword row_num) const
 
arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::fill (const eT val)
 
arma_inline Col< eT >::fixed< fixed_n_elem >::fixed ()
 
arma_inline Col< eT >::fixed< fixed_n_elem >::fixed (const fixed< fixed_n_elem > &X)
 
 Col< eT >::fixed< fixed_n_elem >::fixed (const subview_cube< eT > &X)
 
template<typename T1 >
 Col< eT >::fixed< fixed_n_elem >::fixed (const Base< eT, T1 > &A)
 
template<typename T1 , typename T2 >
 Col< eT >::fixed< fixed_n_elem >::fixed (const Base< pod_type, T1 > &A, const Base< pod_type, T2 > &B)
 
 Col< eT >::fixed< fixed_n_elem >::fixed (eT *aux_mem, const bool copy_aux_mem=true)
 
 Col< eT >::fixed< fixed_n_elem >::fixed (const eT *aux_mem)
 
 Col< eT >::fixed< fixed_n_elem >::fixed (const char *text)
 
 Col< eT >::fixed< fixed_n_elem >::fixed (const std::string &text)
 
void Col< eT >::insert_rows (const uword row_num, const uword N, const bool set_to_zero=true)
 
template<typename T1 >
void Col< eT >::insert_rows (const uword row_num, const Base< eT, T1 > &X)
 
arma_inline void Col< eT >::fixed< fixed_n_elem >::mem_setup ()
 
arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::ones ()
 
subview_row< eT > Col< eT >::fixed< fixed_n_elem >::operator() (const uword row_num, const span &col_span)
 
const subview_row< eT > Col< eT >::fixed< fixed_n_elem >::operator() (const uword row_num, const span &col_span) const
 
subview_col< eT > Col< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const uword col_num)
 
const subview_col< eT > Col< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const uword col_num) const
 
subview< eT > Col< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const span &col_span)
 
const subview< eT > Col< eT >::fixed< fixed_n_elem >::operator() (const span &row_span, const span &col_span) const
 
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator() (const uword i)
 
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::operator() (const uword i) const
 
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator() (const uword in_row, const uword in_col)
 
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::operator() (const uword in_row, const uword in_col) const
 
mat_injector< ColCol< eT >::operator<< (const eT val)
 
const ColCol< eT >::operator= (const char *text)
 construct a column vector from specified text More...
 
const ColCol< eT >::operator= (const std::string &text)
 construct a column vector from specified text More...
 
const ColCol< eT >::operator= (const eT val)
 
const ColCol< eT >::operator= (const subview_cube< eT > &X)
 
const ColCol< eT >::fixed< fixed_n_elem >::operator= (const eT val)
 
const ColCol< eT >::fixed< fixed_n_elem >::operator= (const char *text)
 
const ColCol< eT >::fixed< fixed_n_elem >::operator= (const std::string &text)
 
const ColCol< eT >::fixed< fixed_n_elem >::operator= (const subview_cube< eT > &X)
 
template<typename T1 >
const Col< eT > & Col< eT >::operator= (const Base< eT, T1 > &X)
 
template<typename T1 >
const Col< eT > & Col< eT >::operator= (const BaseCube< eT, T1 > &X)
 
template<typename T1 >
const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= (const Base< eT, T1 > &A)
 
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator[] (const uword i)
 
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::operator[] (const uword i) const
 
arma_inline eT & Col< eT >::row (const uword row_num)
 
arma_inline eT Col< eT >::row (const uword row_num) const
 
arma_inline subview_col< eT > Col< eT >::rows (const uword in_row1, const uword in_row2)
 
arma_inline const subview_col< eT > Col< eT >::rows (const uword in_row1, const uword in_row2) const
 
void Col< eT >::shed_row (const uword row_num)
 remove specified row More...
 
void Col< eT >::shed_rows (const uword in_row1, const uword in_row2)
 remove specified rows More...
 
arma_inline subview_col< eT > Col< eT >::subvec (const uword in_row1, const uword in_row2)
 
arma_inline const subview_col< eT > Col< eT >::subvec (const uword in_row1, const uword in_row2) const
 
arma_inline subview_col< eT > Col< eT >::subvec (const span &row_span)
 
arma_inline const subview_col< eT > Col< eT >::subvec (const span &row_span) const
 
arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::zeros ()
 

Detailed Description

Function Documentation

template<typename eT >
template<uword fixed_n_elem>
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::at ( const uword  i)

Definition at line 1034 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::at ( const uword  i) const

Definition at line 1046 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::at ( const uword  in_row,
const uword  in_col 
)

Definition at line 1086 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::at ( const uword  in_row,
const uword  in_col 
) const

Definition at line 1098 of file Col_meat.hpp.

template<typename eT >
Col< eT >::row_iterator Col< eT >::begin_row ( const uword  row_num)
inline

Definition at line 614 of file Col_meat.hpp.

template<typename eT >
Col< eT >::const_row_iterator Col< eT >::begin_row ( const uword  row_num) const
inline

Definition at line 628 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline void Col< eT >::fixed< fixed_n_elem >::change_to_row ( )
private

Definition at line 689 of file Col_meat.hpp.

template<typename eT >
Col< eT >::Col ( )
inline

construct an empty column vector

Definition at line 21 of file Col_meat.hpp.

template<typename eT>
Col< eT >::Col ( const Col< eT > &  X)
inline

Definition at line 33 of file Col_meat.hpp.

template<typename eT>
Col< eT >::Col ( const uword  n_elem)
inlineexplicit

construct a column vector with the specified number of n_elem

Definition at line 48 of file Col_meat.hpp.

template<typename eT>
Col< eT >::Col ( const uword  in_rows,
const uword  in_cols 
)
inline

Definition at line 60 of file Col_meat.hpp.

template<typename eT>
Col< eT >::Col ( const char *  text)
inline

construct a column vector from specified text

Definition at line 74 of file Col_meat.hpp.

template<typename eT>
Col< eT >::Col ( const std::string &  text)
inline

construct a column vector from specified text

Definition at line 113 of file Col_meat.hpp.

template<typename eT>
template<typename T1 >
Col< eT >::Col ( const Base< eT, T1 > &  X)
inline

Definition at line 207 of file Col_meat.hpp.

template<typename eT>
Col< eT >::Col ( eT *  aux_mem,
const uword  aux_length,
const bool  copy_aux_mem = true,
const bool  strict = true 
)
inline

construct a column vector from a given auxiliary array of eTs

Definition at line 236 of file Col_meat.hpp.

template<typename eT>
Col< eT >::Col ( const eT *  aux_mem,
const uword  aux_length 
)
inline

construct a column vector from a given auxiliary array of eTs

Definition at line 249 of file Col_meat.hpp.

template<typename eT>
template<typename T1 >
Col< eT >::Col ( const BaseCube< eT, T1 > &  X)
inline

Definition at line 280 of file Col_meat.hpp.

template<typename eT>
Col< eT >::Col ( const subview_cube< eT > &  X)
inline

Definition at line 308 of file Col_meat.hpp.

template<typename eT>
template<typename T1 , typename T2 >
Col< eT >::Col ( const Base< typename Col< eT >::pod_type, T1 > &  A,
const Base< typename Col< eT >::pod_type, T2 > &  B 
)
inline

Definition at line 263 of file Col_meat.hpp.

template<typename eT >
Col< eT >::row_iterator Col< eT >::end_row ( const uword  row_num)
inline

Definition at line 642 of file Col_meat.hpp.

template<typename eT >
Col< eT >::const_row_iterator Col< eT >::end_row ( const uword  row_num) const
inline

Definition at line 656 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::fill ( const eT  val)
inline

Definition at line 1138 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline Col< eT >::fixed< fixed_n_elem >::fixed ( )

Definition at line 702 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline Col< eT >::fixed< fixed_n_elem >::fixed ( const fixed< fixed_n_elem > &  X)

Definition at line 714 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
Col< eT >::fixed< fixed_n_elem >::fixed ( const subview_cube< eT > &  X)
inline

Definition at line 730 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
template<typename T1 >
Col< eT >::fixed< fixed_n_elem >::fixed ( const Base< eT, T1 > &  A)
inline

Definition at line 745 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
template<typename T1 , typename T2 >
Col< eT >::fixed< fixed_n_elem >::fixed ( const Base< pod_type, T1 > &  A,
const Base< pod_type, T2 > &  B 
)
inline

Definition at line 760 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
Col< eT >::fixed< fixed_n_elem >::fixed ( eT *  aux_mem,
const bool  copy_aux_mem = true 
)
inline

Definition at line 774 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
Col< eT >::fixed< fixed_n_elem >::fixed ( const eT *  aux_mem)
inline

Definition at line 803 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
Col< eT >::fixed< fixed_n_elem >::fixed ( const char *  text)
inline

NOTE: this function relies on Col::operator=(text), to change vec_state as well as swapping n_rows and n_cols, and Mat::init(), to check that the given vector will not have a different size than fixed_n_elem.

Definition at line 820 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
Col< eT >::fixed< fixed_n_elem >::fixed ( const std::string &  text)
inline

NOTE: this function relies on Col::operator=(text), to change vec_state as well as swapping n_rows and n_cols, and Mat::init(), to check that the given vector will not have a different size than fixed_n_elem.

Definition at line 839 of file Col_meat.hpp.

template<typename eT >
void Col< eT >::insert_rows ( const uword  row_num,
const uword  N,
const bool  set_to_zero = true 
)
inline

insert N rows at the specified row position, optionally setting the elements of the inserted rows to zero

Definition at line 556 of file Col_meat.hpp.

template<typename eT>
template<typename T1 >
void Col< eT >::insert_rows ( const uword  row_num,
const Base< eT, T1 > &  X 
)
inline

insert the given object at the specified row position; the given object must have one column

Definition at line 602 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline void Col< eT >::fixed< fixed_n_elem >::mem_setup ( )
private

Definition at line 671 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::ones ( )
inline

Definition at line 1170 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
subview_row< eT > Col< eT >::fixed< fixed_n_elem >::operator() ( const uword  row_num,
const span col_span 
)
inline

Definition at line 931 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
const subview_row< eT > Col< eT >::fixed< fixed_n_elem >::operator() ( const uword  row_num,
const span col_span 
) const
inline

Definition at line 944 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
subview_col< eT > Col< eT >::fixed< fixed_n_elem >::operator() ( const span row_span,
const uword  col_num 
)
inline

Definition at line 957 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
const subview_col< eT > Col< eT >::fixed< fixed_n_elem >::operator() ( const span row_span,
const uword  col_num 
) const
inline

Definition at line 970 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
subview< eT > Col< eT >::fixed< fixed_n_elem >::operator() ( const span row_span,
const span col_span 
)
inline

Definition at line 983 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
const subview< eT > Col< eT >::fixed< fixed_n_elem >::operator() ( const span row_span,
const span col_span 
) const
inline

Definition at line 996 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator() ( const uword  i)

Definition at line 1058 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::operator() ( const uword  i) const

Definition at line 1072 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator() ( const uword  in_row,
const uword  in_col 
)

Definition at line 1110 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::operator() ( const uword  in_row,
const uword  in_col 
) const

Definition at line 1124 of file Col_meat.hpp.

template<typename eT>
mat_injector< Col< eT > > Col< eT >::operator<< ( const eT  val)
inline

Definition at line 336 of file Col_meat.hpp.

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

construct a column vector from specified text

Definition at line 93 of file Col_meat.hpp.

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

construct a column vector from specified text

Definition at line 132 of file Col_meat.hpp.

template<typename eT>
const Col< eT > & Col< eT >::operator= ( const eT  val)
inline

Definition at line 193 of file Col_meat.hpp.

template<typename eT>
const Col< eT > & Col< eT >::operator= ( const subview_cube< eT > &  X)
inline

Definition at line 322 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= ( const eT  val)
inline

Definition at line 870 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= ( const char *  text)
inline

Definition at line 884 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= ( const std::string &  text)
inline

Definition at line 900 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
const Col< eT > & Col< eT >::fixed< fixed_n_elem >::operator= ( const subview_cube< eT > &  X)
inline

Definition at line 916 of file Col_meat.hpp.

template<typename eT>
template<typename T1 >
const Col<eT>& Col< eT >::operator= ( const Base< eT, T1 > &  X)
inline

Definition at line 222 of file Col_meat.hpp.

template<typename eT>
template<typename T1 >
const Col<eT>& Col< eT >::operator= ( const BaseCube< eT, T1 > &  X)
inline

Definition at line 295 of file Col_meat.hpp.

template<typename eT>
template<uword fixed_n_elem>
template<typename T1 >
const Col<eT>& Col< eT >::fixed< fixed_n_elem >::operator= ( const Base< eT, T1 > &  A)

Definition at line 856 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline arma_warn_unused eT & Col< eT >::fixed< fixed_n_elem >::operator[] ( const uword  i)

Definition at line 1010 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_inline arma_warn_unused eT Col< eT >::fixed< fixed_n_elem >::operator[] ( const uword  i) const

Definition at line 1022 of file Col_meat.hpp.

template<typename eT >
arma_inline eT & Col< eT >::row ( const uword  row_num)

Definition at line 346 of file Col_meat.hpp.

template<typename eT >
arma_inline eT Col< eT >::row ( const uword  row_num) const

Definition at line 358 of file Col_meat.hpp.

template<typename eT >
arma_inline subview_col< eT > Col< eT >::rows ( const uword  in_row1,
const uword  in_row2 
)

Definition at line 370 of file Col_meat.hpp.

template<typename eT >
arma_inline const subview_col< eT > Col< eT >::rows ( const uword  in_row1,
const uword  in_row2 
) const

Definition at line 386 of file Col_meat.hpp.

template<typename eT >
void Col< eT >::shed_row ( const uword  row_num)
inline

remove specified row

Definition at line 503 of file Col_meat.hpp.

template<typename eT >
void Col< eT >::shed_rows ( const uword  in_row1,
const uword  in_row2 
)
inline

remove specified rows

Definition at line 518 of file Col_meat.hpp.

template<typename eT >
arma_inline subview_col< eT > Col< eT >::subvec ( const uword  in_row1,
const uword  in_row2 
)

Definition at line 402 of file Col_meat.hpp.

template<typename eT >
arma_inline const subview_col< eT > Col< eT >::subvec ( const uword  in_row1,
const uword  in_row2 
) const

Definition at line 418 of file Col_meat.hpp.

template<typename eT >
arma_inline subview_col< eT > Col< eT >::subvec ( const span row_span)

Definition at line 434 of file Col_meat.hpp.

template<typename eT >
arma_inline const subview_col< eT > Col< eT >::subvec ( const span row_span) const

Definition at line 456 of file Col_meat.hpp.

template<typename eT >
template<uword fixed_n_elem>
arma_hot const Col< eT > & Col< eT >::fixed< fixed_n_elem >::zeros ( )
inline

Definition at line 1154 of file Col_meat.hpp.



armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:31:59