Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
Mat< eT >::fixed< fixed_n_rows, fixed_n_cols > Class Template Reference

#include <Mat_bones.hpp>

Inheritance diagram for Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

arma_inline arma_warn_unused eT & at (const uword i)
 linear element accessor (treats the matrix as a vector); no bounds check.
arma_inline arma_warn_unused eT at (const uword i) const
 linear element accessor (treats the matrix as a vector); no bounds check
arma_inline arma_warn_unused eT & at (const uword in_row, const uword in_col)
 element accessor; no bounds check
arma_inline arma_warn_unused eT at (const uword in_row, const uword in_col) const
 element accessor; no bounds check
arma_hot const Mat< eT > & fill (const eT val)
 fill the matrix with the specified value
arma_inline fixed ()
arma_inline fixed (const fixed< fixed_n_rows, fixed_n_cols > &X)
template<typename T1 >
 fixed (const Base< eT, T1 > &A)
template<typename T1 , typename T2 >
 fixed (const Base< pod_type, T1 > &A, const Base< pod_type, T2 > &B)
 fixed (eT *aux_mem, const bool copy_aux_mem=true)
 fixed (const eT *aux_mem)
 fixed (const char *text)
 fixed (const std::string &text)
arma_hot const Mat< eT > & ones ()
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
arma_inline arma_warn_unused eT & operator() (const uword i)
 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 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 & 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 operator() (const uword in_row, const uword in_col) const
 element accessor; bounds checking not done when ARMA_NO_DEBUG is defined
template<typename T1 >
const Matoperator= (const Base< eT, T1 > &A)
const Matoperator= (const eT val)
const Matoperator= (const char *text)
 create the matrix from a textual description
const Matoperator= (const std::string &text)
 create the matrix from a textual description
arma_inline arma_warn_unused eT & operator[] (const uword i)
 linear element accessor (treats the matrix as a vector); no bounds check.
arma_inline arma_warn_unused eT operator[] (const uword i) const
 linear element accessor (treats the matrix as a vector); no bounds check
arma_hot const Mat< eT > & zeros ()

Static Public Attributes

static const uword n_cols = fixed_n_cols
 number of columns in the matrix (read-only)
static const uword n_elem = fixed_n_elem
 number of elements in the matrix (read-only)
static const uword n_rows = fixed_n_rows
 number of rows in the matrix (read-only)

Private Member Functions

arma_inline void mem_setup ()

Private Attributes

arma_aligned eT mem_local_extra [(use_extra)?fixed_n_elem:1]

Static Private Attributes

static const uword fixed_n_elem = fixed_n_rows * fixed_n_cols
static const bool use_extra = (fixed_n_elem > arma_config::mat_prealloc)

Detailed Description

template<typename eT>
template<uword fixed_n_rows, uword fixed_n_cols>
class Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >

Definition at line 447 of file Mat_bones.hpp.


Member Data Documentation

template<typename eT>
template<uword fixed_n_rows, uword fixed_n_cols>
const uword Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::fixed_n_elem = fixed_n_rows * fixed_n_cols [static, private]

Definition at line 451 of file Mat_bones.hpp.

template<typename eT>
template<uword fixed_n_rows, uword fixed_n_cols>
arma_aligned eT Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::mem_local_extra[(use_extra)?fixed_n_elem:1] [private]

Definition at line 454 of file Mat_bones.hpp.

template<typename eT>
template<uword fixed_n_rows, uword fixed_n_cols>
const uword Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::n_cols = fixed_n_cols [static]

number of columns in the matrix (read-only)

Reimplemented from Mat< eT >.

Definition at line 462 of file Mat_bones.hpp.

template<typename eT>
template<uword fixed_n_rows, uword fixed_n_cols>
const uword Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::n_elem = fixed_n_elem [static]

number of elements in the matrix (read-only)

Reimplemented from Mat< eT >.

Definition at line 463 of file Mat_bones.hpp.

template<typename eT>
template<uword fixed_n_rows, uword fixed_n_cols>
const uword Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::n_rows = fixed_n_rows [static]

number of rows in the matrix (read-only)

Reimplemented from Mat< eT >.

Definition at line 461 of file Mat_bones.hpp.

template<typename eT>
template<uword fixed_n_rows, uword fixed_n_cols>
const bool Mat< eT >::fixed< fixed_n_rows, fixed_n_cols >::use_extra = (fixed_n_elem > arma_config::mat_prealloc) [static, private]

Definition at line 452 of file Mat_bones.hpp.


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


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:08