I am struggling to understand how to create a MatlabMatrixReader in visual basic.
Here is what I've tried:
Dim Matrix_A As DenseMatrix
Dim MatrixReader_A As Data.Matlab.MatlabMatrixReader(__Of DenseMatrix__)
MatrixReader_A.ReadMatrix("C:\pathtofile\something.mat")
I don't know what should go into the argument (in bold) when declaring the matrix reader.
I get the following compile errors for the argument of DenseMatrix:
Error 1 Type argument 'MathNet.Numerics.LinearAlgebra.Double.DenseMatrix' does not inherit from or implement the constraint type 'System.IEquatable(Of MathNet.Numerics.LinearAlgebra.Double.DenseMatrix)'. C:\Users\Vardavis\Documents\Visual Studio 2012\Projects\Seizure
Recognition\Seizure Recognition\Form1.vb 21 57 Seizure Recognition
Error 2 Type argument 'MathNet.Numerics.LinearAlgebra.Double.DenseMatrix' does not satisfy the 'Structure' constraint for type parameter 'TDataType'. C:\Users\Vardavis\Documents\Visual Studio 2012\Projects\Seizure Recognition\Seizure Recognition\Form1.vb 21
57 Seizure Recognition
Furthermore how do I populate Matrix_A with the results from the matrix reader?
