JSci.maths.polynomials
Class ComplexLagrangeBasis

java.lang.Object
  extended by JSci.maths.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:
RealLagrangeBasis

Constructor Summary
ComplexLagrangeBasis(Field.Member[] samplings)
          Creates a new instance of LagrangeBasis
 
Method Summary
 int dimension()
          The dimension of the vector space.
 Polynomial getBasisVector(int k)
          Get the kth basis vector
 Field.Member[] getSamplingPoints()
          If available, get the one- points for the polynomials
 ComplexPolynomial superposition(Complex[] c)
           
 Polynomial superposition(Field.Member[] coeff)
          Get a superposition of basis vectors
 
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

Method Detail

getBasisVector

public Polynomial getBasisVector(int k)
Description copied from interface: PolynomialBasis
Get the kth basis vector

Specified by:
getBasisVector in interface PolynomialBasis
Parameters:
k -

dimension

public int dimension()
Description copied from interface: PolynomialBasis
The dimension of the vector space.

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:
the one-points

superposition

public Polynomial superposition(Field.Member[] coeff)
Description copied from interface: PolynomialBasis
Get a superposition of basis vectors

Specified by:
superposition in interface PolynomialBasis
Parameters:
coeff -
Returns:
a superposition

superposition

public ComplexPolynomial superposition(Complex[] c)
Parameters:
c -