GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
oct-map.cc File Reference
#include "error.h"
#include "str-vec.h"
#include "oct-map.h"
#include "utils.h"
Include dependency graph for oct-map.cc:

Go to the source code of this file.

Functions

static bool keys_ok (const Octave_map &a, const Octave_map &b, string_vector &keys)
template<class map >
static void permute_to_correct_order (octave_idx_type n, octave_idx_type nf, octave_idx_type idx, const map *map_list, map *new_map_list)
void permute_to_correct_order1 (const octave_scalar_map &ref, const octave_scalar_map &src, octave_scalar_map &dest, Array< octave_idx_type > &perm)
void permute_to_correct_order1 (const octave_map &ref, const octave_map &src, octave_map &dest, Array< octave_idx_type > &perm)

Function Documentation

static bool keys_ok ( const Octave_map a,
const Octave_map b,
string_vector keys 
)
static
template<class map >
static void permute_to_correct_order ( octave_idx_type  n,
octave_idx_type  nf,
octave_idx_type  idx,
const map *  map_list,
map *  new_map_list 
)
static

Definition at line 640 of file oct-map.cc.

References error_state, and permute_to_correct_order1().

Referenced by octave_map::cat().

void permute_to_correct_order1 ( const octave_scalar_map ref,
const octave_scalar_map src,
octave_scalar_map dest,
Array< octave_idx_type > &  perm 
)

Definition at line 620 of file oct-map.cc.

References octave_scalar_map::orderfields().

Referenced by permute_to_correct_order().

void permute_to_correct_order1 ( const octave_map ref,
const octave_map src,
octave_map dest,
Array< octave_idx_type > &  perm 
)