Uses of Class
org.hipparchus.exception.MathRuntimeException
Package
Description
Common classes used throughout the Hipparchus library.
This package holds the main interfaces and basic building block classes
dealing with differentiation.
Univariate real functions interpolation algorithms.
Specialized exceptions for algorithms errors.
Kalman filter.
Kalman filter implementation for non-linear processes.
Kalman filter implementation for linear processes.
Unscented Kalman filter implementation.
This package is the top level package for geometry.
This package provides basic 1D geometry components.
This package provides basic 3D geometry components.
This package provides basic 2D geometry components.
This package provides basic geometry components on the 1-sphere.
This package provides basic geometry components on the 2-sphere.
Linear algebra support.
This package provides migration classes from Apache Commons Math to Hipparchus.
This package provides migration classes from Apache Commons Math to Hipparchus.
This package provides migration classes from Apache Commons Math to Hipparchus.
This package provides migration classes from Apache Commons Math to Hipparchus.
This package provides migration classes from Apache Commons Math to Hipparchus.
This package provides migration classes from Apache Commons Math to Hipparchus.
This package provides migration classes from Apache Commons Math to Hipparchus.
This package provides migration classes from Apache Commons Math to Hipparchus.
This package provides classes to solve Ordinary Differential Equations problems.
Correlations/Covariance computations.
Classes providing hypothesis testing.
Convenience routines and common data structures used throughout the Hipparchus library.
-
Uses of MathRuntimeException in org.hipparchus
Modifier and TypeMethodDescriptionCompute this ÷ a.FieldElement.reciprocal()
Returns the multiplicative inverse ofthis
element. -
Uses of MathRuntimeException in org.hipparchus.analysis.differentiation
Modifier and TypeMethodDescriptiondouble
DerivativeStructure.taylor
(double... delta) Evaluate Taylor expansion a derivative structure.double
DSCompiler.taylor
(double[] ds, int dsOffset, double... delta) Evaluate Taylor expansion of a derivative structure.<T extends CalculusFieldElement<T>>
TDSCompiler.taylor
(T[] ds, int dsOffset, double... delta) Evaluate Taylor expansion of a derivative structure.final <T extends CalculusFieldElement<T>>
TDSCompiler.taylor
(T[] ds, int dsOffset, T... delta) Evaluate Taylor expansion of a derivative structure.FieldDerivativeStructure.taylor
(double... delta) Evaluate Taylor expansion of a derivative structure.final T
Evaluate Taylor expansion of a derivative structure. -
Uses of MathRuntimeException in org.hipparchus.analysis.interpolation
Modifier and TypeMethodDescriptionfinal void
FieldHermiteInterpolator.addSamplePoint
(T x, T[]... value) Add a sample point.void
HermiteInterpolator.addSamplePoint
(double x, double[]... value) Add a sample point. -
Uses of MathRuntimeException in org.hipparchus.exception
Modifier and TypeClassDescriptionclass
Base class for all preconditions violation exceptions.class
Base class for all exceptions that signal that the process throwing the exception is in a state that does not comply with the set of states that it is designed to be in.Modifier and TypeMethodDescriptionstatic MathRuntimeException
MathRuntimeException.createInternalError()
Create an exception for an internal error.static MathRuntimeException
MathRuntimeException.createInternalError
(Throwable cause) Create an exception for an internal error. -
Uses of MathRuntimeException in org.hipparchus.filtering.kalman
Modifier and TypeMethodDescriptionKalmanFilter.estimationStep
(T measurement) Perform one estimation step. -
Uses of MathRuntimeException in org.hipparchus.filtering.kalman.extended
Modifier and TypeMethodDescriptionExtendedKalmanFilter.estimationStep
(T measurement) Perform one estimation step. -
Uses of MathRuntimeException in org.hipparchus.filtering.kalman.linear
Modifier and TypeMethodDescriptionLinearKalmanFilter.estimationStep
(T measurement) Perform one estimation step. -
Uses of MathRuntimeException in org.hipparchus.filtering.kalman.unscented
Modifier and TypeMethodDescriptionUnscentedKalmanFilter.estimationStep
(T measurement) Perform one estimation step.UnscentedKalmanFilter.predictionAndCorrectionSteps
(T measurement, RealVector[] sigmaPoints) This method perform the prediction and correction steps of the Unscented Kalman Filter. -
Uses of MathRuntimeException in org.hipparchus.geometry
Modifier and TypeMethodDescriptionSpace.getSubSpace()
Get the n-1 dimension subspace of this space.default V
Vector.normalize()
Get a normalized vector aligned with the instance. -
Uses of MathRuntimeException in org.hipparchus.geometry.euclidean.oned
Modifier and TypeClassDescriptionstatic class
Specialized exception for inexistent sub-space. -
Uses of MathRuntimeException in org.hipparchus.geometry.euclidean.threed
Modifier and TypeMethodDescriptionstatic <T extends CalculusFieldElement<T>>
TFieldVector3D.angle
(FieldVector3D<T> v1, FieldVector3D<T> v2) Compute the angular separation between two vectors.static <T extends CalculusFieldElement<T>>
TFieldVector3D.angle
(FieldVector3D<T> v1, Vector3D v2) Compute the angular separation between two vectors.static <T extends CalculusFieldElement<T>>
TFieldVector3D.angle
(Vector3D v1, FieldVector3D<T> v2) Compute the angular separation between two vectors.static double
Compute the angular separation between two vectors.PolyhedronsSet.getBRep()
Get the boundary representation of the instance.FieldVector3D.normalize()
Get a normalized vector aligned with the instance.FieldVector3D.orthogonal()
Get a vector orthogonal to the instance.Vector3D.orthogonal()
Get a vector orthogonal to the instance.void
Reset the instance as if built from a point and a normal.ModifierConstructorDescriptionFieldRotation
(FieldVector3D<T> u, FieldVector3D<T> v) Build one of the rotations that transform one vector into another one.FieldRotation
(FieldVector3D<T> u1, FieldVector3D<T> u2, FieldVector3D<T> v1, FieldVector3D<T> v2) Build the rotation that transforms a pair of vectors into another pair.Build a plane normal to a given direction and containing the origin.Build a plane from a point and a normal.Build a plane from three points.Build one of the rotations that transform one vector into another one.Build the rotation that transforms a pair of vectors into another pair. -
Uses of MathRuntimeException in org.hipparchus.geometry.euclidean.twod
Modifier and TypeMethodDescriptionstatic <T extends CalculusFieldElement<T>>
TFieldVector2D.angle
(FieldVector2D<T> v1, FieldVector2D<T> v2) Compute the angular separation between two vectors.static <T extends CalculusFieldElement<T>>
TFieldVector2D.angle
(FieldVector2D<T> v1, Vector2D v2) Compute the angular separation between two vectors.static <T extends CalculusFieldElement<T>>
TFieldVector2D.angle
(Vector2D v1, FieldVector2D<T> v2) Compute the angular separation between two vectors.static double
Compute the angular separation between two vectors.FieldVector2D.normalize()
Get a normalized vector aligned with the instance. -
Uses of MathRuntimeException in org.hipparchus.geometry.spherical.oned
Modifier and TypeClassDescriptionstatic class
Specialized exception for inconsistent BSP tree state inconsistency.static class
Specialized exception for inexistent sub-space. -
Uses of MathRuntimeException in org.hipparchus.geometry.spherical.twod
-
Uses of MathRuntimeException in org.hipparchus.linear
Modifier and TypeMethodDescriptiondouble
RealVector.cosine
(RealVector v) Computes the cosine of the angle between this vector and the argument.ArrayFieldVector.ebeDivide
(ArrayFieldVector<T> v) Element-by-element division.ArrayFieldVector.ebeDivide
(FieldVector<T> v) Element-by-element division.FieldVector.ebeDivide
(FieldVector<T> v) Element-by-element division.SparseFieldVector.ebeDivide
(FieldVector<T> v) Element-by-element division.boolean
Test for the equality of two real vectors.int
RealVector.hashCode()
.Map a division operation to each entry.Map a division operation to each entry.Map a division operation to each entry.ArrayFieldVector.mapDivideToSelf
(T d) Map a division operation to each entry.FieldVector.mapDivideToSelf
(T d) Map a division operation to each entry.SparseFieldVector.mapDivideToSelf
(T d) Map a division operation to each entry.ArrayFieldVector.mapInv()
Map the 1/x function to each entry.FieldVector.mapInv()
Map the 1/x function to each entry.SparseFieldVector.mapInv()
Map the 1/x function to each entry.ArrayFieldVector.mapInvToSelf()
Map the 1/x function to each entry.FieldVector.mapInvToSelf()
Map the 1/x function to each entry.SparseFieldVector.mapInvToSelf()
Map the 1/x function to each entry.ArrayFieldVector.projection
(ArrayFieldVector<T> v) Find the orthogonal projection of this vector onto another vector.ArrayFieldVector.projection
(FieldVector<T> v) Find the orthogonal projection of this vector onto another vector.FieldVector.projection
(FieldVector<T> v) Find the orthogonal projection of this vector onto another vector.RealVector.projection
(RealVector v) Find the orthogonal projection of this vector onto another vector.SparseFieldVector.projection
(FieldVector<T> v) Find the orthogonal projection of this vector onto another vector.void
RealVector.SparseEntryIterator.remove()
static void
MatrixUtils.solveLowerTriangularSystem
(RealMatrix rm, RealVector b) Solve a system of composed of a Lower Triangular MatrixRealMatrix
.static void
MatrixUtils.solveUpperTriangularSystem
(RealMatrix rm, RealVector b) Solver a system composed of an Upper Triangular MatrixRealMatrix
.void
OpenMapRealVector.unitize()
Converts this vector into a unit vector.void
RealVector.unitize()
Converts this vector into a unit vector.OpenMapRealVector.unitVector()
Creates a unit vector pointing in the direction of this vector.RealVector.unitVector()
Creates a unit vector pointing in the direction of this vector.ModifierConstructorDescriptionEigenDecompositionNonSymmetric
(RealMatrix matrix, double epsilon) Calculates the eigen decomposition of the given real matrix.EigenDecompositionSymmetric
(RealMatrix matrix, double epsilon, boolean decreasing) Calculates the eigen decomposition of the given real matrix. -
Uses of MathRuntimeException in org.hipparchus.migration.exception
Modifier and TypeClassDescriptionclass
Deprecated.class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, replaced withMathRuntimeException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalStateException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalStateException
class
Deprecated.as of 1.0, replaced withMathRuntimeException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalStateException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
-
Uses of MathRuntimeException in org.hipparchus.migration.genetics
Modifier and TypeClassDescriptionclass
Deprecated.as of 1.0, this exception is replaced byMathIllegalStateException
-
Uses of MathRuntimeException in org.hipparchus.migration.geometry.euclidean
Modifier and TypeClassDescriptionclass
Deprecated.as of 1.0, this exception is replaced byMathIllegalStateException
-
Uses of MathRuntimeException in org.hipparchus.migration.geometry.euclidean.threed
Modifier and TypeClassDescriptionclass
Deprecated.as of 1.0, this exception is replaced byMathIllegalStateException
-
Uses of MathRuntimeException in org.hipparchus.migration.linear
Modifier and TypeClassDescriptionclass
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalStateException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
-
Uses of MathRuntimeException in org.hipparchus.migration.ode
Modifier and TypeClassDescriptionstatic class
Deprecated.Special exception for equations mismatch.class
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
-
Uses of MathRuntimeException in org.hipparchus.migration.optim.linear
Modifier and TypeClassDescriptionclass
Deprecated.as of 1.0, this exception is replaced byMathIllegalStateException
class
Deprecated.as of 1.0, this exception is replaced byMathIllegalStateException
-
Uses of MathRuntimeException in org.hipparchus.migration.stat.regression
Modifier and TypeClassDescriptionclass
Deprecated.as of 1.0, this exception is replaced byMathIllegalArgumentException
-
Uses of MathRuntimeException in org.hipparchus.ode
Modifier and TypeClassDescriptionstatic class
Special exception for equations mismatch. -
Uses of MathRuntimeException in org.hipparchus.stat.correlation
Modifier and TypeMethodDescriptionint
StorelessCovariance.getN()
ThisCovariance
method is not supported by aStorelessCovariance
, since the number of bivariate observations does not have to be the same for different pairs of covariates - i.e., N as defined inCovariance.getN()
is undefined. -
Uses of MathRuntimeException in org.hipparchus.stat.inference
Modifier and TypeMethodDescriptiondouble
KolmogorovSmirnovTest.cdf
(double d, int n) CalculatesP(D_n < d)
using the method described in [1] with quick decisions for extreme values given in [2] (see above).double
KolmogorovSmirnovTest.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).double
KolmogorovSmirnovTest.cdfExact
(double d, int n) CalculatesP(D_n < d)
. -
Uses of MathRuntimeException in org.hipparchus.util
Modifier and TypeMethodDescriptionstatic 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 int
FastMath.addExact
(int a, int b) Add two numbers, detecting overflows.static long
FastMath.addExact
(long a, long b) Add two numbers, detecting overflows.static long
CombinatoricsUtils.binomialCoefficient
(int n, int k) Returns an exact representation of the Binomial Coefficient, "n choose k
", the number ofk
-element subsets that can be selected from ann
-element set.static double
CombinatoricsUtils.binomialCoefficientDouble
(int n, int k) Returns adouble
representation of the Binomial Coefficient, "n choose k
", the number ofk
-element subsets that can be selected from ann
-element set.static double
CombinatoricsUtils.binomialCoefficientLog
(int n, int k) Returns the naturallog
of the Binomial Coefficient, "n choose k
", the number ofk
-element subsets that can be selected from ann
-element set.static int
FastMath.ceilDiv
(int a, int b) Finds q such thata = q b + r
withb < r <= 0
ifb > 0
and0 <= r < b
ifb < 0
.static long
FastMath.ceilDiv
(long a, int b) Finds q such thata = q b + r
withb < r <= 0
ifb > 0
and0 <= r < b
ifb < 0
.static long
FastMath.ceilDiv
(long a, long b) Finds q such thata = q b + r
withb < r <= 0
ifb > 0
and0 <= r < b
ifb < 0
.static int
FastMath.ceilDivExact
(int a, int b) Finds q such thata = q b + r
withb < r <= 0
ifb > 0
and0 <= r < b
ifb < 0
.static long
FastMath.ceilDivExact
(long a, long b) Finds q such thata = q b + r
withb < r <= 0
ifb > 0
and0 <= r < b
ifb < 0
.static int
FastMath.ceilMod
(int a, int b) Finds r such thata = q b + r
withb < r <= 0
ifb > 0
and0 <= r < b
ifb < 0
.static int
FastMath.ceilMod
(long a, int b) Finds r such thata = q b + r
withb < r <= 0
ifb > 0
and0 <= r < b
ifb < 0
.static long
FastMath.ceilMod
(long a, long b) Finds r such thata = q b + r
withb < r <= 0
ifb > 0
and0 <= r < b
ifb < 0
.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.static int
FastMath.decrementExact
(int n) Decrement a number, detecting overflows.static long
FastMath.decrementExact
(long n) Decrement a number, detecting overflows.Compute this ÷ a.static int
FastMath.floorDiv
(int a, int b) Finds q such thata = q b + r
with0 <= r < b
ifb > 0
andb < r <= 0
ifb < 0
.static long
FastMath.floorDiv
(long a, int b) Finds q such thata = q b + r
with0 <= r < b
ifb > 0
andb < r <= 0
ifb < 0
.static long
FastMath.floorDiv
(long a, long b) Finds q such thata = q b + r
with0 <= r < b
ifb > 0
andb < r <= 0
ifb < 0
.static int
FastMath.floorDivExact
(int a, int b) Finds q such thata = q b + r
with0 <= r < b
ifb > 0
andb < r <= 0
ifb < 0
.static long
FastMath.floorDivExact
(long a, long b) Finds q such thata = q b + r
with0 <= r < b
ifb > 0
andb < r <= 0
ifb < 0
.static int
FastMath.floorMod
(int a, int b) Finds r such thata = q b + r
with0 <= r < b
ifb > 0
andb < r <= 0
ifb < 0
.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
FastMath.incrementExact
(int n) Increment a number, detecting overflows.static long
FastMath.incrementExact
(long n) Increment a number, detecting overflows.static int
ArithmeticUtils.lcm
(int a, int b) Returns the least common multiple of the absolute value of two numbers, using the formulalcm(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 formulalcm(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.static int
ArithmeticUtils.pow
(int k, int e) Raise an int to an int power.static long
ArithmeticUtils.pow
(long k, int e) Raise a long to an int power.BigReal.reciprocal()
Returns the multiplicative inverse ofthis
element.static float
Precision.round
(float x, int scale, RoundingMode roundingMethod) Rounds the given value to the specified number of decimal places.static long
CombinatoricsUtils.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 intok
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.static int
FastMath.toIntExact
(long n) Convert a long to interger, detecting overflows
MathIllegalStateException