Navigation

Operators and Keywords

Function List:

C++ API

octave_base_scalar< ST > Class Template Reference

#include <ov-base-scalar.h>

Inherits octave_base_value.

Collaboration diagram for octave_base_scalar< ST >:

List of all members.


Public Member Functions

 octave_base_scalar (void)
 octave_base_scalar (const ST &s)
 octave_base_scalar (const octave_base_scalar &s)
 ~octave_base_scalar (void)
octave_base_valueclone (void) const
octave_base_valueempty_clone (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)
bool is_constant (void) const
bool is_defined (void) const
dim_vector dims (void) const
octave_idx_type nnz (void) const
octave_value permute (const Array< int > &, bool=false) const
octave_value reshape (const dim_vector &new_dims) const
size_t byte_size (void) const
octave_value all (int=0) const
octave_value any (int=0) const
octave_value diag (octave_idx_type k=0) const
octave_value sort (octave_idx_type, sortmode) const
octave_value sort (Array< octave_idx_type > &sidx, octave_idx_type, sortmode) const
sortmode is_sorted (sortmode mode=UNSORTED) const
Array< octave_idx_typesort_rows_idx (sortmode) const
sortmode is_sorted_rows (sortmode mode=UNSORTED) const
MatrixType matrix_type (void) const
MatrixType matrix_type (const MatrixType &) const
bool is_scalar_type (void) const
bool is_numeric_type (void) const
bool is_true (void) const
void print (std::ostream &os, bool pr_as_read_syntax=false) const
void print_raw (std::ostream &os, bool pr_as_read_syntax=false) const
bool print_name_tag (std::ostream &os, const std::string &name) const
void * mex_get_data (void) const

Protected Attributes

ST scalar

template<class ST>
class octave_base_scalar< ST >


Constructor & Destructor Documentation

template<class ST>
octave_base_scalar< ST >::octave_base_scalar ( void   )  [inline]

template<class ST>
octave_base_scalar< ST >::octave_base_scalar ( const ST &  s  )  [inline]

template<class ST>
octave_base_scalar< ST >::octave_base_scalar ( const octave_base_scalar< ST > &  s  )  [inline]

template<class ST>
octave_base_scalar< ST >::~octave_base_scalar ( void   )  [inline]


Member Function Documentation

template<class ST>
octave_value octave_base_scalar< ST >::all ( int  = 0  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class ST>
octave_value octave_base_scalar< ST >::any ( int  = 0  )  const [inline, virtual]

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

Reimplemented from octave_base_value.

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

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

template<class ST>
bool octave_base_scalar< ST >::is_scalar_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

template<class ST>
sortmode octave_base_scalar< ST >::is_sorted_rows ( sortmode  mode = UNSORTED  )  const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

Reimplemented in octave_bool.

template<class ST>
MatrixType octave_base_scalar< ST >::matrix_type ( const MatrixType  )  const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

Reimplemented in OCTAVE_VALUE_INT_SCALAR_T.

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

Reimplemented from octave_base_value.

template<class ST>
octave_value octave_base_scalar< ST >::permute ( const Array< int > &  ,
bool  = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

template<class ST >
bool octave_base_scalar< ST >::print_name_tag ( std::ostream os,
const std::string name 
) const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

template<class ST>
octave_value octave_base_scalar< ST >::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  ,
sortmode   
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class ST>
octave_value octave_base_scalar< ST >::sort ( octave_idx_type  ,
sortmode   
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class ST>
Array<octave_idx_type> octave_base_scalar< ST >::sort_rows_idx ( sortmode   )  const [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.

template<class ST >
octave_value octave_base_scalar< ST >::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 ST>
octave_value_list octave_base_scalar< ST >::subsref ( const std::string type,
const std::list< octave_value_list > &  idx,
int   
) [inline, virtual]

Reimplemented from octave_base_value.

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

Reimplemented from octave_base_value.


Member Data Documentation

template<class ST>
ST octave_base_scalar< ST >::scalar [protected]


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