Mrows ( A -- rows ) (original) (raw)

Mrows ( A -- rows )
Basic Linear Algebra Subroutines (BLAS) interface » BLAS interface matrix operations

Prev: Mtranspose ( matrix -- matrix^T )
Next: Mcols ( A -- cols )

Vocabulary
math.blas.matrices

Inputs

A a blas-matrix-base

Outputs

rows a sequence

Word description
Return a sequence of BLAS vectors representing the rows of matrix. Each vector will share the parent matrix's storage.

Definition

USING: accessors kernel ;

IN: math.blas.matrices

: Mrows ( A -- rows )
dup transpose>> [ (Mcols) ] [ (Mrows) ] if ;