test_class.declarator: NO_DELTA = 0
test_class.modifier: static final
test_class.original_string: static final double NO_DELTA = 0;
test_class.type: double
test_class.var_name: NO_DELTA
test_class.declarator: A = 123.456
test_class.modifier: static final
test_class.original_string: static final double A = 123.456, B = 654.123, C = 741.963;
test_class.type: double
test_class.var_name: A
test_class.declarator: EPS = Polynomial.getEpsilon()
test_class.modifier: static final
test_class.original_string: static final double EPS = Polynomial.getEpsilon();
test_class.type: double
test_class.var_name: EPS
test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/maths/polynomials/PolynomialTest.java
test_class.identifier: PolynomialTest
test_case.body: @Test
      public void testEquals() {
          assertTrue(valueOf(A, B, C).equals(valueOf(A, B, C)));
          assertFalse(valueOf(B, C, A).equals(valueOf(A, B, C)));
          assertFalse(valueOf(A, B).equals(valueOf(A, B, C)));
          assertTrue(valueOf(A, B).equals(valueOf(A, B, 0)));
          assertTrue(valueOf(0).equals(valueOf(0, 0, 0)));
  
          assertTrue(valueOf(0).equals(valueOf(EPS)));
          assertTrue(valueOf(EPS * 2).equals(valueOf(EPS * 2)));
          assertTrue(valueOf(666).equals(valueOf(666 + EPS)));
      }
test_case.class_method_signature: PolynomialTest.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: assertTrue equals valueOf valueOf assertFalse equals valueOf valueOf assertFalse equals valueOf valueOf assertTrue equals valueOf valueOf assertTrue equals valueOf valueOf assertTrue equals valueOf valueOf assertTrue equals valueOf valueOf assertTrue equals valueOf valueOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
focal_class.declarator: ZERO = new Polynomial(Polynomial.Doubles.zero(), 0)
focal_class.modifier: public static final
focal_class.original_string: public static final Polynomial ZERO = new Polynomial(Polynomial.Doubles.zero(), 0);
focal_class.type: Polynomial
focal_class.var_name: ZERO
focal_class.declarator: ONE = new Polynomial(Polynomial.Doubles.one(), 0)
focal_class.modifier: public static final
focal_class.original_string: public static final Polynomial ONE = new Polynomial(Polynomial.Doubles.one(), 0);
focal_class.type: Polynomial
focal_class.var_name: ONE
focal_class.declarator: m_c
focal_class.modifier: private final
focal_class.original_string: private final double[] m_c;
focal_class.type: double[]
focal_class.var_name: m_c
focal_class.declarator: degree
focal_class.modifier: private final
focal_class.original_string: private final int degree;
focal_class.type: int
focal_class.var_name: degree
focal_class.declarator: defRoots = new AtomicReference<>()
focal_class.modifier: private final
focal_class.original_string: private final AtomicReference<Complex[]> defRoots = new AtomicReference<>();
focal_class.type: AtomicReference<Complex[]>
focal_class.var_name: defRoots
focal_class.declarator: EPSILON = 1e-9
focal_class.modifier: private static
focal_class.original_string: private static double EPSILON = 1e-9;
focal_class.type: double
focal_class.var_name: EPSILON
focal_class.declarator: defSolver= new AtomicReference<>(new MullerNewtonSolver())
focal_class.modifier: private static final
focal_class.original_string: private static final AtomicReference<IRootsSolver> defSolver= new AtomicReference<>(new MullerNewtonSolver());
focal_class.type: AtomicReference<IRootsSolver>
focal_class.var_name: defSolver
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/maths/polynomials/Polynomial.java
focal_class.identifier: Polynomial
focal_class.interfaces: implements IReadDataBlock
focal_class.class_method_signature: Polynomial.divide(final Polynomial num, final Polynomial denom)
focal_class.full_signature: public static Division divide(final Polynomial num, final Polynomial denom)
focal_class.identifier: divide
focal_class.modifiers: public static
focal_class.parameters: (final Polynomial num, final Polynomial denom)
focal_class.return: Division
focal_class.signature: Division divide(final Polynomial num, final Polynomial denom)
focal_class.class_method_signature: Polynomial.divide(final double[] num, int numdegree, final double[] denom, int denumdegree)
focal_class.full_signature: static double[] divide(final double[] num, int numdegree, final double[] denom, int denumdegree)
focal_class.identifier: divide
focal_class.modifiers: static
focal_class.parameters: (final double[] num, int numdegree, final double[] denom, int denumdegree)
focal_class.return: double[]
focal_class.signature: double[] divide(final double[] num, int numdegree, final double[] denom, int denumdegree)
focal_class.class_method_signature: Polynomial.copyTo(double[] buffer, int start)
focal_class.full_signature: @Override public void copyTo(double[] buffer, int start)
focal_class.identifier: copyTo
focal_class.modifiers: @Override public
focal_class.parameters: (double[] buffer, int start)
focal_class.return: void
focal_class.signature: void copyTo(double[] buffer, int start)
focal_class.class_method_signature: Polynomial.getLength()
focal_class.full_signature: @Override public int getLength()
focal_class.identifier: getLength
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getLength()
focal_class.class_method_signature: Polynomial.rextract(int start, int length)
focal_class.full_signature: @Override public IReadDataBlock rextract(int start, int length)
focal_class.identifier: rextract
focal_class.modifiers: @Override public
focal_class.parameters: (int start, int length)
focal_class.return: IReadDataBlock
focal_class.signature: IReadDataBlock rextract(int start, int length)
focal_class.class_method_signature: Polynomial.isSymmetric()
focal_class.full_signature:  boolean isSymmetric()
focal_class.identifier: isSymmetric
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSymmetric()
focal_class.class_method_signature: Polynomial.checkRoots(final Complex[] roots)
focal_class.full_signature: public static Complex[] checkRoots(final Complex[] roots)
focal_class.identifier: checkRoots
focal_class.modifiers: public static
focal_class.parameters: (final Complex[] roots)
focal_class.return: Complex[]
focal_class.signature: Complex[] checkRoots(final Complex[] roots)
focal_class.class_method_signature: Polynomial.getEpsilon()
focal_class.full_signature: public static double getEpsilon()
focal_class.identifier: getEpsilon
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getEpsilon()
focal_class.class_method_signature: Polynomial.of(double[] coefficients)
focal_class.full_signature: public static Polynomial of(double[] coefficients)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (double[] coefficients)
focal_class.return: Polynomial
focal_class.signature: Polynomial of(double[] coefficients)
focal_class.class_method_signature: Polynomial.copyOf(double[] coefficients)
focal_class.full_signature: public static Polynomial copyOf(double[] coefficients)
focal_class.identifier: copyOf
focal_class.modifiers: public static
focal_class.parameters: (double[] coefficients)
focal_class.return: Polynomial
focal_class.signature: Polynomial copyOf(double[] coefficients)
focal_class.class_method_signature: Polynomial.copyOf(double[] coefficients, int start, int end)
focal_class.full_signature: public static Polynomial copyOf(double[] coefficients, int start, int end)
focal_class.identifier: copyOf
focal_class.modifiers: public static
focal_class.parameters: (double[] coefficients, int start, int end)
focal_class.return: Polynomial
focal_class.signature: Polynomial copyOf(double[] coefficients, int start, int end)
focal_class.class_method_signature: Polynomial.valueOf(double firstCoefficient, double... nextCoefficients)
focal_class.full_signature: public static Polynomial valueOf(double firstCoefficient, double... nextCoefficients)
focal_class.identifier: valueOf
focal_class.modifiers: public static
focal_class.parameters: (double firstCoefficient, double... nextCoefficients)
focal_class.return: Polynomial
focal_class.signature: Polynomial valueOf(double firstCoefficient, double... nextCoefficients)
focal_class.class_method_signature: Polynomial.fromComplexRoots(Complex[] roots)
focal_class.full_signature: public static Polynomial fromComplexRoots(Complex[] roots)
focal_class.identifier: fromComplexRoots
focal_class.modifiers: public static
focal_class.parameters: (Complex[] roots)
focal_class.return: Polynomial
focal_class.signature: Polynomial fromComplexRoots(Complex[] roots)
focal_class.class_method_signature: Polynomial.fromComplexRoots(final Complex[] roots, final double c)
focal_class.full_signature: public static Polynomial fromComplexRoots(final Complex[] roots, final double c)
focal_class.identifier: fromComplexRoots
focal_class.modifiers: public static
focal_class.parameters: (final Complex[] roots, final double c)
focal_class.return: Polynomial
focal_class.signature: Polynomial fromComplexRoots(final Complex[] roots, final double c)
focal_class.class_method_signature: Polynomial.fromData(IReadDataBlock data)
focal_class.full_signature: public static Polynomial fromData(IReadDataBlock data)
focal_class.identifier: fromData
focal_class.modifiers: public static
focal_class.parameters: (IReadDataBlock data)
focal_class.return: Polynomial
focal_class.signature: Polynomial fromData(IReadDataBlock data)
focal_class.class_method_signature: Polynomial.factor(double c, int n)
focal_class.full_signature: public static Polynomial factor(double c, int n)
focal_class.identifier: factor
focal_class.modifiers: public static
focal_class.parameters: (double c, int n)
focal_class.return: Polynomial
focal_class.signature: Polynomial factor(double c, int n)
focal_class.class_method_signature: Polynomial.setEpsilon(final double value)
focal_class.full_signature: public static void setEpsilon(final double value)
focal_class.identifier: setEpsilon
focal_class.modifiers: public static
focal_class.parameters: (final double value)
focal_class.return: void
focal_class.signature: void setEpsilon(final double value)
focal_class.class_method_signature: Polynomial.smooth(final Complex c)
focal_class.full_signature: private static Complex smooth(final Complex c)
focal_class.identifier: smooth
focal_class.modifiers: private static
focal_class.parameters: (final Complex c)
focal_class.return: Complex
focal_class.signature: Complex smooth(final Complex c)
focal_class.class_method_signature: Polynomial.getDefRootsSearcher()
focal_class.full_signature: public static IRootsSolver getDefRootsSearcher()
focal_class.identifier: getDefRootsSearcher
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: IRootsSolver
focal_class.signature: IRootsSolver getDefRootsSearcher()
focal_class.class_method_signature: Polynomial.setDefRootsSearcher(final IRootsSolver value)
focal_class.full_signature: public static void setDefRootsSearcher(final IRootsSolver value)
focal_class.identifier: setDefRootsSearcher
focal_class.modifiers: public static
focal_class.parameters: (final IRootsSolver value)
focal_class.return: void
focal_class.signature: void setDefRootsSearcher(final IRootsSolver value)
focal_class.class_method_signature: Polynomial.Polynomial(final double[] coefficients, final int degree)
focal_class.full_signature: private  Polynomial(final double[] coefficients, final int degree)
focal_class.identifier: Polynomial
focal_class.modifiers: private
focal_class.parameters: (final double[] coefficients, final int degree)
focal_class.signature:  Polynomial(final double[] coefficients, final int degree)
focal_class.class_method_signature: Polynomial.adjustDegree()
focal_class.full_signature: public Polynomial adjustDegree()
focal_class.identifier: adjustDegree
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Polynomial
focal_class.signature: Polynomial adjustDegree()
focal_class.class_method_signature: Polynomial.derivate()
focal_class.full_signature: public Polynomial derivate()
focal_class.identifier: derivate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Polynomial
focal_class.signature: Polynomial derivate()
focal_class.class_method_signature: Polynomial.divide(final double d)
focal_class.full_signature: public Polynomial divide(final double d)
focal_class.identifier: divide
focal_class.modifiers: public
focal_class.parameters: (final double d)
focal_class.return: Polynomial
focal_class.signature: Polynomial divide(final double d)
focal_class.class_method_signature: Polynomial.divide(final Polynomial r)
focal_class.full_signature: public Polynomial divide(final Polynomial r)
focal_class.identifier: divide
focal_class.modifiers: public
focal_class.parameters: (final Polynomial r)
focal_class.return: Polynomial
focal_class.signature: Polynomial divide(final Polynomial r)
focal_class.class_method_signature: Polynomial.equals(final Object obj)
focal_class.full_signature: @Override public boolean equals(final Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object obj)
focal_class.class_method_signature: Polynomial.equals(Polynomial other, double epsilon)
focal_class.full_signature: public boolean equals(Polynomial other, double epsilon)
focal_class.identifier: equals
focal_class.modifiers: public
focal_class.parameters: (Polynomial other, double epsilon)
focal_class.return: boolean
focal_class.signature: boolean equals(Polynomial other, double epsilon)
focal_class.class_method_signature: Polynomial.evaluateAt(final Complex x)
focal_class.full_signature: public Complex evaluateAt(final Complex x)
focal_class.identifier: evaluateAt
focal_class.modifiers: public
focal_class.parameters: (final Complex x)
focal_class.return: Complex
focal_class.signature: Complex evaluateAt(final Complex x)
focal_class.class_method_signature: Polynomial.evaluateAt(final double x)
focal_class.full_signature: public double evaluateAt(final double x)
focal_class.identifier: evaluateAt
focal_class.modifiers: public
focal_class.parameters: (final double x)
focal_class.return: double
focal_class.signature: double evaluateAt(final double x)
focal_class.class_method_signature: Polynomial.revaluate(final double[] c, final double x)
focal_class.full_signature: public static double revaluate(final double[] c, final double x)
focal_class.identifier: revaluate
focal_class.modifiers: public static
focal_class.parameters: (final double[] c, final double x)
focal_class.return: double
focal_class.signature: double revaluate(final double[] c, final double x)
focal_class.class_method_signature: Polynomial.evaluate(final double[] c, final double x)
focal_class.full_signature: public static double evaluate(final double[] c, final double x)
focal_class.identifier: evaluate
focal_class.modifiers: public static
focal_class.parameters: (final double[] c, final double x)
focal_class.return: double
focal_class.signature: double evaluate(final double[] c, final double x)
focal_class.class_method_signature: Polynomial.evaluate(final int degree, IntToDoubleFunction fn, final double x)
focal_class.full_signature: public static double evaluate(final int degree, IntToDoubleFunction fn, final double x)
focal_class.identifier: evaluate
focal_class.modifiers: public static
focal_class.parameters: (final int degree, IntToDoubleFunction fn, final double x)
focal_class.return: double
focal_class.signature: double evaluate(final int degree, IntToDoubleFunction fn, final double x)
focal_class.class_method_signature: Polynomial.evaluateAtFrequency(final double w)
focal_class.full_signature: public Complex evaluateAtFrequency(final double w)
focal_class.identifier: evaluateAtFrequency
focal_class.modifiers: public
focal_class.parameters: (final double w)
focal_class.return: Complex
focal_class.signature: Complex evaluateAtFrequency(final double w)
focal_class.class_method_signature: Polynomial.get(final int idx)
focal_class.full_signature: @Override public double get(final int idx)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (final int idx)
focal_class.return: double
focal_class.signature: double get(final int idx)
focal_class.class_method_signature: Polynomial.getCoefficients()
focal_class.full_signature: public double[] getCoefficients()
focal_class.identifier: getCoefficients
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double[]
focal_class.signature: double[] getCoefficients()
focal_class.class_method_signature: Polynomial.getDegree()
focal_class.full_signature: public int getDegree()
focal_class.identifier: getDegree
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDegree()
focal_class.class_method_signature: Polynomial.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: Polynomial.isZero()
focal_class.full_signature: public boolean isZero()
focal_class.identifier: isZero
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isZero()
focal_class.class_method_signature: Polynomial.isIdentity()
focal_class.full_signature: public boolean isIdentity()
focal_class.identifier: isIdentity
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isIdentity()
focal_class.class_method_signature: Polynomial.minus(double d)
focal_class.full_signature: public Polynomial minus(double d)
focal_class.identifier: minus
focal_class.modifiers: public
focal_class.parameters: (double d)
focal_class.return: Polynomial
focal_class.signature: Polynomial minus(double d)
focal_class.class_method_signature: Polynomial.minus(final Polynomial r)
focal_class.full_signature: public Polynomial minus(final Polynomial r)
focal_class.identifier: minus
focal_class.modifiers: public
focal_class.parameters: (final Polynomial r)
focal_class.return: Polynomial
focal_class.signature: Polynomial minus(final Polynomial r)
focal_class.class_method_signature: Polynomial.mirror()
focal_class.full_signature: public Polynomial mirror()
focal_class.identifier: mirror
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Polynomial
focal_class.signature: Polynomial mirror()
focal_class.class_method_signature: Polynomial.negate()
focal_class.full_signature: public Polynomial negate()
focal_class.identifier: negate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Polynomial
focal_class.signature: Polynomial negate()
focal_class.class_method_signature: Polynomial.plus(final double d)
focal_class.full_signature: public Polynomial plus(final double d)
focal_class.identifier: plus
focal_class.modifiers: public
focal_class.parameters: (final double d)
focal_class.return: Polynomial
focal_class.signature: Polynomial plus(final double d)
focal_class.class_method_signature: Polynomial.plus(final Polynomial r)
focal_class.full_signature: public Polynomial plus(final Polynomial r)
focal_class.identifier: plus
focal_class.modifiers: public
focal_class.parameters: (final Polynomial r)
focal_class.return: Polynomial
focal_class.signature: Polynomial plus(final Polynomial r)
focal_class.class_method_signature: Polynomial.roots()
focal_class.full_signature: public Complex[] roots()
focal_class.identifier: roots
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Complex[]
focal_class.signature: Complex[] roots()
focal_class.class_method_signature: Polynomial.setRoots(Complex[] roots)
focal_class.full_signature:  void setRoots(Complex[] roots)
focal_class.identifier: setRoots
focal_class.parameters: (Complex[] roots)
focal_class.return: void
focal_class.signature: void setRoots(Complex[] roots)
focal_class.class_method_signature: Polynomial.roots(IRootsSolver searcher)
focal_class.full_signature: public Complex[] roots(IRootsSolver searcher)
focal_class.identifier: roots
focal_class.modifiers: public
focal_class.parameters: (IRootsSolver searcher)
focal_class.return: Complex[]
focal_class.signature: Complex[] roots(IRootsSolver searcher)
focal_class.class_method_signature: Polynomial.smooth()
focal_class.full_signature: public Polynomial smooth()
focal_class.identifier: smooth
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Polynomial
focal_class.signature: Polynomial smooth()
focal_class.class_method_signature: Polynomial.times(final double d)
focal_class.full_signature: public Polynomial times(final double d)
focal_class.identifier: times
focal_class.modifiers: public
focal_class.parameters: (final double d)
focal_class.return: Polynomial
focal_class.signature: Polynomial times(final double d)
focal_class.class_method_signature: Polynomial.times(final Polynomial r)
focal_class.full_signature: public Polynomial times(final Polynomial r)
focal_class.identifier: times
focal_class.modifiers: public
focal_class.parameters: (final Polynomial r)
focal_class.return: Polynomial
focal_class.signature: Polynomial times(final Polynomial r)
focal_class.class_method_signature: Polynomial.times(final Polynomial r, boolean computeroots)
focal_class.full_signature: public Polynomial times(final Polynomial r, boolean computeroots)
focal_class.identifier: times
focal_class.modifiers: public
focal_class.parameters: (final Polynomial r, boolean computeroots)
focal_class.return: Polynomial
focal_class.signature: Polynomial times(final Polynomial r, boolean computeroots)
focal_class.class_method_signature: Polynomial.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: Polynomial.toString(final char var, final boolean bSmooth)
focal_class.full_signature: public String toString(final char var, final boolean bSmooth)
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: (final char var, final boolean bSmooth)
focal_class.return: String
focal_class.signature: String toString(final char var, final boolean bSmooth)
focal_class.class_method_signature: Polynomial.toString(final String fmt, final char var,
              final boolean bSmooth)
focal_class.full_signature: public String toString(final String fmt, final char var,
              final boolean bSmooth)
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: (final String fmt, final char var,
              final boolean bSmooth)
focal_class.return: String
focal_class.signature: String toString(final String fmt, final char var,
              final boolean bSmooth)
focal_method.body: @Override
      public boolean equals(final Object obj) {
          return obj instanceof Polynomial ? equals((Polynomial) obj, EPSILON) : false;
      }
focal_method.class_method_signature: Polynomial.equals(final Object obj)
focal_method.full_signature: @Override public boolean equals(final Object obj)
focal_method.identifier: equals
focal_method.invocations: equals
focal_method.modifiers: @Override public
focal_method.parameters: (final Object obj)
focal_method.return: boolean
focal_method.signature: boolean equals(final Object obj)