Navigation

Operators and Keywords

Function List:

C++ API

octave_base_sparse< T > Class Template Reference

#include <ov-base-sparse.h>

Inherits octave_base_value.

Collaboration diagram for octave_base_sparse< T >:

List of all members.


Public Member Functions

 octave_base_sparse (void)
 octave_base_sparse (const T &a)
 octave_base_sparse (const T &a, const MatrixType &t)
 octave_base_sparse (const octave_base_sparse &a)
 ~octave_base_sparse (void)
octave_base_valueclone (void) const
octave_base_valueempty_clone (void) const
octave_idx_type nnz (void) const
octave_idx_type nzmax (void) const
size_t byte_size (void) const
octave_value squeeze (void) const
octave_value full_value (void) const
octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int)
octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
void assign (const octave_value_list &idx, const T &rhs)
void delete_elements (const octave_value_list &idx)
dim_vector dims (void) const
octave_value do_index_op (const octave_value_list &idx, bool resize_ok=false)
octave_value reshape (const dim_vector &new_dims) const
octave_value permute (const Array< int > &vec, bool inv=false) const
octave_value resize (const dim_vector &dv, bool=false) const
octave_value all (int dim=0) const
octave_value any (int dim=0) const
octave_value diag (octave_idx_type k=0) const
octave_value sort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
octave_value sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
sortmode is_sorted (sortmode mode=UNSORTED) const
MatrixType matrix_type (void) const
MatrixType matrix_type (const MatrixType &_typ) const
bool is_matrix_type (void) const
bool is_numeric_type (void) const
bool is_sparse_type (void) const
bool is_defined (void) const
bool is_constant (void) const
bool is_true (void) const
octave_idx_type capacity (void) const
bool print_as_scalar (void) const
void print (std::ostream &os, bool pr_as_read_syntax=false) const
void print_info (std::ostream &os, const std::string &prefix) const
void print_raw (std::ostream &os, bool pr_as_read_syntax=false) const
bool save_ascii (std::ostream &os)
bool load_ascii (std::istream &is)
void * mex_get_data (void) const
octave_idx_typemex_get_ir (void) const
octave_idx_typemex_get_jc (void) const

Protected Attributes

T matrix
MatrixType typ

template<class T>
class octave_base_sparse< T >


Constructor & Destructor Documentation

template<class T>
octave_base_sparse< T >::octave_base_sparse ( void   )  [inline]

template<class T>
octave_base_sparse< T >::octave_base_sparse ( const T a  )  [inline]

template<class T>
octave_base_sparse< T >::octave_base_sparse ( const T a,
const MatrixType t 
) [inline]

template<class T>
octave_base_sparse< T >::octave_base_sparse ( const octave_base_sparse< T > &  a  )  [inline]

template<class T>
octave_base_sparse< T >::~octave_base_sparse ( void   )  [inline]


Member Function Documentation

template<class T>
octave_value octave_base_sparse< T >::all ( int  dim = 0  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_value octave_base_sparse< T >::any ( int  dim = 0  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
void octave_base_sparse< T >::assign ( const octave_value_list idx,
const T rhs 
) [inline]

Reimplemented in octave_sparse_complex_matrix.

template<class T>
size_t octave_base_sparse< T >::byte_size ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_idx_type octave_base_sparse< T >::capacity ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_base_value* octave_base_sparse< T >::clone ( void   )  const [inline, virtual]

template<class MT >
void octave_base_sparse< MT >::delete_elements ( const octave_value_list idx  )  [inline]

template<class T>
octave_value octave_base_sparse< T >::diag ( octave_idx_type  k = 0  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
dim_vector octave_base_sparse< T >::dims ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
octave_value octave_base_sparse< T >::do_index_op ( const octave_value_list idx,
bool  resize_ok = false 
) [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_base_value* octave_base_sparse< T >::empty_clone ( void   )  const [inline, virtual]

template<class T>
octave_value octave_base_sparse< T >::full_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
bool octave_base_sparse< T >::is_constant ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
bool octave_base_sparse< T >::is_defined ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
bool octave_base_sparse< T >::is_matrix_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
bool octave_base_sparse< T >::is_numeric_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
sortmode octave_base_sparse< T >::is_sorted ( sortmode  mode = UNSORTED  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
bool octave_base_sparse< T >::is_sparse_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
bool octave_base_sparse< T >::is_true ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
bool octave_base_sparse< T >::load_ascii ( std::istream &  is  )  [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
MatrixType octave_base_sparse< T >::matrix_type ( const MatrixType _typ  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
MatrixType octave_base_sparse< T >::matrix_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
void* octave_base_sparse< T >::mex_get_data ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_idx_type* octave_base_sparse< T >::mex_get_ir ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_idx_type* octave_base_sparse< T >::mex_get_jc ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_idx_type octave_base_sparse< T >::nnz ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_idx_type octave_base_sparse< T >::nzmax ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_value octave_base_sparse< T >::permute ( const Array< int > &  vec,
bool  inv = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
void octave_base_sparse< T >::print ( std::ostream os,
bool  pr_as_read_syntax = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
bool octave_base_sparse< T >::print_as_scalar ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
void octave_base_sparse< T >::print_info ( std::ostream os,
const std::string prefix 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
void octave_base_sparse< T >::print_raw ( std::ostream os,
bool  pr_as_read_syntax = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_value octave_base_sparse< T >::reshape ( const dim_vector new_dims  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
octave_value octave_base_sparse< T >::resize ( const dim_vector dv,
bool  = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
bool octave_base_sparse< T >::save_ascii ( std::ostream os  )  [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_value octave_base_sparse< T >::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_value octave_base_sparse< T >::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_value octave_base_sparse< T >::squeeze ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
octave_value octave_base_sparse< T >::subsasgn ( const std::string type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
) [inline, virtual]

Reimplemented from octave_base_value.

template<class T>
octave_value_list octave_base_sparse< T >::subsref ( const std::string type,
const std::list< octave_value_list > &  idx,
int   
) [inline, virtual]

Reimplemented from octave_base_value.

template<class T >
octave_value octave_base_sparse< T >::subsref ( const std::string type,
const std::list< octave_value_list > &  idx 
) [inline, virtual]

Reimplemented from octave_base_value.


Member Data Documentation

template<class T>
T octave_base_sparse< T >::matrix [protected]

template<class T>
MatrixType octave_base_sparse< T >::typ [mutable, protected]


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