ArKi
ArKi

Reputation: 701

How can I access the PseudoInverse() and AsArray() functions of DenseMatrix in MathNET?

I am looking through the documentation of Matrix in MathNet, and have tried initializing my matrix in different ways.

using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Double;

Matrix<double> a = Matrix<double>.Build(3, 3, myDoubleArray);
DenseMatrix b = new DenseMatrix(3, 3, myDoubleArray);
DenseMatrix c = new DenseMatrix(3);

However, when I look at the member functions that are available to me, I am unable to see functions such as AsArray() or PseudoInverse() even though they appear in the documentation here.

Why is this the case? Are these extension methods that I need to add another using statement for?

Upvotes: 2

Views: 215

Answers (1)

Ilian
Ilian

Reputation: 5355

I checked the source. AsArray and PseudoInverse are only in version 3.14 (still in beta, though).

Upvotes: 3

Related Questions