43 #ifndef AMINO_VALIDATE_H
44 #define AMINO_VALIDATE_H
69 struct timespec after );
#define AA_API
calling and name mangling convention for functions
AA_API int aa_valid_vunit(double *values, size_t n, double tol)
returns 0 if norm(v) == 1
AA_API int aa_valid_f(double value, double min, double max)
returns 0 if value >= min and value <= max, else nonzero
AA_API int aa_valid_v(double *values, size_t n, double *min, double *max, size_t n_desired)
Validate a vector.
AA_API int aa_valid_timespec(struct timespec tm, struct timespec before, struct timespec after)
returns 0 if time is within [before,after]