33 inline Col(
const char* text);
36 inline Col(
const std::string& text);
39 #if defined(ARMA_USE_CXX11) 40 inline Col(
const std::initializer_list<eT>& list);
41 inline const Col&
operator=(
const std::initializer_list<eT>& list);
50 inline Col( eT* aux_mem,
const uword aux_length,
const bool copy_aux_mem =
true,
const bool strict =
true);
51 inline Col(
const eT* aux_mem,
const uword aux_length);
53 template<
typename T1,
typename T2>
94 inline const_row_iterator
end_row (
const uword row_num)
const;
97 template<uword fixed_n_elem>
123 inline fixed( eT* aux_mem,
const bool copy_aux_mem =
true);
124 inline fixed(
const eT* aux_mem);
126 inline fixed(
const char* text);
127 inline fixed(
const std::string& text);
163 #ifdef ARMA_EXTRA_COL_PROTO 164 #include ARMA_INCFILE_WRAP(ARMA_EXTRA_COL_PROTO)
static const uword mat_prealloc
static const uword n_elem
arma_hot const Col< eT > & zeros()
arma_inline arma_warn_unused eT & operator[](const uword i)
mat_injector< Col > operator<<(const eT val)
const uword n_elem
number of elements in the matrix (read-only)
static const uword n_cols
const Col & operator=(const char *text)
construct a column vector from specified text
arma_inline void mem_setup()
arma_inline void change_to_row()
arma_inline eT & row(const uword row_num)
arma_aligned eT mem_local_extra[(use_extra)?fixed_n_elem:1]
Col()
construct an empty column vector
arma_inline subview_col< eT > rows(const uword in_row1, const uword in_row2)
Class for column vectors (matrices with only one column)
get_pod_type< eT >::result pod_type
static const bool use_extra
void insert_rows(const uword row_num, const uword N, const bool set_to_zero=true)
arma_inline arma_warn_unused eT & at(const uword i)
row_iterator begin_row(const uword row_num)
arma_hot const Col< eT > & fill(const eT val)
Analog of the Base class, intended for cubes.
subview_row< eT > operator()(const uword row_num, const span &col_span)
const Col & operator=(const Base< eT, T1 > &A)
arma_inline subview_col< eT > subvec(const uword in_row1, const uword in_row2)
static const uword n_rows
arma_hot const Col< eT > & ones()
void shed_row(const uword row_num)
remove specified row
const eT * const_row_iterator
void shed_rows(const uword in_row1, const uword in_row2)
remove specified rows
row_iterator end_row(const uword row_num)