466#ifndef WCSLIB_WCSUTIL
467#define WCSLIB_WCSUTIL
void wcsutil_setBit(int nelem, const int *sel, int bits, int *array)
Set bits in selected elements of an array.
int wcsutil_all_sval(int nelem, const char *sval, const char(*sarr)[72])
Test if all elements a string array have a given value.
void wcsutil_double2str(char *buf, const char *format, double value)
Translate double to string ignoring the locale.
void wcsutil_blank_fill(int n, char c[])
Fill a character string with blanks.
int wcsutil_allEq(int nvec, int nelem, const double *first)
Test for equality of a particular vector element.
void wcsdealloc(void *ptr)
free memory allocated by WCSLIB functions.
void wcsutil_strcvt(int n, char c, int nt, const char src[], char dst[])
Copy character string with padding.
int wcsutil_str2double2(const char *buf, double *value)
Translate string to doubles, ignoring the locale.
void wcsutil_null_fill(int n, char c[])
Fill a character string with NULLs.
int wcsutil_dblEq(int nelem, double tol, const double *arr1, const double *arr2)
Test for equality of two arrays of type double.
int wcsutil_intEq(int nelem, const int *arr1, const int *arr2)
Test for equality of two arrays of type int.
int wcsutil_all_dval(int nelem, double dval, const double darr[])
Test if all elements a double array have a given value.
char * wcsutil_fptr2str(void(*fptr)(void), char hext[19])
Translate pointer-to-function to string.
void wcsutil_setAli(int nvec, int nelem, int *first)
Set a particular vector element.
int wcsutil_strEq(int nelem, char(*arr1)[72], char(*arr2)[72])
Test for equality of two string arrays.
int wcsutil_str2double(const char *buf, double *value)
Translate string to a double, ignoring the locale.
int wcsutil_all_ival(int nelem, int ival, const int iarr[])
Test if all elements an int array have a given value.
void wcsutil_setAll(int nvec, int nelem, double *first)
Set a particular vector element.