$search

Subview

Classes

class  subview< eT >
class  subview_col< eT >
class  subview_row< eT >

Functions

eT subview::at (const uword in_row, const uword in_col) const
eT & subview::at (const uword in_row, const uword in_col)
bool subview::check_overlap (const subview &x) const
const subview_col< eT > subview::col (const uword col_num) const
 creation of subview (column vector)
subview_col< eT > subview::col (const uword col_num)
 creation of subview (column vector)
arma_inline const eT * subview::colptr (const uword in_col) const
arma_inline eT * subview::colptr (const uword in_col)
const subview_row< eT > subview_row::cols (const uword in_col1, const uword in_col2) const
 creation of subview (submatrix comprised of specified column vectors)
subview_row< eT > subview_row::cols (const uword in_col1, const uword in_col2)
 creation of subview (submatrix comprised of specified column vectors)
const subview< eT > subview::cols (const uword in_col1, const uword in_col2) const
 creation of subview (submatrix comprised of specified column vectors)
subview< eT > subview::cols (const uword in_col1, const uword in_col2)
 creation of subview (submatrix comprised of specified column vectors)
const diagview< eT > subview::diag (const sword in_id=0) const
 creation of diagview (diagonal)
diagview< eT > subview::diag (const sword in_id=0)
 creation of diagview (diagonal)
static void subview::div_inplace (Mat< eT > &out, const subview &in)
 X /= Y.submat(...).
static void subview::extract (Mat< eT > &out, const subview &in)
 X = Y.submat(...).
void subview::eye ()
void subview::fill (const eT val)
bool subview::is_vec () const
static void subview::minus_inplace (Mat< eT > &out, const subview &in)
 X -= Y.submat(...).
void subview::ones ()
void subview::operator%= (const subview &x)
template<typename T1 >
void subview::operator%= (const Base< eT, T1 > &x)
const subview< eT > subview::operator() (const span &row_span, const span &col_span) const
subview< eT > subview::operator() (const span &row_span, const span &col_span)
const subview_col< eT > subview::operator() (const span &row_span, const uword col_num) const
subview_col< eT > subview::operator() (const span &row_span, const uword col_num)
const subview_row< eT > subview::operator() (const uword row_num, const span &col_span) const
subview_row< eT > subview::operator() (const uword row_num, const span &col_span)
eT subview::operator() (const uword in_row, const uword in_col) const
eT & subview::operator() (const uword in_row, const uword in_col)
eT subview::operator() (const uword i) const
eT & subview::operator() (const uword i)
void subview::operator*= (const eT val)
void subview::operator+= (const subview &x)
template<typename T1 >
void subview::operator+= (const Base< eT, T1 > &x)
void subview::operator+= (const eT val)
void subview::operator-= (const subview &x)
template<typename T1 >
void subview::operator-= (const Base< eT, T1 > &x)
void subview::operator-= (const eT val)
void subview::operator/= (const subview &x)
template<typename T1 >
void subview::operator/= (const Base< eT, T1 > &x)
void subview::operator/= (const eT val)
template<typename T1 >
void subview_row::operator= (const Base< eT, T1 > &x)
void subview_row::operator= (const subview_row &x)
void subview_row::operator= (const subview< eT > &x)
 x.submat(...) = y.submat(...)
template<typename T1 >
void subview_col::operator= (const Base< eT, T1 > &x)
void subview_col::operator= (const subview_col &x)
void subview_col::operator= (const subview< eT > &x)
 x.submat(...) = y.submat(...)
void subview::operator= (const subview &x)
 x.submat(...) = y.submat(...)
template<typename T1 >
void subview::operator= (const Base< eT, T1 > &x)
eT subview::operator[] (const uword i) const
eT & subview::operator[] (const uword i)
static void subview::plus_inplace (Mat< eT > &out, const subview &in)
 X += Y.submat(...).
const subview_row< eT > subview::row (const uword row_num) const
 creation of subview (row vector)
subview_row< eT > subview::row (const uword row_num)
 creation of subview (row vector)
const subview_col< eT > subview_col::rows (const uword in_row1, const uword in_row2) const
 creation of subview (submatrix comprised of specified row vectors)
subview_col< eT > subview_col::rows (const uword in_row1, const uword in_row2)
 creation of subview (submatrix comprised of specified row vectors)
const subview< eT > subview::rows (const uword in_row1, const uword in_row2) const
 creation of subview (submatrix comprised of specified row vectors)
subview< eT > subview::rows (const uword in_row1, const uword in_row2)
 creation of subview (submatrix comprised of specified row vectors)
static void subview::schur_inplace (Mat< eT > &out, const subview &in)
 X = Y.submat(...).
const subview< eT > subview::submat (const span &row_span, const span &col_span) const
 creation of subview (generic submatrix)
subview< eT > subview::submat (const span &row_span, const span &col_span)
 creation of subview (submatrix)
const subview< eT > subview::submat (const uword in_row1, const uword in_col1, const uword in_row2, const uword in_col2) const
 creation of subview (generic submatrix)
subview< eT > subview::submat (const uword in_row1, const uword in_col1, const uword in_row2, const uword in_col2)
 creation of subview (submatrix)
const subview_row< eT > subview_row::subvec (const uword in_col1, const uword in_col2) const
subview_row< eT > subview_row::subvec (const uword in_col1, const uword in_col2)
const subview_col< eT > subview_col::subvec (const uword in_row1, const uword in_row2) const
subview_col< eT > subview_col::subvec (const uword in_row1, const uword in_row2)
arma_inline subview::subview (Mat< eT > &in_m, const uword in_row1, const uword in_col1, const uword in_n_rows, const uword in_n_cols)
arma_inline subview::subview (const Mat< eT > &in_m, const uword in_row1, const uword in_col1, const uword in_n_rows, const uword in_n_cols)
 subview_col::subview_col (Mat< eT > &in_m, const uword in_col, const uword in_row1, const uword in_n_rows)
 subview_col::subview_col (const Mat< eT > &in_m, const uword in_col, const uword in_row1, const uword in_n_rows)
 subview_col::subview_col (Mat< eT > &in_m, const uword in_col)
 subview_col::subview_col (const Mat< eT > &in_m, const uword in_col)
 subview_row::subview_row (Mat< eT > &in_m, const uword in_row, const uword in_col1, const uword in_n_cols)
 subview_row::subview_row (const Mat< eT > &in_m, const uword in_row, const uword in_col1, const uword in_n_cols)
 subview_row::subview_row (Mat< eT > &in_m, const uword in_row)
 subview_row::subview_row (const Mat< eT > &in_m, const uword in_row)
void subview::swap_cols (const uword in_col1, const uword in_col2)
void subview::swap_rows (const uword in_row1, const uword in_row2)
const Col< eT > subview::unsafe_col (const uword col_num) const
Col< eT > subview::unsafe_col (const uword col_num)
void subview::zeros ()
 subview::~subview ()

Function Documentation

template<typename eT >
eT subview< eT >::at ( const uword  in_row,
const uword  in_col 
) const [inline, inherited]

Definition at line 1274 of file subview_meat.hpp.

template<typename eT >
eT & subview< eT >::at ( const uword  in_row,
const uword  in_col 
) [inline, inherited]

Definition at line 1263 of file subview_meat.hpp.

template<typename eT >
bool subview< eT >::check_overlap ( const subview< eT > &  x  )  const [inline, inherited]

Definition at line 1305 of file subview_meat.hpp.

template<typename eT >
const subview_col< eT > subview< eT >::col ( const uword  col_num  )  const [inline, inherited]

creation of subview (column vector)

Definition at line 1733 of file subview_meat.hpp.

template<typename eT >
subview_col< eT > subview< eT >::col ( const uword  col_num  )  [inline, inherited]

creation of subview (column vector)

Definition at line 1716 of file subview_meat.hpp.

template<typename eT >
arma_inline const eT * subview< eT >::colptr ( const uword  in_col  )  const [inline, inherited]

Definition at line 1295 of file subview_meat.hpp.

template<typename eT >
arma_inline eT * subview< eT >::colptr ( const uword  in_col  )  [inline, inherited]

Definition at line 1285 of file subview_meat.hpp.

template<typename eT >
const subview_row< eT > subview_row< eT >::cols ( const uword  in_col1,
const uword  in_col2 
) const [inline, inherited]

creation of subview (submatrix comprised of specified column vectors)

Reimplemented from subview< eT >.

Definition at line 2523 of file subview_meat.hpp.

template<typename eT >
subview_row< eT > subview_row< eT >::cols ( const uword  in_col1,
const uword  in_col2 
) [inline, inherited]

creation of subview (submatrix comprised of specified column vectors)

Reimplemented from subview< eT >.

Definition at line 2505 of file subview_meat.hpp.

template<typename eT >
const subview< eT > subview< eT >::cols ( const uword  in_col1,
const uword  in_col2 
) const [inline, inherited]

creation of subview (submatrix comprised of specified column vectors)

Reimplemented in subview_row< eT >.

Definition at line 1918 of file subview_meat.hpp.

template<typename eT >
subview< eT > subview< eT >::cols ( const uword  in_col1,
const uword  in_col2 
) [inline, inherited]

creation of subview (submatrix comprised of specified column vectors)

Reimplemented in subview_row< eT >.

Definition at line 1896 of file subview_meat.hpp.

template<typename eT >
const diagview< eT > subview< eT >::diag ( const sword  in_id = 0  )  const [inline, inherited]

creation of diagview (diagonal)

Definition at line 2119 of file subview_meat.hpp.

template<typename eT >
diagview< eT > subview< eT >::diag ( const sword  in_id = 0  )  [inline, inherited]

creation of diagview (diagonal)

Definition at line 2092 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::div_inplace ( Mat< eT > &  out,
const subview< eT > &  in 
) [inline, static, inherited]

X /= Y.submat(...).

Definition at line 1570 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::extract ( Mat< eT > &  out,
const subview< eT > &  in 
) [inline, static, inherited]

X = Y.submat(...).

Definition at line 1359 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::eye (  )  [inline, inherited]

Definition at line 1158 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::fill ( const eT  val  )  [inline, inherited]

Definition at line 1092 of file subview_meat.hpp.

template<typename eT >
bool subview< eT >::is_vec (  )  const [inline, inherited]

Definition at line 1348 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::minus_inplace ( Mat< eT > &  out,
const subview< eT > &  in 
) [inline, static, inherited]

X -= Y.submat(...).

Definition at line 1474 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::ones (  )  [inline, inherited]

Definition at line 1146 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::operator%= ( const subview< eT > &  x  )  [inline, inherited]

Definition at line 962 of file subview_meat.hpp.

template<typename eT >
template<typename T1 >
void subview< eT >::operator%= ( const Base< eT, T1 > &  x  )  [inline, inherited]

Definition at line 553 of file subview_meat.hpp.

template<typename eT >
const subview< eT > subview< eT >::operator() ( const span row_span,
const span col_span 
) const [inline, inherited]

Definition at line 2079 of file subview_meat.hpp.

template<typename eT >
subview< eT > subview< eT >::operator() ( const span row_span,
const span col_span 
) [inline, inherited]

Definition at line 2067 of file subview_meat.hpp.

template<typename eT >
const subview_col< eT > subview< eT >::operator() ( const span row_span,
const uword  col_num 
) const [inline, inherited]

Definition at line 1781 of file subview_meat.hpp.

template<typename eT >
subview_col< eT > subview< eT >::operator() ( const span row_span,
const uword  col_num 
) [inline, inherited]

Definition at line 1749 of file subview_meat.hpp.

template<typename eT >
const subview_row< eT > subview< eT >::operator() ( const uword  row_num,
const span col_span 
) const [inline, inherited]

Definition at line 1683 of file subview_meat.hpp.

template<typename eT >
subview_row< eT > subview< eT >::operator() ( const uword  row_num,
const span col_span 
) [inline, inherited]

Definition at line 1651 of file subview_meat.hpp.

template<typename eT >
eT subview< eT >::operator() ( const uword  in_row,
const uword  in_col 
) const [inline, inherited]

Definition at line 1250 of file subview_meat.hpp.

template<typename eT >
eT & subview< eT >::operator() ( const uword  in_row,
const uword  in_col 
) [inline, inherited]

Definition at line 1237 of file subview_meat.hpp.

template<typename eT >
eT subview< eT >::operator() ( const uword  i  )  const [inline, inherited]

Definition at line 1221 of file subview_meat.hpp.

template<typename eT >
eT & subview< eT >::operator() ( const uword  i  )  [inline, inherited]

Definition at line 1205 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::operator*= ( const eT  val  )  [inline, inherited]

Definition at line 146 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::operator+= ( const subview< eT > &  x  )  [inline, inherited]

Definition at line 833 of file subview_meat.hpp.

template<typename eT >
template<typename T1 >
void subview< eT >::operator+= ( const Base< eT, T1 > &  x  )  [inline, inherited]

Definition at line 339 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::operator+= ( const eT  val  )  [inline, inherited]

Definition at line 62 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::operator-= ( const subview< eT > &  x  )  [inline, inherited]

Definition at line 897 of file subview_meat.hpp.

template<typename eT >
template<typename T1 >
void subview< eT >::operator-= ( const Base< eT, T1 > &  x  )  [inline, inherited]

Definition at line 447 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::operator-= ( const eT  val  )  [inline, inherited]

Definition at line 104 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::operator/= ( const subview< eT > &  x  )  [inline, inherited]

Definition at line 1027 of file subview_meat.hpp.

template<typename eT >
template<typename T1 >
void subview< eT >::operator/= ( const Base< eT, T1 > &  x  )  [inline, inherited]

Definition at line 661 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::operator/= ( const eT  val  )  [inline, inherited]

Definition at line 188 of file subview_meat.hpp.

template<typename eT >
template<typename T1 >
void subview_row< eT >::operator= ( const Base< eT, T1 > &  x  )  [inline, inherited]

Reimplemented from subview< eT >.

Definition at line 2492 of file subview_meat.hpp.

template<typename eT >
void subview_row< eT >::operator= ( const subview_row< eT > &  x  )  [inline, inherited]

Definition at line 2478 of file subview_meat.hpp.

template<typename eT >
void subview_row< eT >::operator= ( const subview< eT > &  x  )  [inline, inherited]

x.submat(...) = y.submat(...)

Reimplemented from subview< eT >.

Definition at line 2465 of file subview_meat.hpp.

template<typename eT >
template<typename T1 >
void subview_col< eT >::operator= ( const Base< eT, T1 > &  x  )  [inline, inherited]

Reimplemented from subview< eT >.

Definition at line 2334 of file subview_meat.hpp.

template<typename eT >
void subview_col< eT >::operator= ( const subview_col< eT > &  x  )  [inline, inherited]

Definition at line 2320 of file subview_meat.hpp.

template<typename eT >
void subview_col< eT >::operator= ( const subview< eT > &  x  )  [inline, inherited]

x.submat(...) = y.submat(...)

Reimplemented from subview< eT >.

Definition at line 2307 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::operator= ( const subview< eT > &  x  )  [inline, inherited]

x.submat(...) = y.submat(...)

Reimplemented in subview_col< eT >, and subview_row< eT >.

Definition at line 769 of file subview_meat.hpp.

template<typename eT >
template<typename T1 >
void subview< eT >::operator= ( const Base< eT, T1 > &  x  )  [inline, inherited]

Reimplemented in subview_col< eT >, and subview_row< eT >.

Definition at line 231 of file subview_meat.hpp.

template<typename eT >
eT subview< eT >::operator[] ( const uword  i  )  const [inline, inherited]

Definition at line 1191 of file subview_meat.hpp.

template<typename eT >
eT & subview< eT >::operator[] ( const uword  i  )  [inline, inherited]

Definition at line 1177 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::plus_inplace ( Mat< eT > &  out,
const subview< eT > &  in 
) [inline, static, inherited]

X += Y.submat(...).

Definition at line 1426 of file subview_meat.hpp.

template<typename eT >
const subview_row< eT > subview< eT >::row ( const uword  row_num  )  const [inline, inherited]

creation of subview (row vector)

Definition at line 1635 of file subview_meat.hpp.

template<typename eT >
subview_row< eT > subview< eT >::row ( const uword  row_num  )  [inline, inherited]

creation of subview (row vector)

Definition at line 1618 of file subview_meat.hpp.

template<typename eT >
const subview_col< eT > subview_col< eT >::rows ( const uword  in_row1,
const uword  in_row2 
) const [inline, inherited]

creation of subview (submatrix comprised of specified row vectors)

Reimplemented from subview< eT >.

Definition at line 2365 of file subview_meat.hpp.

template<typename eT >
subview_col< eT > subview_col< eT >::rows ( const uword  in_row1,
const uword  in_row2 
) [inline, inherited]

creation of subview (submatrix comprised of specified row vectors)

Reimplemented from subview< eT >.

Definition at line 2347 of file subview_meat.hpp.

template<typename eT >
const subview< eT > subview< eT >::rows ( const uword  in_row1,
const uword  in_row2 
) const [inline, inherited]

creation of subview (submatrix comprised of specified row vectors)

Reimplemented in subview_col< eT >.

Definition at line 1874 of file subview_meat.hpp.

template<typename eT >
subview< eT > subview< eT >::rows ( const uword  in_row1,
const uword  in_row2 
) [inline, inherited]

creation of subview (submatrix comprised of specified row vectors)

Reimplemented in subview_col< eT >.

Definition at line 1852 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::schur_inplace ( Mat< eT > &  out,
const subview< eT > &  in 
) [inline, static, inherited]

X = Y.submat(...).

Definition at line 1522 of file subview_meat.hpp.

template<typename eT >
const subview< eT > subview< eT >::submat ( const span row_span,
const span col_span 
) const [inline, inherited]

creation of subview (generic submatrix)

Definition at line 2029 of file subview_meat.hpp.

template<typename eT >
subview< eT > subview< eT >::submat ( const span row_span,
const span col_span 
) [inline, inherited]

creation of subview (submatrix)

Definition at line 1990 of file subview_meat.hpp.

template<typename eT >
const subview< eT > subview< 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 1965 of file subview_meat.hpp.

template<typename eT >
subview< eT > subview< 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 1940 of file subview_meat.hpp.

template<typename eT >
const subview_row< eT > subview_row< eT >::subvec ( const uword  in_col1,
const uword  in_col2 
) const [inline, inherited]

Definition at line 2559 of file subview_meat.hpp.

template<typename eT >
subview_row< eT > subview_row< eT >::subvec ( const uword  in_col1,
const uword  in_col2 
) [inline, inherited]

Definition at line 2541 of file subview_meat.hpp.

template<typename eT >
const subview_col< eT > subview_col< eT >::subvec ( const uword  in_row1,
const uword  in_row2 
) const [inline, inherited]

Definition at line 2401 of file subview_meat.hpp.

template<typename eT >
subview_col< eT > subview_col< eT >::subvec ( const uword  in_row1,
const uword  in_row2 
) [inline, inherited]

Definition at line 2383 of file subview_meat.hpp.

template<typename eT >
subview< eT >::subview ( Mat< eT > &  in_m,
const uword  in_row1,
const uword  in_col1,
const uword  in_n_rows,
const uword  in_n_cols 
) [inline, protected, inherited]

Definition at line 45 of file subview_meat.hpp.

template<typename eT >
subview< eT >::subview ( const Mat< eT > &  in_m,
const uword  in_row1,
const uword  in_col1,
const uword  in_n_rows,
const uword  in_n_cols 
) [inline, protected, inherited]

Definition at line 29 of file subview_meat.hpp.

template<typename eT >
subview_col< eT >::subview_col ( Mat< eT > &  in_m,
const uword  in_col,
const uword  in_row1,
const uword  in_n_rows 
) [inline, protected, inherited]

Definition at line 2296 of file subview_meat.hpp.

template<typename eT >
subview_col< eT >::subview_col ( const Mat< eT > &  in_m,
const uword  in_col,
const uword  in_row1,
const uword  in_n_rows 
) [inline, protected, inherited]

Definition at line 2286 of file subview_meat.hpp.

template<typename eT >
subview_col< eT >::subview_col ( Mat< eT > &  in_m,
const uword  in_col 
) [inline, protected, inherited]

Definition at line 2276 of file subview_meat.hpp.

template<typename eT >
subview_col< eT >::subview_col ( const Mat< eT > &  in_m,
const uword  in_col 
) [inline, protected, inherited]

Definition at line 2266 of file subview_meat.hpp.

template<typename eT >
subview_row< eT >::subview_row ( Mat< eT > &  in_m,
const uword  in_row,
const uword  in_col1,
const uword  in_n_cols 
) [inline, protected, inherited]

Definition at line 2454 of file subview_meat.hpp.

template<typename eT >
subview_row< eT >::subview_row ( const Mat< eT > &  in_m,
const uword  in_row,
const uword  in_col1,
const uword  in_n_cols 
) [inline, protected, inherited]

Definition at line 2444 of file subview_meat.hpp.

template<typename eT >
subview_row< eT >::subview_row ( Mat< eT > &  in_m,
const uword  in_row 
) [inline, protected, inherited]

Definition at line 2434 of file subview_meat.hpp.

template<typename eT >
subview_row< eT >::subview_row ( const Mat< eT > &  in_m,
const uword  in_row 
) [inline, protected, inherited]

Definition at line 2424 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::swap_cols ( const uword  in_col1,
const uword  in_col2 
) [inline, inherited]

Definition at line 2174 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::swap_rows ( const uword  in_row1,
const uword  in_row2 
) [inline, inherited]

Definition at line 2145 of file subview_meat.hpp.

template<typename eT >
const Col< eT > subview< 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 1837 of file subview_meat.hpp.

template<typename eT >
Col< eT > subview< eT >::unsafe_col ( const uword  col_num  )  [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 1818 of file subview_meat.hpp.

template<typename eT >
void subview< eT >::zeros (  )  [inline, inherited]

Definition at line 1134 of file subview_meat.hpp.

template<typename eT >
subview< eT >::~subview (  )  [inline, inherited]

Definition at line 21 of file subview_meat.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Mar 5 12:27:51 2013