Replaces the contents of the result variable with the square of each element of the input vector. The square of NaN is NaN. |
COPY 1,5 A SQUARE A B PRINT A B The above program produced the following result: A: (1.0 2.0 3.0 4.0 5.0) B: (1.0 4.0 9.0 16.0 25.0)
|