Uses of Class
org.apache.commons.math3.exception.MathArithmeticException

Packages that use MathArithmeticException
org.apache.commons.math3 Common classes used throughout the commons-math library. 
org.apache.commons.math3.analysis.interpolation Univariate real functions interpolation algorithms. 
org.apache.commons.math3.distribution Implementations of common discrete and continuous distributions. 
org.apache.commons.math3.geometry This package is the top level package for geometry. 
org.apache.commons.math3.geometry.euclidean.oned This package provides basic 1D geometry components. 
org.apache.commons.math3.geometry.euclidean.threed This package provides basic 3D geometry components. 
org.apache.commons.math3.geometry.euclidean.twod This package provides basic 2D geometry components. 
org.apache.commons.math3.linear Linear algebra support. 
org.apache.commons.math3.util Convenience routines and common data structures used throughout the commons-math library. 
 

Uses of MathArithmeticException in org.apache.commons.math3
 

Methods in org.apache.commons.math3 that throw MathArithmeticException
 T FieldElement.divide(T a)
          Compute this ÷ a.
 T FieldElement.reciprocal()
          Returns the multiplicative inverse of this element.
 

Uses of MathArithmeticException in org.apache.commons.math3.analysis.interpolation
 

Methods in org.apache.commons.math3.analysis.interpolation that throw MathArithmeticException
 void HermiteInterpolator.addSamplePoint(double x, double[]... value)
          Add a sample point.
 

Uses of MathArithmeticException in org.apache.commons.math3.distribution
 

Methods in org.apache.commons.math3.distribution that throw MathArithmeticException
 double KolmogorovSmirnovDistribution.cdf(double d)
          Calculates P(D_n < d) using method described in [1] with quick decisions for extreme values given in [2] (see above).
 double KolmogorovSmirnovDistribution.cdf(double d, boolean exact)
          Calculates P(D_n < d) using method described in [1] with quick decisions for extreme values given in [2] (see above).
 double KolmogorovSmirnovDistribution.cdfExact(double d)
          Calculates P(D_n < d) using method described in [1] with quick decisions for extreme values given in [2] (see above).
 

Uses of MathArithmeticException in org.apache.commons.math3.geometry
 

Methods in org.apache.commons.math3.geometry that throw MathArithmeticException
 Vector<S> Vector.normalize()
          Get a normalized vector aligned with the instance.
 

Uses of MathArithmeticException in org.apache.commons.math3.geometry.euclidean.oned
 

Methods in org.apache.commons.math3.geometry.euclidean.oned that throw MathArithmeticException
 Vector1D Vector1D.normalize()
          Get a normalized vector aligned with the instance.
 

Uses of MathArithmeticException in org.apache.commons.math3.geometry.euclidean.threed
 

Methods in org.apache.commons.math3.geometry.euclidean.threed that throw MathArithmeticException
static double Vector3D.angle(Vector3D v1, Vector3D v2)
          Compute the angular separation between two vectors.
 Vector3D Vector3D.normalize()
          Get a normalized vector aligned with the instance.
 Vector3D Vector3D.orthogonal()
          Get a vector orthogonal to the instance.
 void Plane.reset(Vector3D p, Vector3D normal)
          Reset the instance as if built from a point and a normal.
 

Constructors in org.apache.commons.math3.geometry.euclidean.threed that throw MathArithmeticException
Plane(Vector3D normal)
          Build a plane normal to a given direction and containing the origin.
Plane(Vector3D p, Vector3D normal)
          Build a plane from a point and a normal.
Plane(Vector3D p1, Vector3D p2, Vector3D p3)
          Build a plane from three points.
Rotation(Vector3D u, Vector3D v)
          Build one of the rotations that transform one vector into another one.
Rotation(Vector3D u1, Vector3D u2, Vector3D v1, Vector3D v2)
          Build the rotation that transforms a pair of vector into another pair.
 

Uses of MathArithmeticException in org.apache.commons.math3.geometry.euclidean.twod
 

Methods in org.apache.commons.math3.geometry.euclidean.twod that throw MathArithmeticException
 Vector2D Vector2D.normalize()
          Get a normalized vector aligned with the instance.
 

Uses of MathArithmeticException in org.apache.commons.math3.linear
 

Methods in org.apache.commons.math3.linear that throw MathArithmeticException
 double RealVector.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> SparseFieldVector.ebeDivide(FieldVector<T> v)
          Deprecated. Element-by-element division.
 FieldVector<T> FieldVector.ebeDivide(FieldVector<T> v)
          Element-by-element division.
 FieldVector<T> ArrayFieldVector.mapDivide(T d)
          Map a division operation to each entry.
 FieldVector<T> SparseFieldVector.mapDivide(T d)
          Deprecated. Map a division operation to each entry.
 FieldVector<T> FieldVector.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> SparseFieldVector.mapDivideToSelf(T d)
          Deprecated. Map a division operation to each entry.
 FieldVector<T> FieldVector.mapDivideToSelf(T d)
          Map a division operation to each entry.
 FieldVector<T> ArrayFieldVector.mapInv()
          Map the 1/x function to each entry.
 FieldVector<T> SparseFieldVector.mapInv()
          Deprecated. Map the 1/x function to each entry.
 FieldVector<T> FieldVector.mapInv()
          Map the 1/x function to each entry.
 FieldVector<T> ArrayFieldVector.mapInvToSelf()
          Map the 1/x function to each entry.
 FieldVector<T> SparseFieldVector.mapInvToSelf()
          Deprecated. Map the 1/x function to each entry.
 FieldVector<T> FieldVector.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> SparseFieldVector.projection(FieldVector<T> v)
          Deprecated. 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.
 RealVector RealVector.projection(RealVector v)
          Find the orthogonal projection of this vector onto another vector.
static void MatrixUtils.solveLowerTriangularSystem(RealMatrix rm, RealVector b)
          Solve a system of composed of a Lower Triangular Matrix RealMatrix.
static void MatrixUtils.solveUpperTriangularSystem(RealMatrix rm, RealVector b)
          Solver a system composed of an Upper Triangular Matrix RealMatrix.
 void RealVector.unitize()
          Converts this vector into a unit vector.
 void OpenMapRealVector.unitize()
          Deprecated. Converts this vector into a unit vector.
 RealVector RealVector.unitVector()
          Creates a unit vector pointing in the direction of this vector.
 OpenMapRealVector OpenMapRealVector.unitVector()
          Deprecated. Creates a unit vector pointing in the direction of this vector.
 

Constructors in org.apache.commons.math3.linear that throw MathArithmeticException
EigenDecomposition(RealMatrix matrix)
          Calculates the eigen decomposition of the given real matrix.
EigenDecomposition(RealMatrix matrix, double splitTolerance)
          Deprecated. in 3.1 (to be removed in 4.0) due to unused parameter
 

Uses of MathArithmeticException in org.apache.commons.math3.util
 

Methods in org.apache.commons.math3.util that throw MathArithmeticException
static int ArithmeticUtils.addAndCheck(int x, int y)
          Add two integers, checking for overflow.
static long ArithmeticUtils.addAndCheck(long a, long b)
          Add two long integers, checking for overflow.
static long ArithmeticUtils.binomialCoefficient(int n, int k)
          Returns an exact representation of the Binomial Coefficient, "n choose k", the number of k-element subsets that can be selected from an n-element set.
static double ArithmeticUtils.binomialCoefficientDouble(int n, int k)
          Returns a double representation of the Binomial Coefficient, "n choose k", the number of k-element subsets that can be selected from an n-element set.
static double ArithmeticUtils.binomialCoefficientLog(int n, int k)
          Returns the natural log of the Binomial Coefficient, "n choose k", the number of k-element subsets that can be selected from an n-element set.
static byte MathUtils.copySign(byte magnitude, byte sign)
          Returns the first argument with the sign of the second argument.
static int MathUtils.copySign(int magnitude, int sign)
          Returns the first argument with the sign of the second argument.
static long MathUtils.copySign(long magnitude, long sign)
          Returns the first argument with the sign of the second argument.
static short MathUtils.copySign(short magnitude, short sign)
          Returns the first argument with the sign of the second argument.
 BigReal BigReal.divide(BigReal a)
          Compute this ÷ a.
static long ArithmeticUtils.factorial(int n)
          Returns n!.
static int ArithmeticUtils.gcd(int p, int q)
          Computes the greatest common divisor of the absolute value of two numbers, using a modified version of the "binary gcd" method.
static long ArithmeticUtils.gcd(long p, long q)
           Gets the greatest common divisor of the absolute value of two numbers, using the "binary gcd" method which avoids division and modulo operations.
static int ArithmeticUtils.lcm(int a, int b)
           Returns the least common multiple of the absolute value of two numbers, using the formula lcm(a,b) = (a / gcd(a,b)) * b.
static long ArithmeticUtils.lcm(long a, long b)
           Returns the least common multiple of the absolute value of two numbers, using the formula lcm(a,b) = (a / gcd(a,b)) * b.
static int ArithmeticUtils.mulAndCheck(int x, int y)
          Multiply two integers, checking for overflow.
static long ArithmeticUtils.mulAndCheck(long a, long b)
          Multiply two long integers, checking for overflow.
static double[] MathArrays.normalizeArray(double[] values, double normalizedSum)
          Normalizes an array to make it sum to a specified value.
 BigReal BigReal.reciprocal()
          Returns the multiplicative inverse of this element.
static float Precision.round(float x, int scale, int roundingMethod)
          Rounds the given value to the specified number of decimal places.
static long ArithmeticUtils.stirlingS2(int n, int k)
          Returns the Stirling number of the second kind, "S(n,k)", the number of ways of partitioning an n-element set into k non-empty subsets.
static int ArithmeticUtils.subAndCheck(int x, int y)
          Subtract two integers, checking for overflow.
static long ArithmeticUtils.subAndCheck(long a, long b)
          Subtract two long integers, checking for overflow.
 



Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.