MCPcopy Create free account

hub / github.com/apache/commons-math / functions

Functions9,190 in github.com/apache/commons-math

↓ 69 callersMethodgetRelativeAccuracy
Get the relative accuracy of the solver. The contract for relative accuracy is the same as {@link #getAbsoluteAccuracy()}, but using relative, rather
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/solvers/BaseUnivariateSolver.java:78
↓ 68 callersMethodulp
@param x Number. @return ulp(x). @see Math#ulp(double)
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:1193
↓ 67 callersMethodgetNeighbours
Retrieves the neurons in the neighbourhood of any neuron in the {@code neurons} list. @param neurons Neurons for which to retrieve the neighbours. @re
commons-math-neuralnet/src/main/java/org/apache/commons/math4/neuralnet/Network.java:321
↓ 66 callersMethodassertArrayEquals
(double[][] e, double[][] a, double relError)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/fitting/MultivariateNormalMixtureExpectationMaximizationTest.java:304
↓ 66 callersMethodgetField
Get the {@link Field} to which the instance belongs. @return {@link Field} to which the instance belongs
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/FieldElement.java:84
↓ 66 callersMethodtoString
{@inheritDoc} The returned {@code String} is equal to {@code Double.toString(this.doubleValue())} @see Double#toString(double)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/nonstiff/Decimal64.java:287
↓ 65 callersMethodbuild
(double x)
commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/ExtendedFieldElementAbstractTest.java:29
↓ 65 callersMethodgetColumn
Get the entries at the given column index as an array. Column indices start at 0. @param column Column to be fetched. @return the array of entries in
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:396
↓ 65 callersMethodvalue
Compute the value of the function. @param x Point at which the function value should be computed. @return the value of the function. @throws IllegalA
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/UnivariateFunction.java:82
↓ 64 callersMethodaddElement
Adds an element to the end of this expandable array. @param value to be added to end of array
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/DoubleArray.java:67
↓ 64 callersMethodend
End visiting a vector. This method is called once, after all entries of the vector have been visited. @return the value returned by {@link RealVector
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealVectorChangingVisitor.java:57
↓ 64 callersMethoditerator
Generic dense iterator. Iteration is in increasing order of the vector index. <p>Note: derived classes are required to return an {@link Iterator} tha
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealVector.java:751
↓ 64 callersMethodvisit
Visit one entry of the vector. @param index the index of the entry being visited @param value the value of the entry being visited @return the new va
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealVectorChangingVisitor.java:44
↓ 63 callersMethodsetEntry
{@inheritDoc}
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/ArrayRealVector.java:659
↓ 62 callersMethodgetPartialDerivativeOrders
Get the derivation orders for a specific index in the array. <p> This method is the inverse of {@link #getPartialDerivativeIndex(int...)}. </p> @param
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/DSCompiler.java:608
↓ 62 callersMethodpow
Power operation. @param p power to apply @return this<sup>p</sup>
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/RealFieldElement.java:173
↓ 61 callersMethodparse
Parses a string to produce a {@link Complex} object. @param source the string to parse. @return the parsed {@link Complex} object. @throws MathParseE
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/ComplexFormat.java:350
↓ 60 callersMethodvalue
Compute the value of the function for the given argument. <p> The value returned is </p><p> {@code coefficients[n] x^n + ... + coefficients[1] x +
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunction.java:85
↓ 59 callersMethodaddValue
Add a value to the data. @param value the value to add
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/SummaryStatistics.java:113
↓ 58 callersMethodasList
Creates a (deep) copy of the simplex points. @return the points.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/Simplex.java:241
↓ 58 callersMethodgetRepresentation
Returns the (immutable) inner representation of the chromosome. @return the representation of the chromosome
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/genetics/AbstractListChromosome.java:77
↓ 58 callersMethodgetState
Get main state at time. @return main state at time
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/FieldODEState.java:107
↓ 58 callersMethodhasNext
{@inheritDoc}
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealVector.java:762
↓ 57 callersMethodapplyAsDouble
@param x Operand. @param y Operand. @return the result of applying this operator.
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:1262
↓ 57 callersMethodgetCount
Returns the number of values equal to v. @param v the value to lookup. @return the frequency of v.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/Frequency.java:169
↓ 57 callersMethodgetData
Returns matrix entries as a two-dimensional array. @return 2-dimensional array of entries
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:138
↓ 57 callersMethodwithDimension
@param dim Dimension. @return the function for the given dimension.
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/TestFunction.java:341
↓ 56 callersMethodfraction
Create a fraction. @param field field to which the elements belong @param p numerator @param q denominator @return p/q computed in the instance field
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/DormandPrince853FieldStepInterpolator.java:209
↓ 56 callersMethodtoString
{@inheritDoc}
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/Pair.java:137
↓ 55 callersMethodassertEquals
Compares with result obtained from "Commons Math". @param a "o.a.c.m.field.linalg" result. @param b "o.a.c.m.linear" result. @param tol Tolerance.
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/linalg/FP64FieldDenseMatrixTest.java:243
↓ 55 callersMethodcheckIndices
(int[] indices, int ... expected)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/differentiation/DSCompilerTest.java:430
↓ 55 callersMethodcheckRelative
(double expected, T obtained)
commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/ExtendedFieldElementAbstractTest.java:516
↓ 55 callersMethodcheckRelative
(double expected, T obtained)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/ExtendedFieldElementAbstractTest.java:518
↓ 55 callersMethodgetColumnVector
Get the entries at the given column index as a vector. Column indices start at 0. @param column Column to be fetched. @return a column vector. @throw
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:348
↓ 54 callersMethodsubtract
Compute this - a. @param a element to subtract @return a new element representing this - a @throws NullArgumentException if {@code a} is {@code null}.
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/FieldElement.java:43
↓ 53 callersMethodcreateSampler
Creates a sampler. @param rng Generator of uniformly distributed numbers. @return a sampler that produces random numbers according this distribution.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/MultivariateRealDistribution.java:62
↓ 53 callersMethodgetFirst
Access the first chromosome. @return the first chromosome.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/genetics/ChromosomePair.java:48
↓ 53 callersMethodminpackTest
(MinpackFunction function, boolean exceptionExpected)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/MinpackTest.java:499
↓ 53 callersMethodmultiply
Multiply this by x. @param x multiplicand @return product of this and x
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/Dfp.java:1499
↓ 53 callersMethodsetInterpolatedTime
Set the time of the interpolated point. <p>Setting the time outside of the current step is now allowed, but should be used with care since the accurac
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/StepInterpolator.java:89
↓ 52 callersMethodgetIterations
Get the number of times the algorithm iterated in order to produce this optimum. In general least squares it is common to have one {@link #getEvaluati
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresOptimizer.java:58
↓ 52 callersMethodwalkInOptimizedOrder
Visit (and possibly change) all matrix entries using the fastest possible order. <p>The fastest walking order depends on the exact matrix class. It ma
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:746
↓ 51 callersMethodgetCurrentTime
Get the current grid point time. @return current grid point time
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/StepInterpolator.java:60
↓ 51 callersMethodgetDecimalCharacter
()
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/RealMatrixFormatAbstractTest.java:36
↓ 51 callersMethodgetNeuron
Retrieves the neuron at location {@code (i, j)} in the map. The neuron at position {@code (0, 0)} is located at the upper-left corner of the map. @pa
commons-math-neuralnet/src/main/java/org/apache/commons/math4/neuralnet/twod/NeuronSquareMesh2D.java:328
↓ 51 callersMethodgetSecond
Access the second chromosome. @return the second chromosome.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/genetics/ChromosomePair.java:57
↓ 51 callersMethodmax
Find the maximum of two field elements. @param <T> the type of the field elements @param e1 first element @param e2 second element @return max(a1, e2)
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/RealFieldElement.java:409
↓ 51 callersMethodoperate
Returns the result of multiplying this by the vector {@code v}. @param v the vector to operate on @return {@code this v} @throws DimensionMismatchExc
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:483
↓ 50 callersMethodgetStepStart
Getcurrent step start. @return current step start
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/AbstractFieldIntegrator.java:444
↓ 50 callersMethodof
Builds from a given set of coordinates. @param simplex Simplex coordinates. @return a new instance. @throws NotStrictlyPositiveException if the refer
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/Simplex.java:114
↓ 49 callersMethodaddEventHandler
Add an event handler to the integrator. Uses a default {@link UnivariateSolver} with an absolute accuracy equal to the given convergence threshold, as
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/ODEIntegrator.java:79
↓ 49 callersMethodcheckF0F1
(SparseGradient sg, double value, double...derivatives)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradientTest.java:1091
↓ 49 callersMethodcopy
Returns a (deep) copy of this. @return matrix copy
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:57
↓ 49 callersMethodgetDimension
()
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/FieldExpandableODETest.java:296
↓ 49 callersMethodgetMapper
Get the mapper for the set of equations. @return mapper for the set of equations
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/FieldExpandableODE.java:75
↓ 49 callersMethodincrement
Updates the internal state of the statistic to reflect the addition of the new value. @param d the new value.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/StorelessUnivariateStatistic.java:40
↓ 48 callersMethodequals
{@inheritDoc}
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/nonstiff/Decimal64.java:255
↓ 48 callersMethodgetMaximalValueError
Get the maximal value error encountered during integration. @return maximal value error
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/TestProblemHandler.java:127
↓ 48 callersMethodset
Set all elements to a single value. @param value single value to set for all elements
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/FieldVector.java:280
↓ 47 callersMethodgetSubMatrix
Gets a submatrix. Rows and columns are indicated counting from 0 to n-1. @param startRow Initial row index @param endRow Final row index (inclusive)
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:170
↓ 47 callersMethodgetZero
Get the constant 0. @return a Dfp with value zero
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/Dfp.java:645
↓ 47 callersMethodpolynomialDerivative
Returns the derivative as a {@link PolynomialFunction}. @return the derivative polynomial.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunction.java:274
↓ 46 callersMethodaddData
Adds the observation (x,y) to the regression data set. <p> Uses updating formulas for means and sums of squares defined in "Algorithms for Computing t
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/regression/SimpleRegression.java:126
↓ 46 callersMethoddotrap
Raises a trap. This does not set the corresponding flag however. @param type the trap type @param what - name of routine trap occurred in @param o
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/Dfp.java:2238
↓ 46 callersMethodsetIEEEFlagsBits
Sets some bits in the IEEE 854 status flags, without changing the already set bits. <p> Calling this method is equivalent to call {@code setIEEEFlags(
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/DfpField.java:326
↓ 46 callersMethodverifyValues
This method is used to verify that the input parameters designate a subarray of positive length. <ul> <li>returns <code>true</code> iff the parameters
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/MathArrays.java:926
↓ 45 callersMethodassertSame
Verifies that the two arguments are exactly the same, either both NaN or infinities of same sign, or identical floating point values.
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/TestUtils.java:74
↓ 45 callersMethodcomputeDerivatives
Compute the derivatives related to the secondary state parameters. @param t current value of the independent <I>time</I> variable @param primary array
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/SecondaryEquations.java:57
↓ 45 callersMethodequals
Check if instance is equal to x. @param other object to check instance against @return true if instance is equal to x and neither are NaN, false other
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/Dfp.java:894
↓ 45 callersMethodgetCoefficients
Gets the coefficients of the constraint (left hand side). @return the coefficients of the constraint (left hand side).
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/LinearConstraint.java:155
↓ 43 callersMethodcheckRowIndex
Check if a row index is valid. @param m Matrix. @param row Row index to check. @throws OutOfRangeException if {@code row} is not a valid index.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/MatrixUtils.java:478
↓ 43 callersMethodkey
Get the key of current entry. @return key of current entry @exception ConcurrentModificationException if the map is modified during iteration @excepti
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/OpenIntToFieldHashMap.java:529
↓ 42 callersMethodgetDecimalCharacter
()
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/RealVectorFormatAbstractTest.java:35
↓ 41 callersMethoddoubleValue
{@inheritDoc}
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/nonstiff/Decimal64.java:227
↓ 41 callersMethodexp
Exponential. @return exponential of the instance
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/RealFieldElement.java:192
↓ 41 callersMethodisInfinite
Check if instance is infinite. @return true if instance is infinite
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/Dfp.java:865
↓ 41 callersMethodsubtract
{@inheritDoc} @since 3.2
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/DerivativeStructure.java:300
↓ 40 callersMethodclear
Clear the double array.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/DoubleArray.java:108
↓ 40 callersMethodgetIdentifier
Gets the neuron's identifier. @return the identifier.
commons-math-neuralnet/src/main/java/org/apache/commons/math4/neuralnet/Neuron.java:86
↓ 40 callersMethodgetIndex
Get the index of the entry. @return the index of the entry.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealVector.java:1060
↓ 40 callersMethodgetInverse
Get the <a href="https://en.wikipedia.org/wiki/Moore%E2%80%93Penrose_pseudoinverse">pseudo-inverse</a> of the decomposed matrix. <p> <em>This is equal
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/DecompositionSolver.java:96
↓ 39 callersMethodgetMaximalTimeError
Get the maximal time error encountered during integration. @return maximal time error
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/TestProblemHandler.java:135
↓ 39 callersMethodlinearCombination
Compute a linear combination. @param a Factors. @param b Factors. @return <code>&Sigma;<sub>i</sub> a<sub>i</sub> b<sub>i</sub></code>. @throws Dimens
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/RealFieldElement.java:291
↓ 39 callersMethodscalb
Multiply a double number by a power of 2. @param d number to multiply @param n power of 2 @return d &times; 2<sup>n</sup>
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/AccurateMath.java:3085
↓ 38 callersMethodcheckColumnIndex
Check if a column index is valid. @param m Matrix. @param column Column index to check. @throws OutOfRangeException if {@code column} is not a valid
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/MatrixUtils.java:494
↓ 38 callersMethodgetPoints
Get the points contained in the cluster. @return points contained in the cluster
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/Cluster.java:52
↓ 38 callersMethodgetStepSize
Get the current step size. @return current step size
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/AbstractFieldIntegrator.java:431
↓ 38 callersMethodmultiply
{@inheritDoc}
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/DerivativeStructure.java:318
↓ 38 callersMethodnextAfter
Get the next machine representable number after a number, moving in the direction of another number. <p> The ordering is as follows (increasing): <ul>
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/AccurateMath.java:3273
↓ 38 callersMethodscalarMultiply
Returns the result of multiplying each entry of {@code this} by {@code d}. @param d value to multiply all entries by @return {@code d this}
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:96
↓ 38 callersMethodwalkInDefaultOrder
Visits (but does not alter) all entries of this vector in default order (increasing index). @param visitor the visitor to be used to process the entr
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealVector.java:877
↓ 37 callersMethodcheckPolynomial
(PolynomialFunction p, long denominator, String reference)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialsUtilsTest.java:347
↓ 37 callersMethodgetOrder
Get the derivation order. @return derivation order
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/DerivativeStructure.java:219
↓ 37 callersMethodgetPreviousTime
Get the previous grid point time. @return previous grid point time
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/StepInterpolator.java:54
↓ 36 callersMethodassertAtan2
Assert the atan2(y, x) value is a fraction of pi. @param y ordinate @param x abscissa @param numerator numerator of the fraction of pi (including the
commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/jdkmath/AccurateMathTest.java:673
↓ 36 callersMethodcompareTo
{@inheritDoc}
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/BigReal.java:291
↓ 36 callersMethoddoTest
@param func Function to optimize. @param startPoint Starting point. @param inSigma Individual input sigma. @param boundaries Upper / lower point limit
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/CMAESOptimizerTest.java:486
↓ 36 callersMethodgetCurrentState
Get the state at current grid point time. @return state at current grid point time
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/FieldStepInterpolator.java:51
↓ 36 callersMethodsubtract
{@inheritDoc}
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradient.java:189
↓ 35 callersMethodadd
Add x to this. @param x number to add @return sum of this and x
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/Dfp.java:1250
← previousnext →101–200 of 9,190, ranked by callers