Navigation

Operators and Keywords

Function List:

C++ API

 function benchmark_stmm (n, nvec)
 description:
 Sparse transposed matrix-vector multiplication benchmark.
 This is to test the "compound operators" feature introduced in Octave.

 arguments:
 n = dimension of matrix
 nvec = number of vector op repeats

 results:
 time_tmm = Time for A'*B (B n^2-by-nvec matrix)
 time_tmv = Time for A'*v nvec-times (v vector)
 time_mtm = Time for B*A' (B nvec-by-n^2 matrix)
 time_mtv = Time for v*A' nvec-times (v vector)