GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
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<typename 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_map &ref, const octave_map &src, octave_map &dest, Array< octave_idx_type > &perm)
 
void permute_to_correct_order1 (const octave_scalar_map &ref, const octave_scalar_map &src, octave_scalar_map &dest, Array< octave_idx_type > &perm)
 

Function Documentation

◆ permute_to_correct_order()

template<typename 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 662 of file oct-map.cc.

References error(), n, and permute_to_correct_order1().

Referenced by octave_map::cat().

◆ permute_to_correct_order1() [1/2]

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

◆ permute_to_correct_order1() [2/2]

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 642 of file oct-map.cc.

References octave_scalar_map::orderfields().

Referenced by permute_to_correct_order().