|
ifw-odp 5.0.0
|
#include "ifw/odp/clipm/clipm_priv_vector.h"#include "ifw/odp/clipm/clipm_math.h"#include "ifw/odp/clipm/clipm_compatibility_replacements.h"#include "ifw/odp/clipm/clipm_priv_error.h"#include <string.h>Functions | |
| double | clipm_priv_vector_get_min (const cpl_vector *v, cpl_size *index) |
| Return minimum and corresponding index of a vector. | |
| double | clipm_priv_vector_get_max (const cpl_vector *v, cpl_size *index) |
| Return maximum and corresponding index of a vector. | |
| 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. | |
| cpl_vector * | clipm_priv_vector_integrate (const cpl_vector *v) |
| Integrate a signal stored in a vector. | |
| cpl_vector * | clipm_priv_vector_differentiate (const cpl_vector *v) |
| Differentiate a signal stored in a vector. | |
| cpl_vector * | clipm_priv_vector_get_normal (const cpl_vector **dv) |
| Get the n-dimensional normal vector to n-1 direction vectors. | |
| void | clipm_priv_vector_null (cpl_vector **v) |
| Delete a CPL vector object and set the pointer to NULL. | |
| cpl_vector * clipm_priv_vector_differentiate | ( | const cpl_vector * | v | ) |
Differentiate a signal stored in a vector.
| v | Input vector |
outdata = indata[0] - indata[-1];
| 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.
| v | Input vector |
| prepend_nr | Number of elements that are going to be prepended at the beginning of v |
| append_nr | Number of elements that are going to be appended to the end of v |
| double clipm_priv_vector_get_max | ( | const cpl_vector * | v, |
| cpl_size * | index ) |
Return maximum and corresponding index of a vector.
| v | Input vector |
| index | Output index, where the maximum has been found, can be NULL, returns -1 in the case of error |
| double clipm_priv_vector_get_min | ( | const cpl_vector * | v, |
| cpl_size * | index ) |
Return minimum and corresponding index of a vector.
| v | Input vector |
| index | Output index, where the minimum has been found, can be NULL, returns -1 in the case of error |
| cpl_vector * clipm_priv_vector_get_normal | ( | const cpl_vector ** | dv | ) |
Get the n-dimensional normal vector to n-1 direction vectors.
| dv | Array of n-1 direction vectors |

| cpl_vector * clipm_priv_vector_integrate | ( | const cpl_vector * | v | ) |
Integrate a signal stored in a vector.
| v | Input vector |
| void clipm_priv_vector_null | ( | cpl_vector ** | v | ) |
Delete a CPL vector object and set the pointer to NULL.
| v | Pointer to vector pointer |
The following code is executed: