|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjpicedt.graphic.util.VecPolynomial
public class VecPolynomial
Polynôme monovarié dans l'espace des PicVector.
| Constructor Summary | |
|---|---|
VecPolynomial(int leastDegree,
int degree)
construit un polynôme nul en allouant en interne la mémoire pour les coefficient de leastDegree à degree |
|
VecPolynomial(int leastDegree,
int degree,
PicVector[] coefficients)
construit un polynôme. |
|
| Method Summary | |
|---|---|
void |
addMonomial(int d,
PicVector c)
ajoute c*X^d au polynôme this. this est modifié. |
VecPolynomial |
clone()
Clone this |
PicVector |
coeff(int i)
Renvoie le coefficient du monôme de degré i |
void |
degreeExtend(int d)
fait en sorte que le format interne du polynome contienne le degré d. |
Polynomial |
dot(PicVector v)
Effectue le porduit scalaire entre le polynôme this et l'argument PicVector v. |
Polynomial |
dot(VecPolynomial x)
Effectue le produit scalaire avec un autre polynôme |
Polynomial |
dotXAxis()
Effectue le porduit scalaire entre le polynôme this et PicVector.X_AXIS de façon optimisée par rapport à l'usage de la méthode dot. |
Polynomial |
dotYAxis()
Effectue le porduit scalaire entre le polynôme this et PicVector.Y_AXIS de façon optimisée par rapport à l'usage de la méthode dot. |
String |
toString()
Convertit le polynôme this en une chaîne de caractère humainement lisible à des fin de débogage. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VecPolynomial(int leastDegree,
int degree)
public VecPolynomial(int leastDegree,
int degree,
PicVector[] coefficients)
| Method Detail |
|---|
public VecPolynomial clone()
clone in class Objectpublic PicVector coeff(int i)
public Polynomial dot(PicVector v)
public Polynomial dotXAxis()
dot(PicVector v),
dotYAxis()public Polynomial dotYAxis()
dot(PicVector v),
dotYAxis()public Polynomial dot(VecPolynomial x)
public void addMonomial(int d,
PicVector c)
public void degreeExtend(int d)
public String toString()
toString in class Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||