Fun times with generalized-arrays added by DeeEff on Tue Jan 30 05:31:19 2024
(import arrays blas srfi-4 test) (define order RowMajor) (define transa NoTrans) (define m 4) (define n 4) (define alpha 1) (define beta 0) (define a (make-array-from-storage f64vector-storage-class (vector m n) (f64vector 1 2 3 4 1 1 1 1 3 4 5 6 5 6 7 8))) (define x (f64vector 1 2 1 1)) (define y (f64vector 0 0 0 0)) (dgemv! order transa m n alpha (array-storage-object a) x beta y) (test "Result of multiplying the array a by the vector x" y (f64vector 12 5 22 32))