MCPcopy Create free account

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

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

↓ 3,323 callersMethodassertEquals
verifies that two vectors are close (sup norm)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/SparseFieldVectorTest.java:222
↓ 1,607 callersMethodof
(double x)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/Dfp25.java:34
↓ 1,520 callersMethodadd
Returns the sum of {@code this} and {@code m}. @param m matrix to be added @return {@code this + m} @throws MatrixDimensionMismatchException if {@cod
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:67
↓ 1,139 callersMethodmultiply
Returns the result of postmultiplying {@code this} by {@code m}. @param m matrix to postmultiply by @return {@code this m} @throws DimensionMismatchE
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:106
↓ 1,050 callersMethodnewDfp
Makes a {@link Dfp} with a value of 0. @return a new {@link Dfp} with a value of 0
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/DfpField.java:333
↓ 1,015 callersMethodassertTrue
(boolean condition)
src/userguide/java/org/apache/commons/math4/userguide/JdkMathTestPerformance.java:78
↓ 981 callersMethodassertEquals
Verifies that expected and actual are within delta, or are both NaN or infinities of the same sign.
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/TestUtils.java:52
↓ 889 callersMethodfail
(LeastSquaresOptimizer optimizer)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/AbstractLeastSquaresOptimizerAbstractTest.java:84
↓ 707 callersMethodgetEntry
Get the entry in the specified row and column. Row and column indices start at 0. @param row Row index of entry to be fetched. @param column Column i
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:421
↓ 649 callersMethodassertEquals
(SummaryStatistics summary, SummaryStatistics summary2)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/stat/descriptive/SummaryStatisticsTest.java:176
↓ 645 callersMethodabs
@param x Number. @return abs(x). @see Math#abs(int)
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:404
↓ 546 callersMethodsubtract
Returns {@code this} minus {@code m}. @param m matrix to be subtracted @return {@code this - m} @throws MatrixDimensionMismatchException if {@code m}
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:78
↓ 442 callersMethodgetReal
Get the real value of the number. @return real value
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/RealFieldElement.java:33
↓ 370 callersMethodgetZero
Get the additive identity of the field. <p> The additive identity is the element e<sub>0</sub> of the field such that for all elements a of the field,
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/Field.java:38
↓ 363 callersMethodcreateRealMatrix
Returns a {@link RealMatrix} with specified dimensions. <p>The type of matrix returned depends on the dimension. Below 2<sup>12</sup> elements (i.e. 4
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/MatrixUtils.java:77
↓ 356 callersMethodgetRowDimension
Gets the number of rows. @return the number of rows.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/AnyMatrix.java:42
↓ 346 callersMethoddivide
Compute this &divide; a. @param a element to divide by @return a new element representing this &divide; a @throws NullArgumentException if {@code a} i
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/FieldElement.java:72
↓ 343 callersMethodgetPartialDerivative
Get a partial derivative. @param orders derivation orders with respect to each variable (if all orders are 0, the value is returned) @return partial d
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/DerivativeStructure.java:263
↓ 341 callersMethodgetField
Get the type of field elements of the vector. @return type of field elements of the vector
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/FieldVector.java:63
↓ 333 callersMethodgetColumnDimension
Gets the number of columns. @return the number of columns.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/AnyMatrix.java:49
↓ 321 callersMethodgetFinalTime
Get the final time. @return final time
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/TestProblemAbstract.java:112
↓ 317 callersMethodgetValue
Get the value of the entry. @return the value of the entry.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealVector.java:1042
↓ 312 callersMethodgetDimension
Returns the size of the vector. @return size
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/FieldVector.java:241
↓ 302 callersMethodsqrt
@param x Number. @return sqrt(x). @see Math#sqrt(double)
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:1109
↓ 296 callersMethodsize
Get the number of elements stored in the map. @return number of elements stored in the map
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/OpenIntToFieldHashMap.java:348
↓ 273 callersMethodappend
Construct a vector by appending a vector to this vector. @param v vector to append to this one. @return a new vector
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/FieldVector.java:248
↓ 263 callersMethodvalue
Compute the value for the function. @param x Abscissa for which the function value should be computed. @param y Ordinate for which the function value
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/BivariateFunction.java:36
↓ 256 callersMethodget
()
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/MultiStartMultivariateOptimizerTest.java:151
↓ 256 callersMethodget
Retrieves a copy of the simplex point stored at {@code index}. @param index Location. @return the point at location {@code index}.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/Simplex.java:231
↓ 243 callersMethodtest
(Dfp x, Dfp y, int flags, String desc)
commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/dfp/DfpTest.java:67
↓ 238 callersMethodintegrate
Integrate the differential equations up to the given time. <p>This method solves an Initial Value Problem (IVP).</p> <p>Since this method stores some
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/FirstOrderIntegrator.java:61
↓ 235 callersMethodgetTime
Get time. @return time
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/FieldODEState.java:93
↓ 227 callersMethodgetInitialTime
Get the initial time. @return initial time
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/TestProblemAbstract.java:96
↓ 221 callersMethodsetEntry
Set the entry in the specified row and column. Row and column indices start at 0. @param row Row index of entry to be set. @param column Column index
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:433
↓ 220 callersMethodcmptst
(Dfp a, Dfp b, String op, boolean result, double num)
commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/dfp/DfpTest.java:376
↓ 218 callersMethodmax
@param x Number. @param y Number. @return max(x, y). @see Math#max(int,int)
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:791
↓ 216 callersMethodadd
Compute this + a. @param a element to add @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:36
↓ 211 callersMethodfraction
Create a fraction. @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/RungeKuttaFieldIntegrator.java:95
↓ 205 callersMethodbuildArray
Build an array of elements. <p> Arrays are filled with field.getZero() @param <T> the type of the field elements @param field field to which array el
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/MathArrays.java:791
↓ 198 callersMethodput
Put a value associated with a key in the map. @param key key to which value is associated @param value value to put in the map @return previous value
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/OpenIntToFieldHashMap.java:414
↓ 195 callersMethodgetInitialState
Get the initial state vector. @return initial state vector
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/TestProblemAbstract.java:104
↓ 179 callersMethodequationFromString
Converts a test string to a {@link LinearConstraint}. Ex: x0 + x1 + x2 + x3 - x12 = 0
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/linear/SimplexSolverTest.java:846
↓ 173 callersMethodcreate
Creates a simplex transformation. @param evaluationFunction Evaluation function. @param comparator Vertex fitness comparator. @param saAcceptance Sim
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/Simplex.java:261
↓ 169 callersMethodgetInstance
Returns the unique instance of this class. @return the unique instance of this class
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/nonstiff/Decimal64Field.java:43
↓ 166 callersMethodsolve
Solve the linear equation A &times; X = B for matrices A. <p> The A matrix is implicit, it is provided by the underlying decomposition algorithm. @pa
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/DecompositionSolver.java:49
↓ 161 callersMethodmin
@param x Number. @param y Number. @return min(x, y). @see Math#min(int,int)
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:839
↓ 157 callersMethodabs
absolute value. @return abs(this)
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/RealFieldElement.java:78
↓ 144 callersMethodtoArray
Convert the vector to a T array. <p>The array is independent from vector data, it's elements are copied.</p> @return array containing a copy of vector
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/FieldVector.java:288
↓ 139 callersMethodcreateVariable
Factory method creating an independent variable. @param idx index of the variable @param value value of the variable @return a new instance
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradient.java:103
↓ 138 callersMethodnewInstance
Create an instance with a value of 0. Use this internally in preference to constructors to facilitate subclasses @return a new instance with a value o
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/Dfp.java:549
↓ 137 callersMethodgetOne
Get the multiplicative identity of the field. <p> The multiplicative identity is the element e<sub>1</sub> of the field such that for all elements a o
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/Field.java:48
↓ 136 callersMethodisNaN
Returns {@code true} if {@code this} double precision number is Not-a-Number ({@code NaN}), false otherwise. @return {@code true} if {@code this} is
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/ode/nonstiff/Decimal64.java:312
↓ 133 callersMethodnegate
Returns the additive inverse of {@code this} element. @return the opposite of {@code this}.
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/FieldElement.java:49
↓ 131 callersMethodpow
@param x Number. @param y Number. @return pow(x, y). @see Math#pow(double,double)
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:995
↓ 130 callersMethodgetNeuron
Retrieves the neuron with the given (unique) {@code id}. @param id Identifier. @return the neuron associated with the given {@code id}. @throws NoSuc
commons-math-neuralnet/src/main/java/org/apache/commons/math4/neuralnet/Network.java:306
↓ 128 callersMethodaddStepHandler
Add a step handler to this integrator. <p>The handler will be called by the integrator for each accepted step.</p> @param handler handler for the acce
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/ODEIntegrator.java:48
↓ 127 callersMethodgetNorm
Returns the <a href="https://mathworld.wolfram.com/MaximumAbsoluteRowSumNorm.html"> maximum absolute row sum norm</a> of the matrix. @return norm
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:146
↓ 126 callersMethodpow
Power function. Compute x^y. @param x a double @param y a double @return double
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/AccurateMath.java:1442
↓ 124 callersMethodassertEquals
Check the value of a vector. @param tolerance the absolute tolerance of comparisons @param actual the vector to test @param expected the expected valu
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/AbstractLeastSquaresOptimizerAbstractTest.java:94
↓ 117 callersMethodpoint
(int n, double value)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/OptimTestUtils.java:80
↓ 117 callersMethodtest
(Dfp x, Dfp y, int flags, String desc)
commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/dfp/DfpMathTest.java:59
↓ 117 callersMethodtoDouble
Convert the instance into a double. @return a double approximating the instance @see #toSplitDouble()
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/Dfp.java:2403
↓ 115 callersMethodformat
This method calls {@link #format(Object,StringBuffer,FieldPosition)}. @param c Complex object to format. @return A formatted number in the form "Re(c
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/ComplexFormat.java:178
↓ 111 callersMethodfill
Sets all elements to the given value. @param value Value of the elements of the matrix. @return {@code this}.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/field/linalg/FieldDenseMatrix.java:193
↓ 111 callersMethodisNaN
Check if instance is not a number. @return true if instance is not a number
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/Dfp.java:872
↓ 110 callersMethodbuild
(double x)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/ExtendedFieldElementAbstractTest.java:31
↓ 109 callersMethodtest
(Dfp x, Dfp y, int flags, String desc)
commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/dfp/DfpDecTest.java:50
↓ 108 callersMethodsin
@param x Number. @return sin(x). @see Math#sin(double)
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:1089
↓ 107 callersMethodcreate
Creates a new instance of {@link RealVector}, with specified entries. The returned vector must be of the type currently tested. It should be noted tha
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/RealVectorAbstractTest.java:138
↓ 107 callersMethodgetPoint
Gets the point. @return a copy of the stored point.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/PointValuePair.java:66
↓ 106 callersMethodsqrt
Square root. @return square root of the instance
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/RealFieldElement.java:156
↓ 105 callersMethodgetAbsoluteAccuracy
Get the absolute accuracy of the solver. Solutions returned by the solver should be accurate to this tolerance, i.e., if &epsilon; is the absolute ac
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/solvers/BaseUnivariateSolver.java:66
↓ 105 callersMethodgetPoint
Gets the n-dimensional point. @return the point array
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/Clusterable.java:31
↓ 105 callersMethodpow
Raises base to the power a by successive squaring. @param base number to raise @param a power @return base<sup>a</sup>
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/dfp/DfpMath.java:208
↓ 103 callersMethodgetValue
Get the value part of the derivative structure. @return value part of the derivative structure @see #getPartialDerivative(int...)
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/DerivativeStructure.java:249
↓ 103 callersMethodsize
Gets the number of elements contained in the range. @return the size of the range.
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/IntegerSequence.java:109
↓ 100 callersMethodstart
Start visiting a vector. This method is called once, before any entry of the vector is visited. @param dimension the size of the vector @param start
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealVectorChangingVisitor.java:35
↓ 99 callersMethodoptimize
Solve the non-linear least squares problem. @param leastSquaresProblem the problem definition, including model function and
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresOptimizer.java:34
↓ 98 callersMethodcheck
Checks that an object is not null. @param o Object to be checked. @param pattern Message pattern. @param args Arguments to replace the placeholders i
commons-math-legacy-exception/src/main/java/org/apache/commons/math4/legacy/exception/NullArgumentException.java:92
↓ 94 callersMethodgetEvaluations
Get the number of evaluations of the differential equations function. <p> The number of evaluations corresponds to the last call to the <code>integrat
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/ODEIntegrator.java:156
↓ 92 callersMethodgetDerivative
Get the derivative with respect to a particular index variable. @param index index to differentiate with. @return derivative with respect to a partic
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradient.java:121
↓ 92 callersMethodgetEntry
{@inheritDoc}
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/ArrayRealVector.java:597
↓ 91 callersMethodgetKey
Get the key. @return the key (first element of the pair).
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/Pair.java:63
↓ 90 callersMethodaddValue
Adds 1 to the frequency count for v. @param v the value to add.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/Frequency.java:100
↓ 89 callersMethodcos
@param x Number. @return cos(x). @see Math#cos(double)
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:578
↓ 89 callersMethodevaluate
Returns the result of evaluating the statistic over the input array, using the supplied weights. @param values input array @param weights array of we
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/WeightedEvaluation.java:39
↓ 89 callersMethodmultiply
Compute n &times; this. Multiplication by an integer number is defined as the following sum: <p>n &times; this = &sum;<sub>i=1</sub><sup>n</sup> this.
commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/FieldElement.java:57
↓ 87 callersMethodexp
@param x Number. @return exp(x). @see Math#exp(double)
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:618
↓ 84 callersMethodsample
Generates a random value vector sampled from this distribution. @return a random value vector.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/MultivariateRealDistribution.java:75
↓ 83 callersMethodgetValue
Get the value of the function. @return value of the function.
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradient.java:130
↓ 83 callersMethodtranspose
Returns the transpose of this matrix. @return transpose matrix
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealMatrix.java:464
↓ 77 callersMethodgetField
()
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/Dfp25.java:41
↓ 77 callersMethodgetInterpolatedState
Get the state vector of the interpolated point. <p>The returned vector is a reference to a reused array, so it should not be modified and it should be
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/StepInterpolator.java:104
↓ 74 callersMethodlog
@param x Number. @return log(x). @see Math#log(double)
commons-math-core/src/main/java/org/apache/commons/math4/core/jdkmath/JdkMath.java:760
↓ 73 callersMethodcreateSparseMatrix
(double[][] data)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/SparseRealMatrixTest.java:686
↓ 72 callersMethodgetSolver
{@inheritDoc}
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/solvers/SecantSolverTest.java:26
↓ 71 callersMethodgetName
Get the name of the method. @return name of the method
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/ODEIntegrator.java:38
↓ 70 callersMethodgetEntry
Return the entry at the specified index. @param index Index location of entry to be fetched. @return the vector entry at {@code index}. @throws OutOf
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealVector.java:75
↓ 70 callersMethodvalue
Simple mathematical function. <p>{@link UnivariateDifferentiableFunction} classes compute both the value and the first derivative of the function.</p>
commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/differentiation/UnivariateDifferentiableFunction.java:39
↓ 69 callersMethodcreateSparseMatrix
(Dfp[][] data)
commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/linear/SparseFieldMatrixTest.java:689
next →1–100 of 9,190, ranked by callers