KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > maths > polynomials > PolynomialBasis


1 package JSci.maths.polynomials;
2
3 import JSci.maths.fields.Field;
4
5
6 /**
7  * The vector space basis for polynomials
8  * @author b.dietrich
9  */

10 public interface PolynomialBasis {
11     /**
12      * Get the <I>k</I>th basis vector
13      * @param k for the <I>k</I>th basis vector
14      */

15     public Polynomial getBasisVector( int k );
16
17     /**
18      * The dimension of the vector space.
19      * @return the dimension
20      */

21     public int dimension();
22
23     /**
24      * If available, get the one- points for the polynomials
25      * @return the one-points
26      */

27     public Field.Member[] getSamplingPoints();
28
29     /**
30      * Get a superposition of basis vectors
31      * @param coeff coefficients for the superposition
32      *
33      * @return a superposition
34      */

35     public Polynomial superposition( Field.Member[] coeff );
36 }
37
38
Popular Tags