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