JSci.maths.polynomials
Class RealMonomialBasis

java.lang.Object
  extended byJSci.maths.polynomials.RealMonomialBasis
All Implemented Interfaces:
PolynomialBasis

public class RealMonomialBasis
extends java.lang.Object
implements PolynomialBasis


Constructor Summary
RealMonomialBasis(int dim)
          Creates a new instance of RealMonomialBasis
 
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
 RealPolynomial superposition(double[] d)
           
 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

RealMonomialBasis

public RealMonomialBasis(int dim)
Creates a new instance of RealMonomialBasis

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 -
Returns:
a basis vector

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 RealPolynomial superposition(double[] d)
Parameters:
d -