internal Tuple <double[], double[]> FunctionApproximationControlPointsAndAuxiliaryKnots(FunctionDefinition function)
 {
     if (function.Knots == null || function.KnotsIndexes == null)
     {
         System.Diagnostics.Debug.WriteLine("FunctionDefinition is incomplete!");
         return(null);
     }
     return(FunctionApproximationControlPointsAndAuxiliaryKnots(function.Degree, function.XCoordinates, function.YCoordinates, function.Knots, function.KnotsIndexes));
 }
Exemple #2
0
 internal Tuple <double[], double[]> GlobalControlPointsAndAuxiliaryKnots(FunctionDefinition functionDefinition)
 {
     return(GlobalControlPointsAndAuxiliaryKnots(functionDefinition.Degree, functionDefinition.Knots, functionDefinition.YCoordinates, functionDefinition.LeftDerivation, functionDefinition.RightDerivation, false));
 }
 private Tuple <double[][], double[]> FunctionApproximationMatrix(FunctionDefinition functionDefinition)
 {
     return(FunctionApproximationMatrix(functionDefinition.XCoordinates, functionDefinition.Knots, functionDefinition.KnotsIndexes, functionDefinition.Degree));
 }
Exemple #4
0
 internal Tuple <double[], double[]> FunctionControlPointsAndAuxiliaryKnots(FunctionDefinition functionDefinition)
 {
     return(FunctionControlPointsAndAuxiliaryKnots(functionDefinition.Degree, functionDefinition.Knots, functionDefinition.YCoordinates, false));
 }