Uses of Class
org.apache.commons.math4.exception.MathArithmeticException
-
Packages that use MathArithmeticException Package Description org.apache.commons.math4 Common classes used throughout the commons-math library.org.apache.commons.math4.analysis.differentiation This package holds the main interfaces and basic building block classes dealing with differentiation.org.apache.commons.math4.analysis.interpolation Univariate real functions interpolation algorithms.org.apache.commons.math4.distribution Implementations of common discrete and continuous distributions.org.apache.commons.math4.linear Linear algebra support.org.apache.commons.math4.stat.inference Classes providing hypothesis testing.org.apache.commons.math4.util Convenience routines and common data structures used throughout the commons-math library. -
-
Uses of MathArithmeticException in org.apache.commons.math4
Methods in org.apache.commons.math4 that throw MathArithmeticException Modifier and Type Method Description TFieldElement. divide(T a)Compute this ÷ a.TFieldElement. reciprocal()Returns the multiplicative inverse ofthiselement. -
Uses of MathArithmeticException in org.apache.commons.math4.analysis.differentiation
Methods in org.apache.commons.math4.analysis.differentiation that throw MathArithmeticException Modifier and Type Method Description doubleDerivativeStructure. taylor(double... delta)Evaluate Taylor expansion a derivative structure.doubleDSCompiler. taylor(double[] ds, int dsOffset, double... delta)Evaluate Taylor expansion of a derivative structure. -
Uses of MathArithmeticException in org.apache.commons.math4.analysis.interpolation
Methods in org.apache.commons.math4.analysis.interpolation that throw MathArithmeticException Modifier and Type Method Description voidFieldHermiteInterpolator. addSamplePoint(T x, T[]... value)Add a sample point.voidHermiteInterpolator. addSamplePoint(double x, double[]... value)Add a sample point. -
Uses of MathArithmeticException in org.apache.commons.math4.distribution
Constructors in org.apache.commons.math4.distribution that throw MathArithmeticException Constructor Description EnumeratedDistribution(java.util.List<Pair<T,java.lang.Double>> pmf)Create an enumerated distribution using the given random number generator and probability mass function enumeration.EnumeratedIntegerDistribution(int[] singletons, double[] probabilities)Create a discrete distribution.EnumeratedRealDistribution(double[] singletons, double[] probabilities)Create a discrete real-valued distribution using the given random number generator and probability mass function enumeration. -
Uses of MathArithmeticException in org.apache.commons.math4.linear
Methods in org.apache.commons.math4.linear that throw MathArithmeticException Modifier and Type Method Description doubleRealVector. cosine(RealVector v)Computes the cosine of the angle between this vector and the argument.ArrayFieldVector<T>ArrayFieldVector. ebeDivide(ArrayFieldVector<T> v)Element-by-element division.FieldVector<T>ArrayFieldVector. ebeDivide(FieldVector<T> v)Element-by-element division.FieldVector<T>FieldVector. ebeDivide(FieldVector<T> v)Element-by-element division.FieldVector<T>SparseFieldVector. ebeDivide(FieldVector<T> v)Element-by-element division.FieldVector<T>ArrayFieldVector. mapDivide(T d)Map a division operation to each entry.FieldVector<T>FieldVector. mapDivide(T d)Map a division operation to each entry.FieldVector<T>SparseFieldVector. mapDivide(T d)Map a division operation to each entry.FieldVector<T>ArrayFieldVector. mapDivideToSelf(T d)Map a division operation to each entry.FieldVector<T>FieldVector. mapDivideToSelf(T d)Map a division operation to each entry.FieldVector<T>SparseFieldVector. mapDivideToSelf(T d)Map a division operation to each entry.FieldVector<T>ArrayFieldVector. mapInv()Map the 1/x function to each entry.FieldVector<T>FieldVector. mapInv()Map the 1/x function to each entry.FieldVector<T>SparseFieldVector. mapInv()Map the 1/x function to each entry.FieldVector<T>ArrayFieldVector. mapInvToSelf()Map the 1/x function to each entry.FieldVector<T>FieldVector. mapInvToSelf()Map the 1/x function to each entry.FieldVector<T>SparseFieldVector. mapInvToSelf()Map the 1/x function to each entry.ArrayFieldVector<T>ArrayFieldVector. projection(ArrayFieldVector<T> v)Find the orthogonal projection of this vector onto another vector.FieldVector<T>ArrayFieldVector. projection(FieldVector<T> v)Find the orthogonal projection of this vector onto another vector.FieldVector<T>FieldVector. projection(FieldVector<T> v)Find the orthogonal projection of this vector onto another vector.RealVectorRealVector. projection(RealVector v)Find the orthogonal projection of this vector onto another vector.FieldVector<T>SparseFieldVector. projection(FieldVector<T> v)Find the orthogonal projection of this vector onto another vector.static voidMatrixUtils. solveLowerTriangularSystem(RealMatrix rm, RealVector b)Solve a system of composed of a Lower Triangular MatrixRealMatrix.static voidMatrixUtils. solveUpperTriangularSystem(RealMatrix rm, RealVector b)Solver a system composed of an Upper Triangular MatrixRealMatrix.voidOpenMapRealVector. unitize()Converts this vector into a unit vector.voidRealVector. unitize()Converts this vector into a unit vector.OpenMapRealVectorOpenMapRealVector. unitVector()Creates a unit vector pointing in the direction of this vector.RealVectorRealVector. unitVector()Creates a unit vector pointing in the direction of this vector.Constructors in org.apache.commons.math4.linear that throw MathArithmeticException Constructor Description EigenDecomposition(RealMatrix matrix)Calculates the eigen decomposition of the given real matrix. -
Uses of MathArithmeticException in org.apache.commons.math4.stat.inference
Methods in org.apache.commons.math4.stat.inference that throw MathArithmeticException Modifier and Type Method Description doubleKolmogorovSmirnovTest. cdf(double d, int n)Calculates \(P(D_n < d)\) using the method described in [1] with quick decisions for extreme values given in [2] (see above).doubleKolmogorovSmirnovTest. cdf(double d, int n, boolean exact)CalculatesP(D_n < d)using method described in [1] with quick decisions for extreme values given in [2] (see above).doubleKolmogorovSmirnovTest. cdfExact(double d, int n)CalculatesP(D_n < d). -
Uses of MathArithmeticException in org.apache.commons.math4.util
Methods in org.apache.commons.math4.util that throw MathArithmeticException Modifier and Type Method Description static intFastMath. addExact(int a, int b)Add two numbers, detecting overflows.static longFastMath. addExact(long a, long b)Add two numbers, detecting overflows.static byteMathUtils. copySign(byte magnitude, byte sign)Returns the first argument with the sign of the second argument.static intMathUtils. copySign(int magnitude, int sign)Returns the first argument with the sign of the second argument.static longMathUtils. copySign(long magnitude, long sign)Returns the first argument with the sign of the second argument.static shortMathUtils. copySign(short magnitude, short sign)Returns the first argument with the sign of the second argument.static intFastMath. decrementExact(int n)Decrement a number, detecting overflows.static longFastMath. decrementExact(long n)Decrement a number, detecting overflows.BigRealBigReal. divide(BigReal a)Compute this ÷ a.static intFastMath. floorDiv(int a, int b)Finds q such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0.static longFastMath. floorDiv(long a, long b)Finds q such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0.static intFastMath. floorMod(int a, int b)Finds r such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0.static intFastMath. incrementExact(int n)Increment a number, detecting overflows.static longFastMath. incrementExact(long n)Increment a number, detecting overflows.static double[]MathArrays. normalizeArray(double[] values, double normalizedSum)Normalizes an array to make it sum to a specified value.BigRealBigReal. reciprocal()Returns the multiplicative inverse ofthiselement.static longCombinatoricsUtils. stirlingS2(int n, int k)Returns the Stirling number of the second kind, "S(n,k)", the number of ways of partitioning ann-element set intoknon-empty subsets.static intFastMath. toIntExact(long n)Convert a long to integer, detecting overflows
-