ru.sscc.spline.polynomial
Class UniformPreparator

java.lang.Object
  |
  +--ru.sscc.spline.polynomial.MatrixPreparator
        |
        +--ru.sscc.spline.polynomial.UniformPreparator

public class UniformPreparator
extends MatrixPreparator

The implementation of MatrixPreparator for uniform mesh.

See Also:
Serialized Form

Fields inherited from class ru.sscc.spline.polynomial.MatrixPreparator
h
 
Constructor Summary
protected UniformPreparator(double step, int size, int order)
          Constructs preparator of the required order.
 
Method Summary
 void calculateA(SymBandedMatrix a)
          Calculates the symmetric banded Laurent matrix for nonuniform mesh.
 
Methods inherited from class ru.sscc.spline.polynomial.MatrixPreparator
by, ensureValidMatrix, getH
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniformPreparator

protected UniformPreparator(double step,
                            int size,
                            int order)
Constructs preparator of the required order.
Parameters:
size - a nodes number
order - a difference order
Method Detail

calculateA

public void calculateA(SymBandedMatrix a)
Calculates the symmetric banded Laurent matrix for nonuniform mesh. The matrix size should be equal to the rows number of the finite differences matrix. The width of matrix half-band should be not less than the degree of the finite difference matrix.
Overrides:
calculateA in class MatrixPreparator
Parameters:
a - a matrix to store the result.