org.jscience.mathematics.analysis.polynomials
Class ComplexLagrangeBasis

java.lang.Object
  extended by org.jscience.mathematics.analysis.polynomials.ComplexLagrangeBasis
All Implemented Interfaces:
PolynomialBasis

public class ComplexLagrangeBasis
extends java.lang.Object
implements PolynomialBasis

A Lagrange base for polynomial over a complex field. For more detail

See Also:
DoubleLagrangeBasis

Constructor Summary
ComplexLagrangeBasis(Field.Member[] samplings)
          Creates a new instance of LagrangeBasis
 
Method Summary
 int dimension()
          DOCUMENT ME!
 Polynomial getBasisVector(int k)
          DOCUMENT ME!
 Field.Member[] getSamplingPoints()
          If available, get the one- points for the polynomials
 ComplexPolynomial superposition(Complex[] c)
          DOCUMENT ME!
 Polynomial superposition(Field.Member[] coeff)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexLagrangeBasis

public ComplexLagrangeBasis(Field.Member[] samplings)
Creates a new instance of LagrangeBasis

Parameters:
samplings - DOCUMENT ME!
Throws:
java.lang.NullPointerException - DOCUMENT ME!
Method Detail

getBasisVector

public Polynomial getBasisVector(int k)
DOCUMENT ME!

Specified by:
getBasisVector in interface PolynomialBasis
Parameters:
k -
Returns:
DOCUMENT ME!

dimension

public int dimension()
DOCUMENT ME!

Specified by:
dimension in interface PolynomialBasis
Returns:
the dimension of this basis

getSamplingPoints

public Field.Member[] getSamplingPoints()
Description copied from interface: PolynomialBasis
If available, get the one- points for the polynomials

Specified by:
getSamplingPoints in interface PolynomialBasis
Returns:
DOCUMENT ME!

superposition

public Polynomial superposition(Field.Member[] coeff)
DOCUMENT ME!

Specified by:
superposition in interface PolynomialBasis
Parameters:
coeff -
Returns:
DOCUMENT ME!
Throws:
java.lang.NullPointerException - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!

superposition

public ComplexPolynomial superposition(Complex[] c)
DOCUMENT ME!

Parameters:
c -
Returns:
DOCUMENT ME!
Throws:
java.lang.NullPointerException - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!