06-06-2023, 07:19 PM
(06-05-2023, 09:48 PM)tyFlow Wrote: Have you tried Math.Random? That’s built in…
Mathf.Sin() and Math.Sin() worked, however Math.Random didn't.. also i can't find any reference for max.net..
tried to import MathNet.Numerics, those lines:
MathNet.Numerics.LinearAlgebra.Double.Matrix<double> A = MathNet.Numerics.LinearAlgebra.Double.DenseMatrix.OfArray(new double[,] {
{1,1,1,1},{1,2,3,4},{4,3,2,1}});
MathNet.Numerics.LinearAlgebra.Double.Vector<double>[] nullspace = A.Kernel();
got this error:
'the non-generic type MathNet.Numerics...Matrix cannot be used with type arguments..'
also tried:
using MathNet.Numerics.LinearAlgebra; however this also didnt work..
i have no idea how to implement this, any thoughts-recommendations would help..