- paste(Atom) - Method in class org.dalton.polyfun.Term
-
Creates a new Term with the a new Atom at the front of Term
- paste(Term) - Method in class org.dalton.polyfun.Coef
-
Creates new Coef array with the new Term at the front of the array of Terms.
- place(Atom) - Method in class org.dalton.polyfun.Term
-
Places a new Atom in the array of Atoms that make up the term.
- place(Term) - Method in class org.dalton.polyfun.Coef
-
Creates a new Coef with the Term inserted in a convenient order or combines it with a like another like Term
- plus(Coef) - Method in class org.dalton.polyfun.Coef
-
Add Coefs by combining like Terms and adding unlike Terms
- plus(Polynomial) - Method in class org.dalton.polyfun.Polynomial
-
Add two GenPolynomials by adding the coefficients of the corresponding terms.
- Polynomial - Class in org.dalton.polyfun
-
A Polynomial is a polynomial in X with a certain degree and a set of coefficients.
- Polynomial() - Constructor for class org.dalton.polyfun.Polynomial
-
Default constructor.
- Polynomial(char, int) - Constructor for class org.dalton.polyfun.Polynomial
-
Construct a polynomial with generic coefficients.
- Polynomial(double) - Constructor for class org.dalton.polyfun.Polynomial
-
Constructs a zeroth degree or constant polynomial equal to the constant parameter.
- Polynomial(double[]) - Constructor for class org.dalton.polyfun.Polynomial
-
Constructor where you pass an array of numerical coefficients used to initialize Terms,
which creates the Coef array.
- Polynomial(double, int) - Constructor for class org.dalton.polyfun.Polynomial
-
Constructs a polynomial with one term and a specific degree.
- Polynomial(int) - Constructor for class org.dalton.polyfun.Polynomial
-
Construct a Polynomial by setting the degree.
- Polynomial(Atom) - Constructor for class org.dalton.polyfun.Polynomial
-
Constructs a zeroth degree polynomial which consists of an abstract constant.
- Polynomial(Atom, int) - Constructor for class org.dalton.polyfun.Polynomial
-
Constructs a polynomial of a certain degree with only one term whose coefficient is an abstract constant.
- Polynomial(Coef) - Constructor for class org.dalton.polyfun.Polynomial
-
Constructs a zeroth degree polynomial which consists of one Coef.
- Polynomial(Coef[]) - Constructor for class org.dalton.polyfun.Polynomial
-
Construct a Polynomial by specifying an array of Coefs
- Polynomial(Coef, int) - Constructor for class org.dalton.polyfun.Polynomial
-
Constructs a polynomial of a certain degree with only one term whose coefficient is a Coef.
- Polynomial(Term) - Constructor for class org.dalton.polyfun.Polynomial
-
Constructs a zeroth degree polynomial which consists of an abstract constant(s) and
a double (i.e.
- Polynomial(Term, int) - Constructor for class org.dalton.polyfun.Polynomial
-
Constructs a polynomial of a certain degree with only one term whose coefficient is an abstract constant(s)
and a double (i.e.
- pop() - Method in class org.dalton.polyfun.Coef
-
Remove first Term.
- pop() - Method in class org.dalton.polyfun.Term
-
Remove first Atom and return it.
- print() - Method in class org.dalton.polyfun.Atom
-
- print() - Method in class org.dalton.polyfun.Coef
-
- print() - Method in class org.dalton.polyfun.Polynomial
-
- print() - Method in class org.dalton.polyfun.Term
-
- push(Atom) - Method in class org.dalton.polyfun.Term
-
Inserts new Atom at the front of Term
- push(Term) - Method in class org.dalton.polyfun.Coef
-
Inserts new Term at the front of the array of Terms.
- Term - Class in org.dalton.polyfun
-
An array of Atoms and a number.
- Term() - Constructor for class org.dalton.polyfun.Term
-
Default constructor.
- Term(char) - Constructor for class org.dalton.polyfun.Term
-
Constructor sets numericalCoefficient to 1 and initializes atoms as an array of length 1.
- Term(double) - Constructor for class org.dalton.polyfun.Term
-
Construct a constant term.
- Term(double, Atom[]) - Constructor for class org.dalton.polyfun.Term
-
Construct a Term with a new number and an array of Atoms.
- Term(Atom) - Constructor for class org.dalton.polyfun.Term
-
Construct a Term that consists of one Atom.
- times(double) - Method in class org.dalton.polyfun.Coef
-
Multiplies each Term in the Coef by a scalar (double)
- times(double) - Method in class org.dalton.polyfun.Polynomial
-
Multiply a polynomial by a scalar by multiplying all the Coefs by the scalar.
- times(double) - Method in class org.dalton.polyfun.Term
-
Multiply Term by a scalar value.
- times(Coef) - Method in class org.dalton.polyfun.Coef
-
Multiply a Coefficient by another Coefficient.
- times(Coef) - Method in class org.dalton.polyfun.Polynomial
-
Multiply a polynomial by a Coef by multiplying all the Coefs by the Coef.
- times(Polynomial) - Method in class org.dalton.polyfun.Polynomial
-
Multiply a polynomial by a polynomial.
- times(Term) - Method in class org.dalton.polyfun.Term
-
Multiply Term by another Term.
- timesLikeAtom(Atom) - Method in class org.dalton.polyfun.Atom
-
Multiply two atoms which have the same letter and subscript.
- to(int) - Method in class org.dalton.polyfun.Polynomial
-
Raise to a power.
- toString() - Method in class org.dalton.polyfun.Atom
-
Returns a printable string of the Atom.
- toString() - Method in class org.dalton.polyfun.Coef
-
Compose a printable string of the Coef.
- toString() - Method in class org.dalton.polyfun.Polynomial
-
Returns a printable string.
- toString() - Method in class org.dalton.polyfun.Term
-
Composes a printable string of this term.