Handbook
Glossary
Vsub ( v start length -- sub )
Basic Linear Algebra Subroutines (BLAS) interface
ยป
BLAS interface vector operations
Next:
Vnorm ( x -- norm )
Vocabulary
math
.
blas
.
vectors
Inputs
v
a
blas-vector-base
start
an
integer
length
an
integer
Outputs
sub
a
blas-vector-base
Word description
Slice a subvector out of
v
starting at
start
with the given
length
. The subvector will share storage with the parent vector.
Definition
USING:
accessors
alien
alien.c-types
math
math.blas.vectors.private
;
IN:
math.blas.vectors
::
Vsub
( v start length -- sub )
v
inc>>
start
*
v
element-type
heap-size
*
v
underlying>>
<displaced-alien>
length v
inc>>
v
(blas-vector-like)
;