Lib
piv API documentation
Main Page
|
Files
|
Data Structures
|
Functions
|
Global Variables
|
Main Page
Data Structures
Files
File List
Globals
gpiv-utils_alloc.h
Go to the documentation of this file.
1
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 c-style: "K&R" -*- */
2
3
/*
4
libgpiv - library for Particle Image Velocimetry
5
6
Copyright (C) 2007, 2008 Gerber van der Graaf
7
8
This file is part of libgpiv.
9
10
Libgpiv is free software; you can redistribute it and/or modify
11
it under the terms of the GNU General Public License as published by
12
the Free Software Foundation; either version 2, or (at your option)
13
any later version.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with this program; if not, write to the Free Software Foundation,
22
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
24
25
26
27
-------------------------------------------------------------------------------
28
LIBRARY: libgpiv:
29
EXTERNAL FUNCTIONS:
30
check_img_exist
31
32
gpiv_scan_iph,
33
gpiv_scan_iph_nl,
34
gpiv_fscan_iph,
35
gpiv_scan_cph,
36
gpiv_fscan_cph,
37
gpiv_scan_fph,
38
gpiv_fscan_fph,
39
gpiv_scan_sph,
40
gpiv_fscan_sph,
41
gpiv_sort_3,
42
43
44
gpiv_matrix,
45
gpiv_free_matrix
46
gpiv_matrix_index
47
gpiv_free_matrix_index
48
gpiv_ucmatrix,
49
gpiv_free_ucmatrix
50
gpiv_matrix_guint16
51
gpiv_free_matrix_guint16
52
gpiv_imatrix,
53
gpiv_free_imatrix
54
gpiv_double_matrix
55
gpiv_free_double_matrix
56
gpiv_fftw_real_matrix
57
gpiv_free_fftw_real_matrix
58
59
gpiv_vector,
60
gpiv_free_vector,
61
gpiv_vector_index,
62
gpiv_free_vector_index,
63
64
gpiv_dvector,
65
gpiv_free_dvector,
66
gpiv_dvector_index,
67
gpiv_free_dvector_index,
68
69
gpiv_nulvector,
70
gpiv_free_nulvector,
71
gpiv_nulvector_index,
72
gpiv_free_nulvector_index,
73
74
gpiv_ulvector,
75
gpiv_free_ulvector,
76
gpiv_ulvector_index,
77
gpiv_free_ulvector_index,
78
79
gpiv_ivector,
80
gpiv_free_ivector,
81
gpiv_ivector_index,
82
gpiv_free_ivector_index
83
gpiv_gbolvector
84
gpiv_free_gbolvector
85
86
87
LAST MODIFICATION DATE: $Id: gpiv-utils_alloc.h,v 1.1 2007-11-23 16:12:18 gerber Exp $
88
--------------------------------------------------------------------------- */
98
#ifndef __L_UTILS_H__
99
#define __L_UTILS_H__
100
108
gfloat **
109
gpiv_matrix
(
long
nr,
110
long
nc
111
);
112
113
114
121
void
122
gpiv_free_matrix
(gfloat **m
123
);
124
125
126
137
gfloat **
138
gpiv_matrix_index
(
const
long
nrl,
139
const
long
nrh,
140
const
long
ncl,
141
const
long
nch
142
);
143
144
145
157
void
158
gpiv_free_matrix_index
(gfloat **m,
159
const
long
nrl,
160
const
long
nrh,
161
const
long
ncl,
162
const
long
nch
163
);
164
165
166
174
guchar **
175
gpiv_ucmatrix
(
const
long
nr,
176
const
long
nc
177
);
178
179
180
187
void
188
gpiv_free_ucmatrix
(guchar **m
189
);
190
191
192
200
guint8 **
201
gpiv_matrix_guint8
(
const
long
nr,
202
const
long
nc
203
);
204
205
206
213
void
214
gpiv_free_matrix_guint8
(guint8 **m
215
);
216
217
225
guint16 **
226
gpiv_matrix_guint16
(
const
long
nr,
227
const
long
nc
228
);
229
230
231
238
void
239
gpiv_free_matrix_guint16
(guint16 **m
240
);
241
242
243
254
gint **
255
gpiv_imatrix_index
(
const
long
nrl,
256
const
long
nrh,
257
const
long
ncl,
258
const
long
nch
259
);
260
261
262
274
void
275
gpiv_free_imatrix_index
(gint **m,
276
const
long
nrl,
277
const
long
nrh,
278
const
long
ncl,
279
const
long
nch
280
);
281
282
283
292
gint **
293
gpiv_imatrix
(
const
long
nr,
294
const
long
nc
295
);
296
297
298
306
void
307
gpiv_free_imatrix
(gint **m
308
);
309
310
311
312
double
**
321
gpiv_double_matrix
(
const
glong nr,
322
const
glong nc
323
);
324
325
326
333
void
334
gpiv_free_double_matrix
(
double
**m
335
);
336
337
338
#ifndef USE_FFTW3
339
347
fftw_real **
348
gpiv_fftw_real_matrix
(glong nr,
349
glong nc
350
);
351
352
353
360
void
361
gpiv_free_fftw_real_matrix
(fftw_real **m
362
);
363
364
#endif
/* USE_FFTW3 */
365
366
375
fftw_complex **
376
gpiv_fftw_complex_matrix
(
const
long
nr,
377
const
long
nc
378
);
379
380
381
388
void
389
gpiv_free_fftw_complex_matrix
(fftw_complex **m
390
);
391
392
399
gfloat *
400
gpiv_vector
(
const
long
nl
401
);
402
403
404
411
void
412
gpiv_free_vector
(gfloat *vector
413
);
414
415
416
425
gfloat *
426
gpiv_vector_index
(
const
long
nl,
427
const
long
nh
428
);
429
430
431
441
void
442
gpiv_free_vector_index
(gfloat *vector,
443
const
long
nl,
444
const
long
nh
445
);
446
447
448
455
gdouble *
456
gpiv_dvector
(
const
glong nl
457
);
458
459
460
467
void
468
gpiv_free_dvector
(gdouble *vector
469
);
470
471
472
481
gdouble *
482
gpiv_dvector_index
(
const
long
nl,
483
const
long
nh
484
);
485
486
487
497
void
498
gpiv_free_dvector_index
(gdouble *vector,
499
const
long
nl,
500
const
long
nh
501
);
502
503
504
511
long
*
512
gpiv_nulvector
(
long
nl
513
);
514
515
516
523
void
524
gpiv_free_nulvector
(
long
*vector
525
);
526
527
528
537
long
*
538
gpiv_nulvector_index
(
const
long
nl,
539
const
long
nh
540
);
541
542
543
553
void
554
gpiv_free_nulvector_index
(
long
*vector,
555
const
long
nl,
556
const
long
nh
557
);
558
559
560
567
unsigned
long
*
568
gpiv_ulvector
(
const
long
nl
569
);
570
571
572
579
void
580
gpiv_free_ulvector
(
unsigned
long
*vector
581
);
582
583
584
593
unsigned
long
*
594
gpiv_ulvector_index
(
const
long
nl,
595
const
long
nh
596
);
597
598
599
609
void
610
gpiv_free_ulvector_index
(
unsigned
long
*vector,
611
const
long
nl,
612
const
long
nh
613
);
614
615
616
623
gint *
624
gpiv_ivector
(
const
long
nl
625
);
626
627
628
635
void
636
gpiv_free_ivector
(gint *vector
637
);
638
639
640
649
gint *
650
gpiv_ivector_index
(
const
long
nl,
651
const
long
nh
652
);
653
654
655
665
void
666
gpiv_free_ivector_index
(gint *vector,
667
const
long
nl,
668
const
long
nh
669
);
670
671
672
679
gboolean *
680
gpiv_gbolvector
(
const
glong nl
681
);
682
683
684
691
void
692
gpiv_free_gbolvector
(gboolean *vector
693
);
694
695
696
697
#endif
/* __L_UTILS_H__ */
Generated on Thu Mar 20 2014 09:01:34 for libgpiv-0.6.1 by
1.8.1.2