import lib for script operator
#5
(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..
  Reply


Messages In This Thread
import lib for script operator - by akis - 05-29-2023, 01:03 PM
RE: import lib for script operator - by tyFlow - 06-03-2023, 02:33 AM
RE: import lib for script operator - by akis - 06-05-2023, 09:30 PM
RE: import lib for script operator - by tyFlow - 06-05-2023, 09:48 PM
RE: import lib for script operator - by akis - 06-06-2023, 07:19 PM
RE: import lib for script operator - by tyFlow - 06-07-2023, 02:29 AM
RE: import lib for script operator - by akis - 06-07-2023, 08:01 AM
RE: import lib for script operator - by tyFlow - 06-07-2023, 01:30 PM
RE: import lib for script operator - by akis - 06-08-2023, 04:56 AM
RE: import lib for script operator - by akis - 06-07-2023, 03:34 PM
RE: import lib for script operator - by tyFlow - 06-08-2023, 01:25 PM
RE: import lib for script operator - by akis - 06-08-2023, 03:20 PM
RE: import lib for script operator - by tyFlow - 06-08-2023, 03:29 PM
RE: import lib for script operator - by akis - 06-08-2023, 05:28 PM
RE: import lib for script operator - by tyFlow - 06-08-2023, 05:35 PM
RE: import lib for script operator - by akis - 06-08-2023, 05:53 PM
RE: import lib for script operator - by akis - 06-08-2023, 08:46 PM
RE: import lib for script operator - by tyFlow - 06-08-2023, 09:05 PM
RE: import lib for script operator - by 11paf - 04-24-2024, 08:29 PM

Forum Jump: