ifw-odp 5.1.1
 
Loading...
Searching...
No Matches
clipm_priv_vector.h
Go to the documentation of this file.
1
5
6#ifndef CLIPM_PRIV_VECTOR_H
7#define CLIPM_PRIV_VECTOR_H
8
9/*-----------------------------------------------------------------------------
10 Includes
11 -----------------------------------------------------------------------------*/
12
13#include <cpl.h>
14
15/*-----------------------------------------------------------------------------
16 Declaration Block
17 -----------------------------------------------------------------------------*/
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/*-----------------------------------------------------------------------------
24 Prototypes
25 -----------------------------------------------------------------------------*/
26
27double clipm_priv_vector_get_min( const cpl_vector *v,
28 cpl_size *index);
29
30double clipm_priv_vector_get_max( const cpl_vector *v,
31 cpl_size *index);
32
33cpl_vector *clipm_priv_vector_expand( const cpl_vector *v,
34 cpl_size prepend_nr,
35 cpl_size append_nr);
36
38 const cpl_vector *v);
39
41 const cpl_vector *v);
42
44 const cpl_vector **dv);
45
46void clipm_priv_vector_null( cpl_vector **v);
47
48/*----------------------------------------------------------------------------*/
49
50#ifdef __cplusplus
51} /* extern "C" */
52#endif
53
54#endif /* CLIPM_PRIV_VECTOR_H */
cpl_vector * clipm_priv_vector_expand(const cpl_vector *v, cpl_size prepend_nr, cpl_size append_nr)
Prepend and append borderwidth 0-elements to v, respectively.
Definition clipm_priv_vector.c:164
cpl_vector * clipm_priv_vector_get_normal(const cpl_vector **dv)
Get the n-dimensional normal vector to n-1 direction vectors.
Definition clipm_priv_vector.c:341
void clipm_priv_vector_null(cpl_vector **v)
Delete a CPL vector object and set the pointer to NULL.
Definition clipm_priv_vector.c:458
cpl_vector * clipm_priv_vector_differentiate(const cpl_vector *v)
Differentiate a signal stored in a vector.
Definition clipm_priv_vector.c:270
cpl_vector * clipm_priv_vector_integrate(const cpl_vector *v)
Integrate a signal stored in a vector.
Definition clipm_priv_vector.c:223
double clipm_priv_vector_get_min(const cpl_vector *v, cpl_size *index)
Return minimum and corresponding index of a vector.
Definition clipm_priv_vector.c:52
double clipm_priv_vector_get_max(const cpl_vector *v, cpl_size *index)
Return maximum and corresponding index of a vector.
Definition clipm_priv_vector.c:106