Uses of Class
org.apache.commons.math4.exception.DimensionMismatchException
-
Packages that use DimensionMismatchException 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.function Thefunctionpackage contains function objects that wrap the methods contained inMath, as well as common mathematical functions such as the gaussian and sinc functions.org.apache.commons.math4.analysis.integration.gauss Gauss family of quadrature schemes.org.apache.commons.math4.analysis.interpolation Univariate real functions interpolation algorithms.org.apache.commons.math4.analysis.polynomials Univariate real polynomials implementations, seen as differentiable univariate real functions.org.apache.commons.math4.distribution Implementations of common discrete and continuous distributions.org.apache.commons.math4.distribution.fitting Fitting of parameters against distributions.org.apache.commons.math4.linear Linear algebra support.org.apache.commons.math4.random Random Data Generationorg.apache.commons.math4.stat Data storage, manipulation and summary routines.org.apache.commons.math4.stat.correlation Correlations/Covariance computations.org.apache.commons.math4.stat.descriptive Generic univariate summary statistic objects.org.apache.commons.math4.stat.descriptive.moment Summary statistics based on moments.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 DimensionMismatchException in org.apache.commons.math4
Methods in org.apache.commons.math4 that throw DimensionMismatchException Modifier and Type Method Description TRealFieldElement. atan2(T x)Two arguments arc tangent operation.TRealFieldElement. hypot(T y)Returns the hypotenuse of a triangle with sidesthisandy- sqrt(this2 +y2) avoiding intermediate overflow or underflow.TRealFieldElement. linearCombination(double[] a, T[] b)Compute a linear combination.TRealFieldElement. linearCombination(T[] a, T[] b)Compute a linear combination.TRealFieldElement. pow(T e)Power operation.TRealFieldElement. remainder(T a)IEEE remainder operator. -
Uses of DimensionMismatchException in org.apache.commons.math4.analysis.differentiation
Methods in org.apache.commons.math4.analysis.differentiation that throw DimensionMismatchException Modifier and Type Method Description DerivativeStructureDerivativeStructure. add(DerivativeStructure a)Compute this + a.DerivativeStructureDerivativeStructure. atan2(DerivativeStructure x)Two arguments arc tangent operation.static DerivativeStructureDerivativeStructure. atan2(DerivativeStructure y, DerivativeStructure x)Two arguments arc tangent operation.voidDSCompiler. checkCompatibility(DSCompiler compiler)Check rules set compatibility.DerivativeStructureDerivativeStructure. compose(double... f)Compute composition of the instance by a univariate function.DerivativeStructureDerivativeStructure. divide(DerivativeStructure a)Compute this ÷ a.doubleDerivativeStructure. getPartialDerivative(int... orders)Get a partial derivative.intDSCompiler. getPartialDerivativeIndex(int... orders)Get the index of a partial derivative in the array.DerivativeStructureDerivativeStructure. hypot(DerivativeStructure y)Returns the hypotenuse of a triangle with sidesthisandy- sqrt(this2 +y2) avoiding intermediate overflow or underflow.static DerivativeStructureDerivativeStructure. hypot(DerivativeStructure x, DerivativeStructure y)Returns the hypotenuse of a triangle with sidesxandy- sqrt(x2 +y2) avoiding intermediate overflow or underflow.DerivativeStructureDerivativeStructure. linearCombination(double[] a, DerivativeStructure[] b)Compute a linear combination.DerivativeStructureDerivativeStructure. linearCombination(double a1, DerivativeStructure b1, double a2, DerivativeStructure b2)Compute a linear combination.DerivativeStructureDerivativeStructure. linearCombination(double a1, DerivativeStructure b1, double a2, DerivativeStructure b2, double a3, DerivativeStructure b3)Compute a linear combination.DerivativeStructureDerivativeStructure. linearCombination(double a1, DerivativeStructure b1, double a2, DerivativeStructure b2, double a3, DerivativeStructure b3, double a4, DerivativeStructure b4)Compute a linear combination.DerivativeStructureDerivativeStructure. linearCombination(DerivativeStructure[] a, DerivativeStructure[] b)Compute a linear combination.DerivativeStructureDerivativeStructure. linearCombination(DerivativeStructure a1, DerivativeStructure b1, DerivativeStructure a2, DerivativeStructure b2)Compute a linear combination.DerivativeStructureDerivativeStructure. linearCombination(DerivativeStructure a1, DerivativeStructure b1, DerivativeStructure a2, DerivativeStructure b2, DerivativeStructure a3, DerivativeStructure b3)Compute a linear combination.DerivativeStructureDerivativeStructure. linearCombination(DerivativeStructure a1, DerivativeStructure b1, DerivativeStructure a2, DerivativeStructure b2, DerivativeStructure a3, DerivativeStructure b3, DerivativeStructure a4, DerivativeStructure b4)Compute a linear combination.SparseGradientSparseGradient. linearCombination(SparseGradient[] a, SparseGradient[] b)Compute a linear combination.DerivativeStructureDerivativeStructure. multiply(DerivativeStructure a)Compute this × a.DerivativeStructureDerivativeStructure. pow(DerivativeStructure e)Power operation.DerivativeStructureDerivativeStructure. remainder(DerivativeStructure a)IEEE remainder operator.DerivativeStructureDerivativeStructure. subtract(DerivativeStructure a)Compute this - a.DerivativeStructureUnivariateDifferentiableFunction. value(DerivativeStructure t)Simple mathematical function.Constructors in org.apache.commons.math4.analysis.differentiation that throw DimensionMismatchException Constructor Description DerivativeStructure(double a1, DerivativeStructure ds1, double a2, DerivativeStructure ds2)Linear combination constructor.DerivativeStructure(double a1, DerivativeStructure ds1, double a2, DerivativeStructure ds2, double a3, DerivativeStructure ds3)Linear combination constructor.DerivativeStructure(double a1, DerivativeStructure ds1, double a2, DerivativeStructure ds2, double a3, DerivativeStructure ds3, double a4, DerivativeStructure ds4)Linear combination constructor.DerivativeStructure(int parameters, int order, double... derivatives)Build an instance from all its derivatives. -
Uses of DimensionMismatchException in org.apache.commons.math4.analysis.function
Methods in org.apache.commons.math4.analysis.function that throw DimensionMismatchException Modifier and Type Method Description double[]Gaussian.Parametric. gradient(double x, double... param)Computes the value of the gradient atx.double[]HarmonicOscillator.Parametric. gradient(double x, double... param)Computes the value of the gradient atx.double[]Logistic.Parametric. gradient(double x, double... param)Computes the value of the gradient atx.double[]Logit.Parametric. gradient(double x, double... param)Computes the value of the gradient atx.double[]Sigmoid.Parametric. gradient(double x, double... param)Computes the value of the gradient atx.doubleGaussian.Parametric. value(double x, double... param)Computes the value of the Gaussian atx.DerivativeStructureGaussian. value(DerivativeStructure t)Simple mathematical function.doubleHarmonicOscillator.Parametric. value(double x, double... param)Computes the value of the harmonic oscillator atx.DerivativeStructureHarmonicOscillator. value(DerivativeStructure t)Simple mathematical function.doubleLogistic.Parametric. value(double x, double... param)Computes the value of the sigmoid atx.doubleLogit.Parametric. value(double x, double... param)Computes the value of the logit atx.doubleSigmoid.Parametric. value(double x, double... param)Computes the value of the sigmoid atx.DerivativeStructureSigmoid. value(DerivativeStructure t)Simple mathematical function.DerivativeStructureSinc. value(DerivativeStructure t)Simple mathematical function.Constructors in org.apache.commons.math4.analysis.function that throw DimensionMismatchException Constructor Description StepFunction(double[] x, double[] y)Builds a step function from a list of arguments and the corresponding values. -
Uses of DimensionMismatchException in org.apache.commons.math4.analysis.integration.gauss
Methods in org.apache.commons.math4.analysis.integration.gauss that throw DimensionMismatchException Modifier and Type Method Description protected voidBaseRuleFactory. addRule(Pair<T[],T[]> rule)Stores a rule.protected abstract Pair<T[],T[]>BaseRuleFactory. computeRule(int numberOfPoints)Computes the rule for the given order.protected Pair<java.lang.Double[],java.lang.Double[]>HermiteRuleFactory. computeRule(int numberOfPoints)Computes the rule for the given order.protected Pair<java.lang.Double[],java.lang.Double[]>LaguerreRuleFactory. computeRule(int numberOfPoints)Computes the rule for the given order.protected Pair<java.math.BigDecimal[],java.math.BigDecimal[]>LegendreHighPrecisionRuleFactory. computeRule(int numberOfPoints)Computes the rule for the given order.protected Pair<java.lang.Double[],java.lang.Double[]>LegendreRuleFactory. computeRule(int numberOfPoints)Computes the rule for the given order.Pair<double[],double[]>BaseRuleFactory. getRule(int numberOfPoints)Gets a copy of the quadrature rule with the given number of integration points.protected Pair<T[],T[]>BaseRuleFactory. getRuleInternal(int numberOfPoints)Gets a rule.Constructors in org.apache.commons.math4.analysis.integration.gauss that throw DimensionMismatchException Constructor Description GaussIntegrator(double[] points, double[] weights)Creates an integrator from the givenpointsandweights.SymmetricGaussIntegrator(double[] points, double[] weights)Creates an integrator from the givenpointsandweights. -
Uses of DimensionMismatchException in org.apache.commons.math4.analysis.interpolation
Methods in org.apache.commons.math4.analysis.interpolation that throw DimensionMismatchException Modifier and Type Method Description voidFieldHermiteInterpolator. addSamplePoint(T x, T[]... value)Add a sample point.protected static double[]DividedDifferenceInterpolator. computeDividedDifference(double[] x, double[] y)Return a copy of the divided difference array.PolynomialSplineFunctionAkimaSplineInterpolator. interpolate(double[] xvals, double[] yvals)Computes an interpolating function for the data set.BicubicInterpolatingFunctionBicubicInterpolator. interpolate(double[] xval, double[] yval, double[][] fval)Compute an interpolating function for the dataset.BivariateFunctionBivariateGridInterpolator. interpolate(double[] xval, double[] yval, double[][] fval)Compute an interpolating function for the dataset.PolynomialFunctionNewtonFormDividedDifferenceInterpolator. interpolate(double[] x, double[] y)Compute an interpolating function for the dataset.PolynomialSplineFunctionLinearInterpolator. interpolate(double[] x, double[] y)Computes a linear interpolating function for the data set.PolynomialSplineFunctionLoessInterpolator. interpolate(double[] xval, double[] yval)Compute an interpolating function by performing a loess fit on the data at the original abscissae and then building a cubic spline with aSplineInterpolatoron the resulting fit.MultivariateFunctionMicrosphereProjectionInterpolator. interpolate(double[][] xval, double[] yval)Computes an interpolating function for the data set.MultivariateFunctionMultivariateInterpolator. interpolate(double[][] xval, double[] yval)Computes an interpolating function for the data set.PolynomialFunctionLagrangeFormNevilleInterpolator. interpolate(double[] x, double[] y)Computes an interpolating function for the data set.PiecewiseBicubicSplineInterpolatingFunctionPiecewiseBicubicSplineInterpolator. interpolate(double[] xval, double[] yval, double[][] fval)Compute an interpolating function for the dataset.PolynomialSplineFunctionSplineInterpolator. interpolate(double[] x, double[] y)Computes an interpolating function for the data set.TricubicInterpolatingFunctionTricubicInterpolator. interpolate(double[] xval, double[] yval, double[] zval, double[][][] fval)Compute an interpolating function for the dataset.TrivariateFunctionTrivariateGridInterpolator. interpolate(double[] xval, double[] yval, double[] zval, double[][][] fval)Compute an interpolating function for the dataset.UnivariateFunctionUnivariateInterpolator. interpolate(double[] xval, double[] yval)Compute an interpolating function for the dataset.double[]LoessInterpolator. smooth(double[] xval, double[] yval)Compute a loess fit on the data at the original abscissae.double[]LoessInterpolator. smooth(double[] xval, double[] yval, double[] weights)Compute a weighted loess fit on the data at the original abscissae.Constructors in org.apache.commons.math4.analysis.interpolation that throw DimensionMismatchException Constructor Description BicubicInterpolatingFunction(double[] x, double[] y, double[][] f, double[][] dFdX, double[][] dFdY, double[][] d2FdXdY)PiecewiseBicubicSplineInterpolatingFunction(double[] x, double[] y, double[][] f)TricubicInterpolatingFunction(double[] x, double[] y, double[] z, double[][][] f, double[][][] dFdX, double[][][] dFdY, double[][][] dFdZ, double[][][] d2FdXdY, double[][][] d2FdXdZ, double[][][] d2FdYdZ, double[][][] d3FdXdYdZ) -
Uses of DimensionMismatchException in org.apache.commons.math4.analysis.polynomials
Methods in org.apache.commons.math4.analysis.polynomials that throw DimensionMismatchException Modifier and Type Method Description static doublePolynomialFunctionLagrangeForm. evaluate(double[] x, double[] y, double z)Evaluate the Lagrange polynomial using Neville's Algorithm.static doublePolynomialFunctionNewtonForm. evaluate(double[] a, double[] c, double z)Evaluate the Newton polynomial using nested multiplication.protected static voidPolynomialFunctionNewtonForm. verifyInputArray(double[] a, double[] c)Verifies that the input arrays are valid.static booleanPolynomialFunctionLagrangeForm. verifyInterpolationArray(double[] x, double[] y, boolean abort)Check that the interpolation arrays are valid.Constructors in org.apache.commons.math4.analysis.polynomials that throw DimensionMismatchException Constructor Description PolynomialFunctionLagrangeForm(double[] x, double[] y)Construct a Lagrange polynomial with the given abscissas and function values.PolynomialFunctionNewtonForm(double[] a, double[] c)Construct a Newton polynomial with the given a[] and c[].PolynomialSplineFunction(double[] knots, PolynomialFunction[] polynomials)Construct a polynomial spline function with the given segment delimiters and interpolating polynomials. -
Uses of DimensionMismatchException in org.apache.commons.math4.distribution
Methods in org.apache.commons.math4.distribution that throw DimensionMismatchException Modifier and Type Method Description doubleMultivariateNormalDistribution. density(double[] vals)Returns the probability density function (PDF) of this distribution evaluated at the specified pointx.Constructors in org.apache.commons.math4.distribution that throw DimensionMismatchException Constructor Description 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.MixtureMultivariateNormalDistribution(double[] weights, double[][] means, double[][][] covariances)Creates a multivariate normal mixture distribution.MixtureMultivariateNormalDistribution(java.util.List<Pair<java.lang.Double,MultivariateNormalDistribution>> components)Creates a mixture model from a list of distributions and their associated weights.MultivariateNormalDistribution(double[] means, double[][] covariances)Creates a multivariate normal distribution with the given mean vector and covariance matrix. -
Uses of DimensionMismatchException in org.apache.commons.math4.distribution.fitting
Methods in org.apache.commons.math4.distribution.fitting that throw DimensionMismatchException Modifier and Type Method Description static MixtureMultivariateNormalDistributionMultivariateNormalMixtureExpectationMaximization. estimate(double[][] data, int numComponents)Helper method to create a multivariate normal mixture model which can be used to initializeMultivariateNormalMixtureExpectationMaximization.fit(MixtureMultivariateNormalDistribution).voidMultivariateNormalMixtureExpectationMaximization. fit(MixtureMultivariateNormalDistribution initialMixture, int maxIterations, double threshold)Fit a mixture model to the data supplied to the constructor.Constructors in org.apache.commons.math4.distribution.fitting that throw DimensionMismatchException Constructor Description MultivariateNormalMixtureExpectationMaximization(double[][] data)Creates an object to fit a multivariate normal mixture model to data. -
Uses of DimensionMismatchException in org.apache.commons.math4.linear
Subclasses of DimensionMismatchException in org.apache.commons.math4.linear Modifier and Type Class Description classNonSquareMatrixExceptionException to be thrown when a square matrix is expected.classNonSquareOperatorExceptionException to be thrown when a square linear operator is expected.Methods in org.apache.commons.math4.linear that throw DimensionMismatchException Modifier and Type Method Description ArrayFieldVector<T>ArrayFieldVector. add(ArrayFieldVector<T> v)Compute the sum ofthisandv.FieldVector<T>ArrayFieldVector. add(FieldVector<T> v)Compute the sum ofthisandv.ArrayRealVectorArrayRealVector. add(RealVector v)Compute the sum of this vector andv.FieldVector<T>FieldVector. add(FieldVector<T> v)Compute the sum ofthisandv.OpenMapRealVectorOpenMapRealVector. add(OpenMapRealVector v)Optimized method to add two OpenMapRealVectors.RealVectorOpenMapRealVector. add(RealVector v)Compute the sum of this vector andv.RealVectorRealVector. add(RealVector v)Compute the sum of this vector andv.FieldVector<T>SparseFieldVector. add(FieldVector<T> v)Compute the sum ofthisandv.FieldVector<T>SparseFieldVector. add(SparseFieldVector<T> v)Optimized method to add sparse vectors.protected voidAbstractFieldMatrix. checkMultiplicationCompatible(FieldMatrix<T> m)Check if a matrix is multiplication compatible with the instance.static voidMatrixUtils. checkMultiplicationCompatible(AnyMatrix left, AnyMatrix right)Check if matrices are multiplication compatibleprotected static voidIterativeLinearSolver. checkParameters(RealLinearOperator a, RealVector b, RealVector x0)Performs all dimension checks on the parameters ofsolveandsolveInPlace, and throws an exception if one of the checks fails.protected static voidPreconditionedIterativeLinearSolver. checkParameters(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Performs all dimension checks on the parameters ofsolveandsolveInPlace, and throws an exception if one of the checks fails.protected voidArrayFieldVector. checkVectorDimensions(int n)Check if instance dimension is equal to some expected value.protected voidArrayFieldVector. checkVectorDimensions(FieldVector<T> v)Check if instance and specified vectors have the same dimension.protected voidArrayRealVector. checkVectorDimensions(int n)Check if instance dimension is equal to some expected value.protected voidArrayRealVector. checkVectorDimensions(RealVector v)Check if instance and specified vectors have the same dimension.protected voidRealVector. checkVectorDimensions(int n)Check if instance dimension is equal to some expected value.protected voidRealVector. checkVectorDimensions(RealVector v)Check if instance and specified vectors have the same dimension.protected voidSparseFieldVector. checkVectorDimensions(int n)Check if instance dimension is equal to some expected value.ArrayRealVectorArrayRealVector. combine(double a, double b, RealVector y)Returns a new vector representinga * this + b * y, the linear combination ofthisandy.RealVectorRealVector. combine(double a, double b, RealVector y)Returns a new vector representinga * this + b * y, the linear combination ofthisandy.ArrayRealVectorArrayRealVector. combineToSelf(double a, double b, RealVector y)Updatesthiswith the linear combination ofthisandy.RealVectorRealVector. combineToSelf(double a, double b, RealVector y)Updatesthiswith the linear combination ofthisandy.doubleRealVector. cosine(RealVector v)Computes the cosine of the angle between this vector and the argument.static <T extends FieldElement<T>>
FieldMatrix<T>MatrixUtils. createFieldMatrix(T[][] data)Returns aFieldMatrixwhose entries are the values in the the input array.RealMatrixDiagonalMatrix. createMatrix(int rowDimension, int columnDimension)Create a new RealMatrix of the same type as the instance with the supplied row and column dimensions.static RealMatrixMatrixUtils. createRealMatrix(double[][] data)Returns aRealMatrixwhose entries are the values in the the input array.TArrayFieldVector. dotProduct(ArrayFieldVector<T> v)Compute the dot product.TArrayFieldVector. dotProduct(FieldVector<T> v)Compute the dot product.doubleArrayRealVector. dotProduct(RealVector v)Compute the dot product of this vector withv.TFieldVector. dotProduct(FieldVector<T> v)Compute the dot product.doubleRealVector. dotProduct(RealVector v)Compute the dot product of this vector withv.TSparseFieldVector. dotProduct(FieldVector<T> v)Compute the dot product.ArrayFieldVector<T>ArrayFieldVector. ebeDivide(ArrayFieldVector<T> v)Element-by-element division.FieldVector<T>ArrayFieldVector. ebeDivide(FieldVector<T> v)Element-by-element division.ArrayRealVectorArrayRealVector. ebeDivide(RealVector v)Element-by-element division.FieldVector<T>FieldVector. ebeDivide(FieldVector<T> v)Element-by-element division.OpenMapRealVectorOpenMapRealVector. ebeDivide(RealVector v)Element-by-element division.abstract RealVectorRealVector. ebeDivide(RealVector v)Element-by-element division.FieldVector<T>SparseFieldVector. ebeDivide(FieldVector<T> v)Element-by-element division.ArrayFieldVector<T>ArrayFieldVector. ebeMultiply(ArrayFieldVector<T> v)Element-by-element multiplication.FieldVector<T>ArrayFieldVector. ebeMultiply(FieldVector<T> v)Element-by-element multiplication.ArrayRealVectorArrayRealVector. ebeMultiply(RealVector v)Element-by-element multiplication.FieldVector<T>FieldVector. ebeMultiply(FieldVector<T> v)Element-by-element multiplication.OpenMapRealVectorOpenMapRealVector. ebeMultiply(RealVector v)Element-by-element multiplication.abstract RealVectorRealVector. ebeMultiply(RealVector v)Element-by-element multiplication.FieldVector<T>SparseFieldVector. ebeMultiply(FieldVector<T> v)Element-by-element multiplication.doubleArrayRealVector. getDistance(RealVector v)Distance between two vectors.doubleOpenMapRealVector. getDistance(OpenMapRealVector v)Optimized method to compute distance.doubleOpenMapRealVector. getDistance(RealVector v)Distance between two vectors.doubleRealVector. getDistance(RealVector v)Distance between two vectors.doubleArrayRealVector. getL1Distance(RealVector v)Distance between two vectors.doubleOpenMapRealVector. getL1Distance(OpenMapRealVector v)Distance between two vectors.doubleOpenMapRealVector. getL1Distance(RealVector v)Distance between two vectors.doubleRealVector. getL1Distance(RealVector v)Distance between two vectors.doubleArrayRealVector. getLInfDistance(RealVector v)Distance between two vectors.doubleOpenMapRealVector. getLInfDistance(RealVector v)Distance between two vectors.doubleRealVector. getLInfDistance(RealVector v)Distance between two vectors.FieldMatrix<T>AbstractFieldMatrix. multiply(FieldMatrix<T> m)Postmultiply this matrix bym.RealMatrixAbstractRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.Array2DRowFieldMatrix<T>Array2DRowFieldMatrix. multiply(Array2DRowFieldMatrix<T> m)Postmultiplying this matrix bym.Array2DRowRealMatrixArray2DRowRealMatrix. multiply(Array2DRowRealMatrix m)Returns the result of postmultiplyingthisbym.BlockFieldMatrix<T>BlockFieldMatrix. multiply(BlockFieldMatrix<T> m)Returns the result of postmultiplyingthisbym.FieldMatrix<T>BlockFieldMatrix. multiply(FieldMatrix<T> m)Postmultiply this matrix bym.BlockRealMatrixBlockRealMatrix. multiply(BlockRealMatrix m)Returns the result of postmultiplying this bym.BlockRealMatrixBlockRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.DiagonalMatrixDiagonalMatrix. multiply(DiagonalMatrix m)Returns the result of postmultiplyingthisbym.RealMatrixDiagonalMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.FieldMatrix<T>FieldMatrix. multiply(FieldMatrix<T> m)Postmultiply this matrix bym.OpenMapRealMatrixOpenMapRealMatrix. multiply(OpenMapRealMatrix m)Postmultiply this matrix bym.RealMatrixOpenMapRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.RealMatrixRealMatrix. multiply(RealMatrix m)Returns the result of postmultiplyingthisbym.FieldVector<T>AbstractFieldMatrix. operate(FieldVector<T> v)Returns the result of multiplying this by the vectorv.T[]AbstractFieldMatrix. operate(T[] v)Returns the result of multiplying this by the vectorv.double[]AbstractRealMatrix. operate(double[] v)Returns the result of multiplying this by the vectorv.RealVectorAbstractRealMatrix. operate(RealVector v)Returns the result of multiplyingthisby the vectorx.T[]Array2DRowFieldMatrix. operate(T[] v)Returns the result of multiplying this by the vectorv.double[]Array2DRowRealMatrix. operate(double[] v)Returns the result of multiplying this by the vectorv.T[]BlockFieldMatrix. operate(T[] v)Returns the result of multiplying this by the vectorv.double[]BlockRealMatrix. operate(double[] v)Returns the result of multiplying this by the vectorv.double[]DiagonalMatrix. operate(double[] v)Returns the result of multiplying this by the vectorv.FieldVector<T>FieldMatrix. operate(FieldVector<T> v)Returns the result of multiplying this by the vectorv.T[]FieldMatrix. operate(T[] v)Returns the result of multiplying this by the vectorv.abstract RealVectorRealLinearOperator. operate(RealVector x)Returns the result of multiplyingthisby the vectorx.double[]RealMatrix. operate(double[] v)Returns the result of multiplying this by the vectorv.RealVectorRealMatrix. operate(RealVector v)Returns the result of multiplying this by the vectorv.RealVectorRealLinearOperator. operateTranspose(RealVector x)Returns the result of multiplying the transpose ofthisoperator by the vectorx(optional operation).FieldMatrix<T>AbstractFieldMatrix. preMultiply(FieldMatrix<T> m)Premultiply this matrix bym.FieldVector<T>AbstractFieldMatrix. preMultiply(FieldVector<T> v)Returns the (row) vector result of premultiplying this by the vectorv.T[]AbstractFieldMatrix. preMultiply(T[] v)Returns the (row) vector result of premultiplying this by the vectorv.double[]AbstractRealMatrix. preMultiply(double[] v)Returns the (row) vector result of premultiplying this by the vectorv.RealMatrixAbstractRealMatrix. preMultiply(RealMatrix m)Returns the result of premultiplyingthisbym.RealVectorAbstractRealMatrix. preMultiply(RealVector v)Returns the (row) vector result of premultiplying this by the vectorv.T[]Array2DRowFieldMatrix. preMultiply(T[] v)Returns the (row) vector result of premultiplying this by the vectorv.double[]Array2DRowRealMatrix. preMultiply(double[] v)Returns the (row) vector result of premultiplying this by the vectorv.T[]BlockFieldMatrix. preMultiply(T[] v)Returns the (row) vector result of premultiplying this by the vectorv.double[]BlockRealMatrix. preMultiply(double[] v)Returns the (row) vector result of premultiplying this by the vectorv.double[]DiagonalMatrix. preMultiply(double[] v)Returns the (row) vector result of premultiplying this by the vectorv.RealVectorDiagonalMatrix. preMultiply(RealVector v)Returns the (row) vector result of premultiplying this by the vectorv.FieldMatrix<T>FieldMatrix. preMultiply(FieldMatrix<T> m)Premultiply this matrix bym.FieldVector<T>FieldMatrix. preMultiply(FieldVector<T> v)Returns the (row) vector result of premultiplying this by the vectorv.T[]FieldMatrix. preMultiply(T[] v)Returns the (row) vector result of premultiplying this by the vectorv.double[]RealMatrix. preMultiply(double[] v)Returns the (row) vector result of premultiplying this by the vectorv.RealMatrixRealMatrix. preMultiply(RealMatrix m)Returns the result of premultiplyingthisbym.RealVectorRealMatrix. preMultiply(RealVector v)Returns the (row) vector result of premultiplying this by the vectorv.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.voidAbstractFieldMatrix. setSubMatrix(T[][] subMatrix, int row, int column)Replace the submatrix starting at(row, column)using data in the inputsubMatrixarray.voidAbstractRealMatrix. setSubMatrix(double[][] subMatrix, int row, int column)Replace the submatrix starting atrow, columnusing data in the inputsubMatrixarray.voidArray2DRowFieldMatrix. setSubMatrix(T[][] subMatrix, int row, int column)Replace the submatrix starting at(row, column)using data in the inputsubMatrixarray.voidArray2DRowRealMatrix. setSubMatrix(double[][] subMatrix, int row, int column)Replace the submatrix starting atrow, columnusing data in the inputsubMatrixarray.voidBlockFieldMatrix. setSubMatrix(T[][] subMatrix, int row, int column)Replace the submatrix starting at(row, column)using data in the inputsubMatrixarray.voidBlockRealMatrix. setSubMatrix(double[][] subMatrix, int row, int column)Replace the submatrix starting atrow, columnusing data in the inputsubMatrixarray.voidFieldMatrix. setSubMatrix(T[][] subMatrix, int row, int column)Replace the submatrix starting at(row, column)using data in the inputsubMatrixarray.voidRealMatrix. setSubMatrix(double[][] subMatrix, int row, int column)Replace the submatrix starting atrow, columnusing data in the inputsubMatrixarray.RealVectorIterativeLinearSolver. solve(RealLinearOperator a, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorIterativeLinearSolver. solve(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealLinearOperator m, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solve(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealLinearOperator m, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealLinearOperator m, RealVector b, boolean goodb, double shift)Returns an estimate of the solution to the linear system (A - shift · I) · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealVector b)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealVector b, boolean goodb, double shift)Returns the solution to the system (A - shift · I) · x = b.RealVectorSymmLQ. solve(RealLinearOperator a, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.RealVectorConjugateGradient. solveInPlace(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.abstract RealVectorIterativeLinearSolver. solveInPlace(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.abstract RealVectorPreconditionedIterativeLinearSolver. solveInPlace(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorPreconditionedIterativeLinearSolver. solveInPlace(RealLinearOperator a, RealVector b, RealVector x0)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solveInPlace(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.RealVectorSymmLQ. solveInPlace(RealLinearOperator a, RealLinearOperator m, RealVector b, RealVector x, boolean goodb, double shift)Returns an estimate of the solution to the linear system (A - shift · I) · x = b.RealVectorSymmLQ. solveInPlace(RealLinearOperator a, RealVector b, RealVector x)Returns an estimate of the solution to the linear system A · x = b.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.ArrayFieldVector<T>ArrayFieldVector. subtract(ArrayFieldVector<T> v)Computethisminusv.FieldVector<T>ArrayFieldVector. subtract(FieldVector<T> v)Computethisminusv.ArrayRealVectorArrayRealVector. subtract(RealVector v)Subtractvfrom this vector.FieldVector<T>FieldVector. subtract(FieldVector<T> v)Computethisminusv.OpenMapRealVectorOpenMapRealVector. subtract(OpenMapRealVector v)Optimized method to subtract OpenMapRealVectors.RealVectorOpenMapRealVector. subtract(RealVector v)Subtractvfrom this vector.RealVectorRealVector. subtract(RealVector v)Subtractvfrom this vector.FieldVector<T>SparseFieldVector. subtract(FieldVector<T> v)Computethisminusv.SparseFieldVector<T>SparseFieldVector. subtract(SparseFieldVector<T> v)Optimized method to computethisminusv.static <T extends FieldElement<T>>
T[][]BlockFieldMatrix. toBlocksLayout(T[][] rawData)Convert a data array from raw layout to blocks layout.static double[][]BlockRealMatrix. toBlocksLayout(double[][] rawData)Convert a data array from raw layout to blocks layout.Constructors in org.apache.commons.math4.linear that throw DimensionMismatchException Constructor Description Array2DRowFieldMatrix(Field<T> field, T[][] d)Create a newFieldMatrix<T>using the input array as the underlying data array.Array2DRowFieldMatrix(Field<T> field, T[][] d, boolean copyArray)Create a newFieldMatrix<T>using the input array as the underlying data array.Array2DRowFieldMatrix(T[][] d)Create a newFieldMatrix<T>using the input array as the underlying data array.Array2DRowFieldMatrix(T[][] d, boolean copyArray)Create a newFieldMatrix<T>using the input array as the underlying data array.Array2DRowRealMatrix(double[][] d)Create a newRealMatrixusing the input array as the underlying data array.Array2DRowRealMatrix(double[][] d, boolean copyArray)Create a new RealMatrix using the input array as the underlying data array.BlockFieldMatrix(int rows, int columns, T[][] blockData, boolean copyArray)Create a new dense matrix copying entries from block layout data.BlockFieldMatrix(T[][] rawData)Create a new dense matrix copying entries from raw layout data.BlockRealMatrix(double[][] rawData)Create a new dense matrix copying entries from raw layout data.BlockRealMatrix(int rows, int columns, double[][] blockData, boolean copyArray)Create a new dense matrix copying entries from block layout data. -
Uses of DimensionMismatchException in org.apache.commons.math4.random
Constructors in org.apache.commons.math4.random that throw DimensionMismatchException Constructor Description HaltonSequenceGenerator(int dimension, int[] bases, int[] weights)Construct a new Halton sequence generator with the given base numbers and weights for each dimension. -
Uses of DimensionMismatchException in org.apache.commons.math4.stat
Methods in org.apache.commons.math4.stat that throw DimensionMismatchException Modifier and Type Method Description static doubleStatUtils. meanDifference(double[] sample1, double[] sample2)Returns the mean of the (signed) differences between corresponding elements of the input arrays -- i.e., sum(sample1[i] - sample2[i]) / sample1.length.static doubleStatUtils. sumDifference(double[] sample1, double[] sample2)Returns the sum of the (signed) differences between corresponding elements of the input arrays -- i.e., sum(sample1[i] - sample2[i]).static doubleStatUtils. varianceDifference(double[] sample1, double[] sample2, double meanDifference)Returns the variance of the (signed) differences between corresponding elements of the input arrays -- i.e., var(sample1[i] - sample2[i]). -
Uses of DimensionMismatchException in org.apache.commons.math4.stat.correlation
Methods in org.apache.commons.math4.stat.correlation that throw DimensionMismatchException Modifier and Type Method Description voidStorelessCovariance. append(StorelessCovariance sc)Appendsscto this, effectively aggregating the computations inscwith this.doubleKendallsCorrelation. correlation(double[] xArray, double[] yArray)Computes the Kendall's Tau rank correlation coefficient between the two arrays.voidStorelessCovariance. increment(double[] data)Increment the covariance matrix with one row of data. -
Uses of DimensionMismatchException in org.apache.commons.math4.stat.descriptive
Methods in org.apache.commons.math4.stat.descriptive that throw DimensionMismatchException Modifier and Type Method Description voidMultivariateSummaryStatistics. addValue(double[] value)Add an n-tuple to the datavoidSynchronizedMultivariateSummaryStatistics. addValue(double[] value)Add an n-tuple to the datavoidMultivariateSummaryStatistics. setGeoMeanImpl(StorelessUnivariateStatistic[] geoMeanImpl)Sets the implementation for the geometric mean.voidSynchronizedMultivariateSummaryStatistics. setGeoMeanImpl(StorelessUnivariateStatistic[] geoMeanImpl)Sets the implementation for the geometric mean.voidMultivariateSummaryStatistics. setMaxImpl(StorelessUnivariateStatistic[] maxImpl)Sets the implementation for the maximum.voidSynchronizedMultivariateSummaryStatistics. setMaxImpl(StorelessUnivariateStatistic[] maxImpl)Sets the implementation for the maximum.voidMultivariateSummaryStatistics. setMeanImpl(StorelessUnivariateStatistic[] meanImpl)Sets the implementation for the mean.voidSynchronizedMultivariateSummaryStatistics. setMeanImpl(StorelessUnivariateStatistic[] meanImpl)Sets the implementation for the mean.voidMultivariateSummaryStatistics. setMinImpl(StorelessUnivariateStatistic[] minImpl)Sets the implementation for the minimum.voidSynchronizedMultivariateSummaryStatistics. setMinImpl(StorelessUnivariateStatistic[] minImpl)Sets the implementation for the minimum.voidMultivariateSummaryStatistics. setSumImpl(StorelessUnivariateStatistic[] sumImpl)Sets the implementation for the Sum.voidSynchronizedMultivariateSummaryStatistics. setSumImpl(StorelessUnivariateStatistic[] sumImpl)Sets the implementation for the Sum.voidMultivariateSummaryStatistics. setSumLogImpl(StorelessUnivariateStatistic[] sumLogImpl)Sets the implementation for the sum of logs.voidSynchronizedMultivariateSummaryStatistics. setSumLogImpl(StorelessUnivariateStatistic[] sumLogImpl)Sets the implementation for the sum of logs.voidMultivariateSummaryStatistics. setSumsqImpl(StorelessUnivariateStatistic[] sumsqImpl)Sets the implementation for the sum of squares.voidSynchronizedMultivariateSummaryStatistics. setSumsqImpl(StorelessUnivariateStatistic[] sumsqImpl)Sets the implementation for the sum of squares. -
Uses of DimensionMismatchException in org.apache.commons.math4.stat.descriptive.moment
Methods in org.apache.commons.math4.stat.descriptive.moment that throw DimensionMismatchException Modifier and Type Method Description voidVectorialCovariance. increment(double[] v)Add a new vector to the sample.voidVectorialMean. increment(double[] v)Add a new vector to the sample. -
Uses of DimensionMismatchException in org.apache.commons.math4.stat.inference
Methods in org.apache.commons.math4.stat.inference that throw DimensionMismatchException Modifier and Type Method Description doubleOneWayAnova. anovaFValue(java.util.Collection<double[]> categoryData)Computes the ANOVA F-value for a collection ofdouble[]arrays.doubleOneWayAnova. anovaPValue(java.util.Collection<double[]> categoryData)Computes the ANOVA P-value for a collection ofdouble[]arrays.doubleOneWayAnova. anovaPValue(java.util.Collection<SummaryStatistics> categoryData, boolean allowOneElementData)Computes the ANOVA P-value for a collection ofSummaryStatistics.booleanOneWayAnova. anovaTest(java.util.Collection<double[]> categoryData, double alpha)Performs an ANOVA test, evaluating the null hypothesis that there is no difference among the means of the data categories.doubleChiSquareTest. chiSquare(double[] expected, long[] observed)doubleChiSquareTest. chiSquare(long[][] counts)Computes the Chi-Square statistic associated with a chi-square test of independence based on the inputcountsarray, viewed as a two-way table.static doubleInferenceTestUtils. chiSquare(double[] expected, long[] observed)static doubleInferenceTestUtils. chiSquare(long[][] counts)doubleChiSquareTest. chiSquareDataSetsComparison(long[] observed1, long[] observed2)Computes a Chi-Square two sample test statistic comparing bin frequency counts inobserved1andobserved2.static doubleInferenceTestUtils. chiSquareDataSetsComparison(long[] observed1, long[] observed2)doubleChiSquareTest. chiSquareTest(double[] expected, long[] observed)Returns the observed significance level, or p-value, associated with a Chi-square goodness of fit test comparing theobservedfrequency counts to those in theexpectedarray.booleanChiSquareTest. chiSquareTest(double[] expected, long[] observed, double alpha)Performs a Chi-square goodness of fit test evaluating the null hypothesis that the observed counts conform to the frequency distribution described by the expected counts, with significance levelalpha.doubleChiSquareTest. chiSquareTest(long[][] counts)Returns the observed significance level, or p-value, associated with a chi-square test of independence based on the inputcountsarray, viewed as a two-way table.booleanChiSquareTest. chiSquareTest(long[][] counts, double alpha)Performs a chi-square test of independence evaluating the null hypothesis that the classifications represented by the counts in the columns of the input 2-way table are independent of the rows, with significance levelalpha.static doubleInferenceTestUtils. chiSquareTest(double[] expected, long[] observed)static booleanInferenceTestUtils. chiSquareTest(double[] expected, long[] observed, double alpha)static doubleInferenceTestUtils. chiSquareTest(long[][] counts)static booleanInferenceTestUtils. chiSquareTest(long[][] counts, double alpha)doubleChiSquareTest. chiSquareTestDataSetsComparison(long[] observed1, long[] observed2)Returns the observed significance level, or p-value, associated with a Chi-Square two sample test comparing bin frequency counts inobserved1andobserved2.booleanChiSquareTest. chiSquareTestDataSetsComparison(long[] observed1, long[] observed2, double alpha)Performs a Chi-Square two sample test comparing two binned data sets.static doubleInferenceTestUtils. chiSquareTestDataSetsComparison(long[] observed1, long[] observed2)static booleanInferenceTestUtils. chiSquareTestDataSetsComparison(long[] observed1, long[] observed2, double alpha)doubleGTest. g(double[] expected, long[] observed)static doubleInferenceTestUtils. g(double[] expected, long[] observed)doubleGTest. gDataSetsComparison(long[] observed1, long[] observed2)Computes a G (Log-Likelihood Ratio) two sample test statistic for independence comparing frequency counts inobserved1andobserved2.static doubleInferenceTestUtils. gDataSetsComparison(long[] observed1, long[] observed2)doubleGTest. gTest(double[] expected, long[] observed)Returns the observed significance level, or p-value, associated with a G-Test for goodness of fit comparing theobservedfrequency counts to those in theexpectedarray.booleanGTest. gTest(double[] expected, long[] observed, double alpha)Performs a G-Test (Log-Likelihood Ratio Test) for goodness of fit evaluating the null hypothesis that the observed counts conform to the frequency distribution described by the expected counts, with significance levelalpha.static doubleInferenceTestUtils. gTest(double[] expected, long[] observed)static booleanInferenceTestUtils. gTest(double[] expected, long[] observed, double alpha)doubleGTest. gTestDataSetsComparison(long[] observed1, long[] observed2)Returns the observed significance level, or p-value, associated with a G-Value (Log-Likelihood Ratio) for two sample test comparing bin frequency counts inobserved1andobserved2.booleanGTest. gTestDataSetsComparison(long[] observed1, long[] observed2, double alpha)Performs a G-Test (Log-Likelihood Ratio Test) comparing two binned data sets.static doubleInferenceTestUtils. gTestDataSetsComparison(long[] observed1, long[] observed2)static booleanInferenceTestUtils. gTestDataSetsComparison(long[] observed1, long[] observed2, double alpha)doubleGTest. gTestIntrinsic(double[] expected, long[] observed)Returns the intrinsic (Hardy-Weinberg proportions) p-Value, as described in p64-69 of McDonald, J.H.static doubleInferenceTestUtils. gTestIntrinsic(double[] expected, long[] observed)static doubleInferenceTestUtils. oneWayAnovaFValue(java.util.Collection<double[]> categoryData)static doubleInferenceTestUtils. oneWayAnovaPValue(java.util.Collection<double[]> categoryData)static booleanInferenceTestUtils. oneWayAnovaTest(java.util.Collection<double[]> categoryData, double alpha)static doubleInferenceTestUtils. pairedT(double[] sample1, double[] sample2)doubleTTest. pairedT(double[] sample1, double[] sample2)Computes a paired, 2-sample t-statistic based on the data in the input arrays.static doubleInferenceTestUtils. pairedTTest(double[] sample1, double[] sample2)static booleanInferenceTestUtils. pairedTTest(double[] sample1, double[] sample2, double alpha)doubleTTest. pairedTTest(double[] sample1, double[] sample2)Returns the observed significance level, or p-value, associated with a paired, two-sample, two-tailed t-test based on the data in the input arrays.booleanTTest. pairedTTest(double[] sample1, double[] sample2, double alpha)Performs a paired t-test evaluating the null hypothesis that the mean of the paired differences betweensample1andsample2is 0 in favor of the two-sided alternative that the mean paired difference is not equal to 0, with significance levelalpha.static doubleInferenceTestUtils. rootLogLikelihoodRatio(long k11, long k12, long k21, long k22)doubleWilcoxonSignedRankTest. wilcoxonSignedRank(double[] x, double[] y)Computes the Wilcoxon signed ranked statistic comparing mean for two related samples or repeated measurements on a single sample.doubleWilcoxonSignedRankTest. wilcoxonSignedRankTest(double[] x, double[] y, boolean exactPValue)Returns the observed significance level, or p-value, associated with a Wilcoxon signed ranked statistic comparing mean for two related samples or repeated measurements on a single sample. -
Uses of DimensionMismatchException in org.apache.commons.math4.util
Methods in org.apache.commons.math4.util that throw DimensionMismatchException Modifier and Type Method Description static voidMathArrays. checkRectangular(long[][] in)Throws DimensionMismatchException if the input array is not rectangular.static doubleMathArrays. distance(double[] p1, double[] p2)Calculates the L2 (Euclidean) distance between two points.static doubleMathArrays. distance(int[] p1, int[] p2)Calculates the L2 (Euclidean) distance between two points.static doubleMathArrays. distance1(double[] p1, double[] p2)Calculates the L1 (sum of abs) distance between two points.static intMathArrays. distance1(int[] p1, int[] p2)Calculates the L1 (sum of abs) distance between two points.static doubleMathArrays. distanceInf(double[] p1, double[] p2)Calculates the L∞ (max of abs) distance between two points.static intMathArrays. distanceInf(int[] p1, int[] p2)Calculates the L∞ (max of abs) distance between two points.static double[]MathArrays. ebeAdd(double[] a, double[] b)Creates an array whose contents will be the element-by-element addition of the arguments.static double[]MathArrays. ebeDivide(double[] a, double[] b)Creates an array whose contents will be the element-by-element division of the first argument by the second.static double[]MathArrays. ebeMultiply(double[] a, double[] b)Creates an array whose contents will be the element-by-element multiplication of the arguments.static double[]MathArrays. ebeSubtract(double[] a, double[] b)Creates an array whose contents will be the element-by-element subtraction of the second argument from the first.intMultidimensionalCounter. getCount(int... c)Convert to unidimensional counter.Decimal64Decimal64. linearCombination(double[] a, Decimal64[] b)Compute a linear combination.Decimal64Decimal64. linearCombination(Decimal64[] a, Decimal64[] b)Compute a linear combination.static voidMathArrays. sortInPlace(double[] x, double[]... yList)Sort an array in ascending order in place and perform the same reordering of entries on other arrays.static voidMathArrays. sortInPlace(double[] x, MathArrays.OrderDirection dir, double[]... yList)Sort an array in place and perform the same reordering of entries on other arrays.
-