Интерполирование функций естественными кубическими сплайнами
http://ru.wikipedia.org/wiki/%D0%9A%D1%83%D0%B1%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B9_%D1%81%D0%BF%D0%BB%D0%B0%D0%B9%D0%BD
Exemple #1
0
 public void Init(DVar<PiStatement> model) {
   _data=new SortedList<double, double>();
   _cubSpl=new CubicSpline();
   _x=BiultInStatements.AddPin<double>(model, "X");
   _xe=BiultInStatements.AddPin<double>(model, "_xEpsilon");
   if(_xe.value==0) {
     _xe.value=1;
   }
   _yRef=BiultInStatements.AddPin<double>(model, "YRef");
   _match=BiultInStatements.AddPin<bool>(model, "Match");
   _ye=BiultInStatements.AddPin<double>(model, "_yEpsilon");
   if(_ye.value==0) {
     _ye.value=1;
   }
   _y=BiultInStatements.AddPin<double>(model, "Y");
   _csv=BiultInStatements.AddPin<string>(model, "_csv");
   _upd=0;
 }
Exemple #2
0
 public void Init(DVar<PiStatement> model) {
   _cubSpl=new CubicSpline();
   _x=BiultInStatements.AddPin<double>(model, "X");
   _y=BiultInStatements.AddPin<double>(model, "Y");
   _csv=BiultInStatements.AddPin<string>(model, "_csv");
 }