V- ( x y -- x-y )
Basic Linear Algebra Subroutines (BLAS) interface » BLAS interface vector operations

Prev:V+ ( x y -- x+y )
Next:V. ( x y -- x.y )


Vocabulary
math.blas.vectors

Inputs
xa blas-vector-base
ya blas-vector-base


Outputs
x-ya blas-vector-base


Word description
Calculate the vector difference x – y and return a freshly-allocated vector with the same length as x and y containing the result. Corresponds to the xAXPY routines in BLAS.

See also
n*V+V!, n*V!, n*V+V, n*V, V+, Vneg, V*n, V/n

Definition

:: V- ( x y -- x-y ) -1.0 y x n*V+V ; inline