Next: Example programs for vectors, Previous: Finding maximum and minimum elements of vectors, Up: Vectors [Index]
The following functions are defined for real and complex vectors. For complex vectors both the real and imaginary parts must satisfy the conditions.
These functions return 1 if all the elements of the vector v are zero, strictly positive, strictly negative, or non-negative respectively, and 0 otherwise.
This function returns 1 if the vectors u and v are equal (by comparison of element values) and 0 otherwise.