I am trying to convert Func<MathNet.Numerics.LinearAlgebra.Vector<double>, double>
to Func<double[], double>
, but couldn't find a way.
The reason I need to do is: I get an argument in the first form and I have to pass it in the second form. Basically, I have to map each double value in a Vector to a double value in a double array.
Is there a way to do this conversion, perhaps with reflection?
Aucun commentaire:
Enregistrer un commentaire