Next: Example programs for vectors, Previous: Finding maximum and minimum elements of vectors, Up: Vectors
These functions return 1 if all the elements of the vector v are zero, strictly positive, or strictly negative respectively, and 0 otherwise. To test for a non-negative vector, use the expression
!gsl_vector_isneg(v)
.