Next: Reading and writing vectors, Previous: Accessing vector elements, Up: Vectors
This function sets all the elements of the vector v to the value x.
This function sets all the elements of the vector v to zero.
This function makes a basis vector by setting all the elements of the vector v to zero except for the i-th element which is set to one.