Vector.isZero
Checks if the vector is a zero vector.
Arguments
None
Return values
condition
is TRUE if all coordinates of the vector are exactly zero, FALSE otherwise.
Complexity
O(dimension)
Example
Output:
FALSE
TRUE
Checks if the vector is a zero vector.
None
O(dimension)