public class GamUtilsISplines
extends java.lang.Object
Constructor and Description |
---|
GamUtilsISplines() |
Modifier and Type | Method and Description |
---|---|
static double[] |
addCoeffs(double[] leftCoef,
double[] riteCoef)
Perform summation of coefficients from the left and rite splines with lower order.
|
static void |
combineParentCoef(double[] parentCoeff,
double parentConst,
double[][] currCoeff)
Extract coefficients for a node as in equation 5, 11 or 16 by combining the constants, additional
polynomials with polynomials from nodes of lower orders.
|
static double[] |
extractKnots(int index,
int order,
double[] knots)
This method is used to extract the knots over which a basis function is supposed to be non-zero.
|
static double[] |
fillKnots(double[] knots,
int m) |
static double[] |
polynomialProduct(double[] coeff1,
double[] coeff2)
This method performs the multiplication of two polynomials where the polynomials are given as a double
array.
|
static void |
sumCoeffs(double[][] leftCoeffs,
double[][] riteCoeffs,
double[][] currCoeffs)
Perform sum of two polynomials resulting in a double[] representing the result of the summation.
|
public static double[] fillKnots(double[] knots, int m)
public static double[] extractKnots(int index, int order, double[] knots)
public static double[] polynomialProduct(double[] coeff1, double[] coeff2)
public static void combineParentCoef(double[] parentCoeff, double parentConst, double[][] currCoeff)
public static void sumCoeffs(double[][] leftCoeffs, double[][] riteCoeffs, double[][] currCoeffs)
public static double[] addCoeffs(double[] leftCoef, double[] riteCoef)