#include <ov-base-scalar.h>
Inherits octave_base_value.
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_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 | numel (void) const |
int | ndims (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_type > | sort_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 |
const ST & | scalar_ref (void) const |
ST & | scalar_ref (void) |
bool | fast_elem_insert_self (void *where, builtin_type_t btyp) const |
Protected Attributes | |
ST | scalar |
octave_base_scalar< ST >::octave_base_scalar | ( | void | ) | [inline] |
octave_base_scalar< ST >::octave_base_scalar | ( | const ST & | s | ) | [inline] |
octave_base_scalar< ST >::octave_base_scalar | ( | const octave_base_scalar< ST > & | s | ) | [inline] |
octave_base_scalar< ST >::~octave_base_scalar | ( | void | ) | [inline] |
octave_value octave_base_scalar< ST >::all | ( | int | = 0 |
) | const [inline, virtual] |
Reimplemented from octave_base_value.
octave_value octave_base_scalar< ST >::any | ( | int | = 0 |
) | const [inline, virtual] |
Reimplemented from octave_base_value.
Reimplemented in octave_complex, octave_float_scalar, octave_float_complex, and octave_scalar.
size_t octave_base_scalar< ST >::byte_size | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
octave_value octave_base_scalar< ST >::diag | ( | octave_idx_type | k = 0 |
) | const [virtual] |
Reimplemented from octave_base_value.
dim_vector octave_base_scalar< ST >::dims | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
bool octave_base_scalar< ST >::fast_elem_insert_self | ( | void * | where, | |
builtin_type_t | btyp | |||
) | const [virtual] |
Reimplemented from octave_base_value.
Reimplemented in octave_float_scalar, and octave_scalar.
octave_value octave_base_scalar< ST >::full_value | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
bool octave_base_scalar< ST >::is_constant | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
bool octave_base_scalar< ST >::is_defined | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
bool octave_base_scalar< ST >::is_numeric_type | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Reimplemented in octave_bool.
bool octave_base_scalar< ST >::is_scalar_type | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
sortmode octave_base_scalar< ST >::is_sorted | ( | sortmode | mode = UNSORTED |
) | const [inline, virtual] |
Reimplemented from octave_base_value.
sortmode octave_base_scalar< ST >::is_sorted_rows | ( | sortmode | mode = UNSORTED |
) | const [inline, virtual] |
Reimplemented from octave_base_value.
bool octave_base_scalar< ST >::is_true | ( | void | ) | const [virtual] |
Reimplemented from octave_base_value.
Reimplemented in octave_bool.
MatrixType octave_base_scalar< ST >::matrix_type | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
MatrixType octave_base_scalar< ST >::matrix_type | ( | const MatrixType & | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
void* octave_base_scalar< ST >::mex_get_data | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Reimplemented in OCTAVE_VALUE_INT_SCALAR_T.
int octave_base_scalar< ST >::ndims | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
octave_idx_type octave_base_scalar< ST >::nnz | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
octave_idx_type octave_base_scalar< ST >::numel | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
octave_value octave_base_scalar< ST >::permute | ( | const Array< int > & | vec, | |
bool | inv = false | |||
) | const [virtual] |
Reimplemented from octave_base_value.
void octave_base_scalar< ST >::print | ( | std::ostream & | os, | |
bool | pr_as_read_syntax = false | |||
) | const [virtual] |
Reimplemented from octave_base_value.
bool octave_base_scalar< ST >::print_name_tag | ( | std::ostream & | os, | |
const std::string & | name | |||
) | const [virtual] |
Reimplemented from octave_base_value.
void octave_base_scalar< ST >::print_raw | ( | std::ostream & | os, | |
bool | pr_as_read_syntax = false | |||
) | const [virtual] |
Reimplemented from octave_base_value.
octave_value octave_base_scalar< ST >::reshape | ( | const dim_vector & | new_dims | ) | const [virtual] |
Reimplemented from octave_base_value.
const ST& octave_base_scalar< ST >::scalar_ref | ( | void | ) | const [inline] |
ST& octave_base_scalar< ST >::scalar_ref | ( | void | ) | [inline] |
octave_value octave_base_scalar< ST >::sort | ( | octave_idx_type | , | |
sortmode | ||||
) | const [inline, virtual] |
Reimplemented from octave_base_value.
octave_value octave_base_scalar< ST >::sort | ( | Array< octave_idx_type > & | sidx, | |
octave_idx_type | , | |||
sortmode | ||||
) | const [inline, virtual] |
Reimplemented from octave_base_value.
Array<octave_idx_type> octave_base_scalar< ST >::sort_rows_idx | ( | sortmode | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
octave_value octave_base_scalar< ST >::squeeze | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
octave_value octave_base_scalar< ST >::subsasgn | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx, | |||
const octave_value & | rhs | |||
) | [virtual] |
Reimplemented from octave_base_value.
octave_value octave_base_scalar< ST >::subsref | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx | |||
) | [virtual] |
Reimplemented from octave_base_value.
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.
ST octave_base_scalar< ST >::scalar [protected] |