Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 internal Tuple <double[], double[]> GlobalControlPointsAndAuxiliaryKnots(FunctionDefinition functionDefinition)
 {
     return(GlobalControlPointsAndAuxiliaryKnots(functionDefinition.Degree, functionDefinition.Knots, functionDefinition.YCoordinates, functionDefinition.LeftDerivation, functionDefinition.RightDerivation, false));
 }
Exemplo n.º 3
0
 private Tuple <double[][], double[]> FunctionApproximationMatrix(FunctionDefinition functionDefinition)
 {
     return(FunctionApproximationMatrix(functionDefinition.XCoordinates, functionDefinition.Knots, functionDefinition.KnotsIndexes, functionDefinition.Degree));
 }
Exemplo n.º 4
0
 internal Tuple <double[], double[]> FunctionControlPointsAndAuxiliaryKnots(FunctionDefinition functionDefinition)
 {
     return(FunctionControlPointsAndAuxiliaryKnots(functionDefinition.Degree, functionDefinition.Knots, functionDefinition.YCoordinates, false));
 }