Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Friends | List of all members
subview_row< eT > Class Template Reference

#include <forward_bones.hpp>

Inheritance diagram for subview_row< eT >:
Inheritance graph
[legend]

Public Types

typedef eT elem_type
 
typedef get_pod_type< elem_type >::result pod_type
 
- Public Types inherited from subview< eT >
typedef eT elem_type
 
typedef get_pod_type< elem_type >::result pod_type
 

Public Member Functions

subview_row< eT > cols (const uword in_col1, const uword in_col2)
 
const subview_row< eT > cols (const uword in_col1, const uword in_col2) const
 
void operator= (const subview< eT > &x)
 
void operator= (const subview_row &x)
 
template<typename T1 >
void operator= (const Base< eT, T1 > &x)
 
subview_row< eT > subvec (const uword in_col1, const uword in_col2)
 
const subview_row< eT > subvec (const uword in_col1, const uword in_col2) const
 
- Public Member Functions inherited from subview< eT >
eT & at (const uword in_row, const uword in_col)
 
eT at (const uword in_row, const uword in_col) const
 
bool check_overlap (const subview &x) const
 
subview_col< eT > col (const uword col_num)
 creation of subview (column vector) More...
 
const subview_col< eT > col (const uword col_num) const
 creation of subview (column vector) More...
 
arma_inline eT * colptr (const uword in_col)
 
arma_inline const eT * colptr (const uword in_col) const
 
subview< eT > cols (const uword in_col1, const uword in_col2)
 creation of subview (submatrix comprised of specified column vectors) More...
 
const subview< eT > cols (const uword in_col1, const uword in_col2) const
 creation of subview (submatrix comprised of specified column vectors) More...
 
diagview< eT > diag (const sword in_id=0)
 creation of diagview (diagonal) More...
 
const diagview< eT > diag (const sword in_id=0) const
 creation of diagview (diagonal) More...
 
void eye ()
 
void fill (const eT val)
 
bool is_vec () const
 
void ones ()
 
template<typename T1 >
void operator%= (const Base< eT, T1 > &x)
 
void operator%= (const subview &x)
 
eT & operator() (const uword i)
 
eT operator() (const uword i) const
 
eT & operator() (const uword in_row, const uword in_col)
 
eT operator() (const uword in_row, const uword in_col) const
 
subview_row< eT > operator() (const uword row_num, const span &col_span)
 
const subview_row< eT > operator() (const uword row_num, const span &col_span) const
 
subview_col< eT > operator() (const span &row_span, const uword col_num)
 
const subview_col< eT > operator() (const span &row_span, const uword col_num) const
 
subview< eT > operator() (const span &row_span, const span &col_span)
 
const subview< eT > operator() (const span &row_span, const span &col_span) const
 
void operator*= (const eT val)
 
void operator+= (const eT val)
 
template<typename T1 >
void operator+= (const Base< eT, T1 > &x)
 
void operator+= (const subview &x)
 
void operator-= (const eT val)
 
template<typename T1 >
void operator-= (const Base< eT, T1 > &x)
 
void operator-= (const subview &x)
 
void operator/= (const eT val)
 
template<typename T1 >
void operator/= (const Base< eT, T1 > &x)
 
void operator/= (const subview &x)
 
template<typename T1 >
void operator= (const Base< eT, T1 > &x)
 
void operator= (const subview &x)
 x.submat(...) = y.submat(...) More...
 
eT & operator[] (const uword i)
 
eT operator[] (const uword i) const
 
subview_row< eT > row (const uword row_num)
 creation of subview (row vector) More...
 
const subview_row< eT > row (const uword row_num) const
 creation of subview (row vector) More...
 
subview< eT > rows (const uword in_row1, const uword in_row2)
 creation of subview (submatrix comprised of specified row vectors) More...
 
const subview< eT > rows (const uword in_row1, const uword in_row2) const
 creation of subview (submatrix comprised of specified row vectors) More...
 
subview< eT > submat (const uword in_row1, const uword in_col1, const uword in_row2, const uword in_col2)
 creation of subview (submatrix) More...
 
const subview< eT > submat (const uword in_row1, const uword in_col1, const uword in_row2, const uword in_col2) const
 creation of subview (generic submatrix) More...
 
subview< eT > submat (const span &row_span, const span &col_span)
 creation of subview (submatrix) More...
 
const subview< eT > submat (const span &row_span, const span &col_span) const
 creation of subview (generic submatrix) More...
 
void swap_cols (const uword in_col1, const uword in_col2)
 
void swap_rows (const uword in_row1, const uword in_row2)
 
Col< eT > unsafe_col (const uword col_num)
 
const Col< eT > unsafe_col (const uword col_num) const
 
void zeros ()
 
 ~subview ()
 
- Public Member Functions inherited from Base< eT, subview< eT > >
arma_inline const subview< eT > & get_ref () const
 
void print (const std::string extra_text="") const
 
void print (std::ostream &user_stream, const std::string extra_text="") const
 
arma_deprecated void print_trans (const std::string extra_text="") const
 
arma_deprecated void print_trans (std::ostream &user_stream, const std::string extra_text="") const
 
void raw_print (const std::string extra_text="") const
 
void raw_print (std::ostream &user_stream, const std::string extra_text="") const
 
arma_deprecated void raw_print_trans (const std::string extra_text="") const
 
arma_deprecated void raw_print_trans (std::ostream &user_stream, const std::string extra_text="") const
 
arma_inline const Op< subview< eT >, op_stransst () const
 
arma_inline const Op< subview< eT >, op_htranst () const
 

Protected Member Functions

 subview_row (const Mat< eT > &in_m, const uword in_row)
 
 subview_row (Mat< eT > &in_m, const uword in_row)
 
 subview_row (const Mat< eT > &in_m, const uword in_row, const uword in_col1, const uword in_n_cols)
 
 subview_row (Mat< eT > &in_m, const uword in_row, const uword in_col1, const uword in_n_cols)
 
- Protected Member Functions inherited from subview< eT >
arma_inline subview (const 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 (Mat< eT > &in_m, const uword in_row1, const uword in_col1, const uword in_n_rows, const uword in_n_cols)
 

Private Member Functions

 subview_row ()
 

Friends

class Mat< eT >
 
class Row< eT >
 
class subview< eT >
 

Additional Inherited Members

- Static Public Member Functions inherited from subview< eT >
static void div_inplace (Mat< eT > &out, const subview &in)
 X /= Y.submat(...) More...
 
static void extract (Mat< eT > &out, const subview &in)
 X = Y.submat(...) More...
 
static void minus_inplace (Mat< eT > &out, const subview &in)
 X -= Y.submat(...) More...
 
static void plus_inplace (Mat< eT > &out, const subview &in)
 X += Y.submat(...) More...
 
static void schur_inplace (Mat< eT > &out, const subview &in)
 X %= Y.submat(...) More...
 
- Public Attributes inherited from subview< eT >
const uword aux_col1
 
const uword aux_row1
 
arma_aligned const Mat< eT > & m
 
const uword n_cols
 
const uword n_elem
 
const uword n_rows
 
- Protected Attributes inherited from subview< eT >
arma_aligned Mat< eT > * m_ptr
 

Detailed Description

template<typename eT>
class subview_row< eT >

Definition at line 27 of file forward_bones.hpp.

Member Typedef Documentation

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

Definition at line 218 of file subview_bones.hpp.

template<typename eT>
typedef get_pod_type<elem_type>::result subview_row< eT >::pod_type

Definition at line 219 of file subview_bones.hpp.

Constructor & Destructor Documentation

template<typename eT>
subview_row< eT >::subview_row ( )
private

Friends And Related Function Documentation

template<typename eT>
friend class Mat< eT >
friend

Definition at line 245 of file subview_bones.hpp.

template<typename eT>
friend class Row< eT >
friend

Definition at line 246 of file subview_bones.hpp.

template<typename eT>
friend class subview< eT >
friend

Definition at line 247 of file subview_bones.hpp.


The documentation for this class was generated from the following files:


armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:32:01