23 #if defined (HAVE_CONFIG_H) 109 && (dim >= 0 && dim <= 1) && odims(1-dim) == 1)
123 && (dim >= 0 && dim <= 1) && odims(1-dim) == 1)
233 error (
"lazy_index: corrupted data on load");
254 error (
"lazy_index: corrupted data on load");
octave_value as_int64(void) const
type_conv_info numeric_conversion_function(void) const
octave_idx_type checkelem(octave_idx_type n) const
sortmode is_sorted_rows(sortmode mode=UNSORTED) const
octave_value squeeze(void) const
dim_vector orig_dimensions(void) const
octave_base_value * clone(void) const
octave_value as_int8(void) const
octave_value permute(const Array< int > &vec, bool inv=false) const
sortmode issorted(sortmode mode=UNSORTED) const
NDArray array_value(bool flag=false) const
octave_idx_type extent(octave_idx_type n) const
idx_vector index_vector(bool require_integers=false) const
Array< octave_idx_type > sort_rows_idx(sortmode mode=ASCENDING) const
Return the CPU time used by your Octave session The first output is the total time spent executing your process and is equal to the sum of second and third which are the number of CPU seconds spent executing in user mode and the number of CPU seconds spent executing in system mode
const octave_value & make_value(void) const
Array< T > squeeze(void) const
Chop off leading singleton dimensions.
octave_value as_double(void) const
int64NDArray int64_array_value(void) const
Array< T > permute(const Array< octave_idx_type > &vec, bool inv=false) const
octave_value full_value(void) const
octave_value sort(octave_idx_type dim=0, sortmode mode=ASCENDING) const
void error(const char *fmt,...)
octave_value as_uint32(void) const
bool save_ascii(std::ostream &os)
uint8NDArray uint8_array_value(void) const
Array< octave_idx_type > sort_rows_idx(sortmode mode=ASCENDING) const
Sort by rows returns only indices.
#define DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(t, n, c)
bool is_defined(void) const
sortmode is_sorted_rows(sortmode mode=UNSORTED) const
Ordering is auto-detected or can be specified.
octave_value fast_elem_extract(octave_idx_type n) const
bool load_binary(std::istream &is, bool swap, octave::mach_info::float_format fmt)
static const std::string value_save_tag("index_value")
Array< T > reshape(octave_idx_type nr, octave_idx_type nc) const
octave_value as_int16(void) const
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
Array< T > sort(int dim=0, sortmode mode=ASCENDING) const
int32NDArray int32_array_value(void) const
OCTAVE_EXPORT octave_value_list isdir nd deftypefn *std::string nm
sortmode issorted(sortmode mode=UNSORTED) const
Ordering is auto-detected or can be specified.
bool is_range(void) const
uint64NDArray uint64_array_value(void) const
static int static_type_id(void)
octave_value as_uint64(void) const
octave_value permute(const Array< int > &vec, bool inv=false) const
octave_value as_int32(void) const
std::string read_binary_data(std::istream &is, bool swap, octave::mach_info::float_format fmt, const std::string &filename, bool &global, octave_value &tc, std::string &doc)
octave_idx_type length(octave_idx_type n=0) const
octave_idx_type increment(void) const
idx_vector sorted(bool uniq=false) const
uint32NDArray uint32_array_value(void) const
int16NDArray int16_array_value(void) const
bool save_binary(std::ostream &os, bool &save_as_floats)
bool load_ascii(std::istream &is)
static octave_base_value * default_numeric_conversion_function(const octave_base_value &a)
uint16NDArray uint16_array_value(void) const
idx_vector index_vector(bool=false) const
std::string read_text_data(std::istream &is, const std::string &filename, bool &global, octave_value &tc, octave_idx_type count)
bool save_text_data(std::ostream &os, const octave_value &val_arg, const std::string &name, bool mark_global, int precision)
octave_value as_single(void) const
octave_idx_type ndims(void) const
Number of dimensions.
FloatNDArray float_array_value(bool flag=false) const
Array< octave_idx_type > as_array(void) const
write the output to stdout if nargout is
Vector representing the dimensions (size) of an Array.
octave_value as_uint16(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
bool save_binary_data(std::ostream &os, const octave_value &tc, const std::string &name, const std::string &doc, bool mark_global, bool save_as_floats)
int8NDArray int8_array_value(void) const
octave_value as_uint8(void) const
octave_base_value * try_narrowing_conversion(void)
octave_value reshape(const dim_vector &new_dims) const