GNU Octave
4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sparse-sort.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 2004-2018 David Bateman
4
Copyright (C) 1998-2004 Andy Adler
5
6
This file is part of Octave.
7
8
Octave is free software: you can redistribute it and/or modify it
9
under the terms of the GNU General Public License as published by
10
the Free Software Foundation, either version 3 of the License, or
11
(at your option) any later version.
12
13
Octave is distributed in the hope that it will be useful, but
14
WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with Octave; see the file COPYING. If not, see
20
<https://www.gnu.org/licenses/>.
21
22
*/
23
24
#if ! defined (octave_sparse_sort_h)
25
#define octave_sparse_sort_h 1
26
27
#include "octave-config.h"
28
29
#include "
oct-sort.h
"
30
31
class
32
octave_sparse_sort_idxl
33
{
34
public
:
35
octave_idx_type
r
;
36
octave_idx_type
c
;
37
octave_idx_type
idx
;
38
};
39
40
bool
octave_sparse_sidxl_comp
(
octave_sparse_sort_idxl
*
i
,
41
octave_sparse_sort_idxl
*j);
42
43
class
44
octave_idx_vector_sort
45
{
46
public
:
47
octave_idx_type
i
;
48
octave_idx_type
idx
;
49
};
50
51
bool
octave_idx_vector_comp
(
octave_idx_vector_sort
*
i
,
52
octave_idx_vector_sort
*j);
53
54
#endif
octave_idx_vector_sort::idx
octave_idx_type idx
Definition:
sparse-sort.h:48
octave_sparse_sort_idxl::r
octave_idx_type r
Definition:
sparse-sort.h:35
octave_sparse_sort_idxl::c
octave_idx_type c
Definition:
sparse-sort.h:36
octave_idx_vector_sort
Definition:
sparse-sort.h:43
octave_idx_vector_comp
bool octave_idx_vector_comp(octave_idx_vector_sort *i, octave_idx_vector_sort *j)
Definition:
sparse-sort.cc:57
octave_sparse_sort_idxl::idx
octave_idx_type idx
Definition:
sparse-sort.h:37
oct-sort.h
octave_sparse_sort_idxl
Definition:
sparse-sort.h:31
octave_sparse_sidxl_comp
bool octave_sparse_sidxl_comp(octave_sparse_sort_idxl *i, octave_sparse_sort_idxl *j)
Definition:
sparse-sort.cc:41
octave_idx_type
i
for i
Definition:
data.cc:5264
octave_idx_vector_sort::i
octave_idx_type i
Definition:
sparse-sort.h:47
liboctave
util
sparse-sort.h
Generated on Sat Sep 1 2018 14:01:46 for GNU Octave by
1.8.14