Handbook
Glossary
n*M! ( n A -- A=n*A )
Basic Linear Algebra Subroutines (BLAS) interface
ยป
BLAS interface matrix operations
Prev:
M. ( A B -- A.B )
Next:
n*M ( n A -- n*A )
Vocabulary
math
.
blas
.
matrices
Inputs
n
a
number
A
a
blas-matrix-base
Outputs
A=n*A
a
blas-matrix-base
Word description
Calculate the scalar-matrix product
nA
and overwrite the current contents of A with the result.
Side effects
Modifies
A
See also
n*M
,
M*n
,
M/n
Definition
USING:
kernel
math.blas.vectors
sequences
;
IN:
math.blas.matrices
:
n*M!
( n A -- A=n*A )
[
(Mcols)
[
n*V!
drop
]
with
each
]
keep
;