Math_Polynomial
[ class tree: Math_Polynomial ] [ index: Math_Polynomial ] [ all elements ]

Element index for package Math_Polynomial

[ a ] [ c ] [ d ] [ e ] [ g ] [ i ] [ m ] [ n ] [ p ] [ s ] [ t ] [ _ ]

_

$_coef
in file PolynomialTerm.php, variable Math_PolynomialTerm::$_coef
    The coefficient of the term
$_exp
in file PolynomialTerm.php, variable Math_PolynomialTerm::$_exp
    The exponent of the term
$_needs_combining
in file Polynomial.php, variable Math_Polynomial::$_needs_combining
    Whether or not Polynomial may contain multiple terms of the same degree
$_needs_sorting
in file Polynomial.php, variable Math_Polynomial::$_needs_sorting
    Whether or nothe Polynomial terms list needs to be sorted
$_terms
in file Polynomial.php, variable Math_Polynomial::$_terms
    An array of PolynomialTerm objects
_combineLikeTerms
in file Polynomial.php, method Math_Polynomial::_combineLikeTerms()
    Combine like terms inside the Polynomial object
_parsePolynomial
in file Polynomial.php, method Math_Polynomial::_parsePolynomial()
    Parse a string
_parseTerm
in file Polynomial.php, method Math_Polynomial::_parseTerm()
    Parse an individual term of Math_Polynomial into a Math_PolynomialTerm object
_round
in file PolynomialOp.php, method Math_PolynomialOp::_round()
    Round an array of integers or single integer if its within the round boundary
_sortTerms
in file Polynomial.php, method Math_Polynomial::_sortTerms()
    Sort the terms list
top

a

add
in file PolynomialOp.php, method Math_PolynomialOp::add()
    Add two Polynomials together and return the result
addTerm
in file Polynomial.php, method Math_Polynomial::addTerm()
    Add a term to the Polynomial
top

c

create
in file PolynomialOp.php, method Math_PolynomialOp::create()
    Create a Polynomial object from a string/integer/float
createFromRoots
in file PolynomialOp.php, method Math_PolynomialOp::createFromRoots()
    Create a Polynomial object which has roots (zeros) provided as parameters
createFunction
in file PolynomialOp.php, method Math_PolynomialOp::createFunction()
    Create a lambda-style anonymous function from the Polynomial
createSecantFunction
in file PolynomialOp.php, method Math_PolynomialOp::createSecantFunction()
    Create a lambda-style function representing the secant line through two points
createTangentFunction
in file PolynomialOp.php, method Math_PolynomialOp::createTangentFunction()
    Create a lambda-style function representing the tangent line at a point
top

d

degree
in file Polynomial.php, method Math_Polynomial::degree()
    Retrieve the degree ( highest exponent value ) of the polynomial
degreeString
in file Polynomial.php, method Math_Polynomial::degreeString()
    Retrieve a string naming the degree of the polynomial
div
in file PolynomialOp.php, method Math_PolynomialOp::div()
    Divide one Polynomial by another, returning the result
top

e

equals
in file PolynomialOp.php, method Math_PolynomialOp::equals()
    Tell whether or not two Polynomials/string representations are equal
evaluate
in file PolynomialOp.php, method Math_PolynomialOp::evaluate()
    Evaluate the polynomial for a given x value
top

g

getAntiDerivative
in file PolynomialOp.php, method Math_PolynomialOp::getAntiDerivative()
    Get the nth anti-derivative of a Math_Polynomial
getCoefficient
in file PolynomialTerm.php, method Math_PolynomialTerm::getCoefficient()
    Get the coefficient from the Polynomial Term
getCriticalPoints
in file PolynomialOp.php, method Math_PolynomialOp::getCriticalPoints()
    Calculate and return an array of critical points for the Polynomial
getDerivative
in file PolynomialOp.php, method Math_PolynomialOp::getDerivative()
    Get the nth derivative of a Math_Polynomial
getEndBehavior
in file PolynomialOp.php, method Math_PolynomialOp::getEndBehavior()
    Get the end behavior of a Polynomial
getExponent
in file PolynomialTerm.php, method Math_PolynomialTerm::getExponent()
    Get the exponent from the Polynomial Term
getLocalMaximums
in file PolynomialOp.php, method Math_PolynomialOp::getLocalMaximums()
    Find and return an array of the local maximums of the Polynomial
getLocalMinimums
in file PolynomialOp.php, method Math_PolynomialOp::getLocalMinimums()
    Find and return an array of the minimums of the Polynomial
getRoots
in file PolynomialOp.php, method Math_PolynomialOp::getRoots()
    Get the roots of this Polynomial
getRootsCubic
in file PolynomialOp.php, method Math_PolynomialOp::getRootsCubic()
    Find and return the real roots of a cubic Polynomial using the cubic formula
getRootsHighDegree
in file PolynomialOp.php, method Math_PolynomialOp::getRootsHighDegree()
    Estimate and return the roots of a high-degree Polynomial ( degree 5 or greater )
getRootsLinear
in file PolynomialOp.php, method Math_PolynomialOp::getRootsLinear()
    Get the roots of a linear Polynomial
getRootsQuadratic
in file PolynomialOp.php, method Math_PolynomialOp::getRootsQuadratic()
    Get the roots of a quadratic Polynomial (using the Quadratic Formula)
getRootsQuartic
in file PolynomialOp.php, method Math_PolynomialOp::getRootsQuartic()
    Find and return the roots of a Quartic Polynomial (degree 4) with the Quartic formula
getSecantAt
in file PolynomialOp.php, method Math_PolynomialOp::getSecantAt()
    Get a Math_Polynomial object representing the secant line through two points on the given Polynomial
getSecantSlopeAt
in file PolynomialOp.php, method Math_PolynomialOp::getSecantSlopeAt()
    Get the slope of a secant to the Polynomial passing through points x1 and x2
getSlopeAt
in file PolynomialOp.php, method Math_PolynomialOp::getSlopeAt()
    Get the slope of the Polynomial at a given x value
getTangentAt
in file PolynomialOp.php, method Math_PolynomialOp::getTangentAt()
    Get a Polynomial object representing a tangent to the given Polynomial at the given point
getTangentSlopeAt
in file PolynomialOp.php, method Math_PolynomialOp::getTangentSlopeAt()
    Alias of Math_PolynomialOp::getSlopeAt()
getTerm
in file Polynomial.php, method Math_Polynomial::getTerm()
    Get the term in the nth position from the Polynomial
top

i

isConstant
in file PolynomialOp.php, method Math_PolynomialOp::isConstant()
    Tell whether or not a Polynomial is constant (degree 0)
isEven
in file PolynomialOp.php, method Math_PolynomialOp::isEven()
    Test if a Math_Polynomial object is an even function (i.e.: f(-x) == f(x) for all x)
isMath_Polynomial
in file PolynomialOp.php, method Math_PolynomialOp::isMath_Polynomial()
    Tell whether or not an object is a Polynomial or not
isOdd
in file PolynomialOp.php, method Math_PolynomialOp::isOdd()
    Test if a Math_Polynomial object is an odd function (i.e.: f(-x) == -f(x) for all x)
isZero
in file PolynomialOp.php, method Math_PolynomialOp::isZero()
    Tells whether or not the Polynomial is equivalent to zero
top

m

Math_Polynomial
in file Polynomial.php, class Math_Polynomial
    Polynomial class
Math_Polynomial
in file Polynomial.php, method Math_Polynomial::Math_Polynomial()
    Polynomial Constructor
Math_PolynomialOp
in file PolynomialOp.php, class Math_PolynomialOp
    Class for operations on Math_Polynomial objects
Math_PolynomialTerm
in file PolynomialTerm.php, method Math_PolynomialTerm::Math_PolynomialTerm()
    Construct a polynomial term object
Math_PolynomialTerm
in file PolynomialTerm.php, class Math_PolynomialTerm
    Class representing a term of a Polynomial
MATH_POLYNOMIAL_CONCAVE_DOWN
in file PolynomialOp.php, constant MATH_POLYNOMIAL_CONCAVE_DOWN
    Flag indicating concave down
MATH_POLYNOMIAL_CONCAVE_UP
in file PolynomialOp.php, constant MATH_POLYNOMIAL_CONCAVE_UP
    Flag indicating concave up
MATH_POLYNOMIAL_CRITICAL_POINT
in file PolynomialOp.php, constant MATH_POLYNOMIAL_CRITICAL_POINT
    Flag indicating that this is a critical point
MATH_POLYNOMIAL_DECREASING
in file PolynomialOp.php, constant MATH_POLYNOMIAL_DECREASING
    Flag indicating curve is decreasing
MATH_POLYNOMIAL_INCREASING
in file PolynomialOp.php, constant MATH_POLYNOMIAL_INCREASING
    Flag indicating curve is increasing
MATH_POLYNOMIAL_QUADRANT_1
in file PolynomialOp.php, constant MATH_POLYNOMIAL_QUADRANT_1
MATH_POLYNOMIAL_QUADRANT_2
in file PolynomialOp.php, constant MATH_POLYNOMIAL_QUADRANT_2
MATH_POLYNOMIAL_QUADRANT_3
in file PolynomialOp.php, constant MATH_POLYNOMIAL_QUADRANT_3
MATH_POLYNOMIAL_QUADRANT_4
in file PolynomialOp.php, constant MATH_POLYNOMIAL_QUADRANT_4
MATH_POLYNOMIAL_ROUND_BOUNDARY
in file PolynomialOp.php, constant MATH_POLYNOMIAL_ROUND_BOUNDARY
    Rounding boundary for numbers that get multiplied together
mod
in file PolynomialOp.php, method Math_PolynomialOp::mod()
    Calculate the mod (%) $p1 of $p2 and return the result as a Polynomial
mul
in file PolynomialOp.php, method Math_PolynomialOp::mul()
    Multiply two Polynomials together
top

n

numTerms
in file Polynomial.php, method Math_Polynomial::numTerms()
    Tell the number of terms in the Polynomial object
top

p

Polynomial_examples.php
procedural page Polynomial_examples.php
PolynomialTerm.php
procedural page PolynomialTerm.php
Polynomial.php
procedural page Polynomial.php
PolynomialOp.php
procedural page PolynomialOp.php
PolynomialTest.php
procedural page PolynomialTest.php
top

s

setCoefficient
in file PolynomialTerm.php, method Math_PolynomialTerm::setCoefficient()
    Set the coefficient of the term
setExponent
in file PolynomialTerm.php, method Math_PolynomialTerm::setExponent()
    Set the exponent of the term
sub
in file PolynomialOp.php, method Math_PolynomialOp::sub()
    Subtract one Polynomial from another Polynomial
top

t

toString
in file PolynomialTerm.php, method Math_PolynomialTerm::toString()
    Get a string representation of just this term
toString
in file Polynomial.php, method Math_Polynomial::toString()
    Retrieve a string representation of the Polynomial
top

Documentation generated on Mon, 11 Mar 2019 14:38:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.