GNU Octave  4.0.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 "Array-util.h"
#include "error.h"
#include "oct-locbuf.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

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

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 634 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 614 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 
)