Class ScalarPolynomial<N extends Scalar<N>, P extends ScalarPolynomial<N,P> >
java.lang.Object
org.ojalgo.function.polynomial.AbstractPolynomial<N,P>
org.ojalgo.function.polynomial.ScalarPolynomial<N,P>
- All Implemented Interfaces:
DoubleUnaryOperator, Function<N,N>, UnaryOperator<N>, Group, Group.Additive<PolynomialFunction<N>>, Operation, Operation.Addition<PolynomialFunction<N>>, Operation.Multiplication<PolynomialFunction<N>>, Ring<PolynomialFunction<N>>, BasicFunction, BasicFunction.Differentiable<N, PolynomialFunction<N>>, BasicFunction.Integratable<N, PolynomialFunction<N>>, PolynomialFunction<N>, UnaryFunction<N>, Access1D<N>, Mutate1D, Structure1D
- Direct Known Subclasses:
PolynomialC128, PolynomialQ128, PolynomialR128
abstract class ScalarPolynomial<N extends Scalar<N>, P extends ScalarPolynomial<N,P>>
extends AbstractPolynomial<N,P>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Access1D
Access1D.Aggregatable<N>, Access1D.Collectable<N,R>, Access1D.ElementView<N>, Access1D.SelectionView<N>, Access1D.Sliceable<N>, Access1D.Visitable<N> Nested classes/interfaces inherited from interface BasicFunction
BasicFunction.Differentiable<N,F>, BasicFunction.Integratable<N, F>, BasicFunction.PlainUnary<T, R> Nested classes/interfaces inherited from interface Group
Group.Additive<T>, Group.Multiplicative<T>Nested classes/interfaces inherited from interface Mutate1D
Mutate1D.Fillable<N>, Mutate1D.Mixable<N>, Mutate1D.Modifiable<N>, Mutate1D.ModifiableReceiver<N>, Mutate1D.Receiver<N>, Mutate1D.SortableNested classes/interfaces inherited from interface Operation
Operation.Addition<T>, Operation.Division<T>, Operation.Multiplication<T>, Operation.Subtraction<T>Nested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S,B>, Structure1D.LongIndex, Structure1D.LoopCallback -
Field Summary
Fields inherited from class AbstractPolynomial
DEGREE_ACCURACY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractPolynomial
add, buildDerivative, buildPrimitive, coefficients, count, degree, doubleValue, equals, estimate, estimate, estimate, get, getDerivativeFactor, getPrimitiveFactor, hashCode, invoke, invoke, newInstance, one, power, set, set, set, set, size, toStringMethods inherited from interface Access1D
asCollectable1D, asKeyed1D, asList, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toList, toRawCopy1DMethods inherited from interface DoubleUnaryOperator
andThen, composeMethods inherited from interface Mutate1D
reset, set, set, set, set, set, set, set, set, set, set, setMethods inherited from interface PolynomialFunction
degree, estimateMethods inherited from interface UnaryFunction
andThen, apply, applyAsDouble, compose, invoke, invoke, invoke, invoke
-
Constructor Details
-
ScalarPolynomial
ScalarPolynomial(BasicArray<N> coefficients)
-
-
Method Details
-
integrate
-
invoke
-
multiply
- Specified by:
multiplyin interfaceOperation.Multiplication<N extends Scalar<N>>- Specified by:
multiplyin classAbstractPolynomial<N extends Scalar<N>, P extends ScalarPolynomial<N,P>> - Parameters:
multiplicand- The multiplicand- Returns:
this * multiplicand.
-
negate
-
norm
double norm(int power) - Overrides:
normin classAbstractPolynomial<N extends Scalar<N>, P extends ScalarPolynomial<N,P>>
-