#include <cassert>
#include "Array.h"
#include "dim-vector.h"
#include "idx-vector.h"
#include "lo-error.h"
Go to the source code of this file.
#define octave_Array_util_h 1 |
OCTAVE_API bool all_colon_equiv | ( | const Array< idx_vector > & | ra_idx, | |
const dim_vector & | frozen_lengths | |||
) |
OCTAVE_API bool all_ok | ( | const Array< idx_vector > & | ra_idx | ) |
OCTAVE_API bool all_ones | ( | const Array< octave_idx_type > & | arr | ) |
OCTAVE_API bool any_ones | ( | const Array< octave_idx_type > & | arr | ) |
OCTAVE_API bool any_orig_empty | ( | const Array< idx_vector > & | ra_idx | ) |
OCTAVE_API octave_idx_type compute_index | ( | const Array< octave_idx_type > & | ra_idx, | |
const dim_vector & | dims | |||
) |
OCTAVE_API Array<idx_vector> conv_to_array | ( | const idx_vector * | tmp, | |
const octave_idx_type | len | |||
) |
OCTAVE_API Array<octave_idx_type> conv_to_int_array | ( | const Array< idx_vector > & | a | ) |
OCTAVE_API dim_vector freeze | ( | Array< idx_vector > & | ra_idx, | |
const dim_vector & | dimensions, | |||
int | resize_ok | |||
) |
OCTAVE_API Array<octave_idx_type> get_elt_idx | ( | const Array< idx_vector > & | ra_idx, | |
const Array< octave_idx_type > & | result_idx | |||
) |
OCTAVE_API Array<octave_idx_type> get_ra_idx | ( | octave_idx_type | idx, | |
const dim_vector & | dims | |||
) |
OCTAVE_API octave_idx_type get_scalar_idx | ( | Array< octave_idx_type > & | idx, | |
dim_vector & | dims | |||
) |
void OCTAVE_API gripe_nan_to_logical_conversion | ( | void | ) |
void OCTAVE_API gripe_nonconformant | ( | const char * | op, | |
dim_vector & | op1_dims, | |||
dim_vector & | op2_dims | |||
) |
void OCTAVE_API gripe_nonconformant | ( | const char * | op, | |
int | op1_nr, | |||
int | op1_nc, | |||
int | op2_nr, | |||
int | op2_nc | |||
) |
OCTAVE_API void increment_index | ( | Array< octave_idx_type > & | ra_idx, | |
const dim_vector & | dimensions, | |||
int | start_dimension = 0 | |||
) |
OCTAVE_API Array<idx_vector> ind2sub | ( | const dim_vector & | dv, | |
const idx_vector & | idx | |||
) |
OCTAVE_API bool index_in_bounds | ( | const Array< octave_idx_type > & | ra_idx, | |
const dim_vector & | dimensions | |||
) |
OCTAVE_API bool is_scalar | ( | const dim_vector & | dim | ) |
OCTAVE_API bool is_vector | ( | const dim_vector & | dim | ) |
OCTAVE_API octave_idx_type num_ones | ( | const Array< octave_idx_type > & | ra_idx | ) |
OCTAVE_API idx_vector sub2ind | ( | const dim_vector & | dv, | |
const Array< idx_vector > & | idxa | |||
) |
OCTAVE_API bool vector_equivalent | ( | const dim_vector & | dv | ) |
OCTAVE_API dim_vector zero_dims_inquire | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
const dim_vector & | rhdv | |||
) |
OCTAVE_API dim_vector zero_dims_inquire | ( | const Array< idx_vector > & | ia, | |
const dim_vector & | rhdv | |||
) |