Just wanted to share some of the sparse matrix routines I use. Most of the stuff originally came from Sparsekit.
Source: MathNet.Numerics.Extensions-src.zip
Test app: MathNet.Numerics.Extensions-bin.zip
Benchmark (the last two columns show the timings in msecs):
Source: MathNet.Numerics.Extensions-src.zip
Test app: MathNet.Numerics.Extensions-bin.zip
Benchmark (the last two columns show the timings in msecs):
Operation Name Rows Columns Values Original Extension
Multiply fidapm02 537 537 19145 9161 35
Mult.D.Left fidapm02 537 537 19145 9618 2
Mult.D.Right fidapm02 537 537 19145 137 2
Transpose fidap035 19716 19716 217972 2643 3
Clear. Rows fidap035 19716 19716 217972 435 6
Clear. Cols fidap035 19716 19716 196319 6404 6
Perm. Rows fidapm07 2065 2065 45184 4131 7
Perm. Cols fidapm07 2065 2065 45184 5451 3
Norm. Rows fidapm09 4683 4683 93733 2176 3
Norm. Cols fidapm09 4683 4683 93733 3551 4
Add.D.Scalar fidapm09 4683 4683 93733 2483 6
Add.D.Matrix fidapm09 4683 4683 95053 2352 4