Quantcast
Channel: Math.NET Numerics - Math.NET
Viewing all articles
Browse latest Browse all 224

VS2017 CLI question

$
0
0

@ice wrote:

Greetings,

to make a longs story short i used Fit::Polynomial() for approximation and it worked like a charm.
The results we not ok so my co-worker suggested i use:

y=a0x + a1+ a2x^(-1)+ a3x^(-2)+ a4x^(-3)

Since i use CLI/CLR and the all examples are in C#, i was wondering how do i use Fit::Curve or Fit::LinearCombination(mx, my, MathNet::Numerics::LinearRegression::DirectRegressionMethod::NormalEquations,
////from this point////
t => t, t => 1.0, t => System::Math::Pow(t, -1.0), t => System::Math::Pow(t, -2.0), t => System::Math::Pow(t, -3.0));
////to this point////
How do i write this in CLI language?

I apologise if i did anything wrong, i am very very new to this.
Can anyone help me or point me in the right direction?

Thank you for your time and have a nice day.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 224

Trending Articles