Uses of Class
com.irurueta.algebra.WrongSizeException
Packages that use WrongSizeException
Package
Description
This package contains classes related to algebra, such as Matrix class
to contains matrices data and simple operations or Complex to handle
computations with Complex numbers.
-
Uses of WrongSizeException in com.irurueta.algebra
Methods in com.irurueta.algebra that throw WrongSizeExceptionModifier and TypeMethodDescriptionvoidAdds provided matrix to this instance.voidAdds another matrix to this matrix instance and stores the result in provided result matrix.Matrix.addAndReturnNew(Matrix other) Adds provided matrix to this instance and returns the result as a new matrix instance.static MatrixMatrix.createWithGaussianRandomValues(int rows, int columns, double mean, double standardDeviation) Creates new matrix instance using provided size and containing gaussian/normal distributed random values with provided median and standard deviation.static MatrixMatrix.createWithGaussianRandomValues(int rows, int columns, double mean, double standardDeviation, Random random) Creates new matrix instance using provided size and containing gaussian/normal distributed random values with provided median and standard deviation and using provided random generatorstatic MatrixMatrix.createWithUniformRandomValues(int rows, int columns, double minValue, double maxValue) Creates new matrix instance using provided size and containing uniformly distributed random values with provided range.static MatrixMatrix.createWithUniformRandomValues(int rows, int columns, double minValue, double maxValue, Random random) Creates new matrix instance using provided size and containing uniformly distributed random values with provided range and using provided random generatorstatic double[]Utils.crossProduct(double[] v1, double[] v2) Computes the cross product of two vectors of length 3 The cross product of two vectors a and b is denoted as 'axb' or 'a^b', resulting in a perpendicular vector to both a and b vectors.static voidUtils.crossProduct(double[] v1, double[] v2, double[] result) Computes the cross product of two vectors of length 3 The cross product of two vectors a and b is denoted as 'axb' or 'a^b', resulting in a perpendicular vector to both a and b vectors.static voidUtils.crossProduct(double[] v1, double[] v2, double[] result, Matrix jacobian1, Matrix jacobian2) Computes the cross product of two vectors of length 3 The cross product of two vectors a and b is denoted as 'axb' or 'a^b', resulting in a perpendicular vector to both a and b vectors.static double[]Utils.crossProduct(double[] v1, double[] v2, Matrix jacobian1, Matrix jacobian2) Computes the cross product of two vectors of length 3 The cross product of two vectors a and b is denoted as 'axb' or 'a^b', resulting in a perpendicular vector to both a and b vectors.static MatrixUtils.crossProduct(double[] v, Matrix m) Computes the cross product of one vector of length 3 and N vectors of length 3.static voidUtils.crossProduct(double[] v, Matrix m, Matrix result) Computes the cross product of one vector of length 3 and N vectors of length 3.static doubleComputes determinant of provided matrix.doubleLUDecomposer.determinant()Returns determinant of provided input matrix using LU decomposition as means to obtain it.static doubleUtils.dotProduct(Matrix firstOperand, Matrix secondOperand) Computes the dot product of provided matrices, as the sum of the product of the elements on both matrices, assuming that both represent column vectors.static doubleUtils.dotProduct(Matrix firstOperand, Matrix secondOperand, Matrix jacobianFirst, Matrix jacobianSecond) Computes the dot product of provided matrices, as the sum of the product of the elements on both matrices, assuming that both represent column vectors.voidMatrix.elementByElementProduct(Matrix other) Computes element by element product (i.e.voidMatrix.elementByElementProduct(Matrix other, Matrix result) Computes element by element product (i.e.Matrix.elementByElementProductAndReturnNew(Matrix other) Computes element by element product (i.e.voidMatrix.fromArray(double[] array) Copies elements of array into this instance using column order.voidMatrix.fromArray(double[] array, boolean isColumnOrder) Copies elements of array into this instance using provided order.doubleComputes norm of provided array and stores the jacobian into provided instance.EconomyQRDecomposer.getQ()Return the economy-sized orthogonal factor matrix.voidComputes the economy-sized orthogonal factor matrix and stores it into provided matrix.voidMatrix.getSubmatrixAsArray(int topLeftRow, int topLeftColumn, int bottomRightRow, int bottomRightColumn, boolean isColumnOrder, double[] array) Retrieves a sub-matrix of current matrix instance as an array of values using provided column order and storing the result in provided array.voidMatrix.getSubmatrixAsArray(int topLeftRow, int topLeftColumn, int bottomRightRow, int bottomRightColumn, double[] array) Retrieves a sub-matrix of current matrix instance as an array of values using column order and storing the result in provided array.voidCopies diagonal matrix into provided instance containing all singular values on its diagonal after Singular Value matrix decomposition, which consists on decomposing a matrix using the following expression: A = U * S * V'.static MatrixMatrix.identity(int rows, int columns) Creates and returns a new matrix instance having all the elements on the diagonal equal to one and the remaining ones equal to zero.private voidMatrix.internalResize(int rows, int columns) Method used internally to remove matrix contents and resizing it.private static voidUtils.internalSkewMatrix(Matrix m, Matrix result, boolean columnwise) Internal method to compute skew matrixstatic voidComputes inverse of matrix "a".static MatrixUtils.inverse(double[] array) Computes array pseudo-inverse considering it as a column matrix.static voidComputes array pseudo-inverse considering it as a column matrix and stores the result in provided result matrix.static MatrixComputes matrix inverse if provided matrix is squared, or pseudo-inverse otherwise.static voidComputes matrix inverse if provided matrix is squared, or pseudo-inverse otherwise and stores the result in provided result matrix.booleanEconomyQRDecomposer.isFullRank()Returns boolean indicating whether provided input matrix has full rank or not.booleanEconomyQRDecomposer.isFullRank(double roundingError) Returns boolean indicating whether provided input matrix has full rank or not.booleanLUDecomposer.isSingular()Return boolean indicating whether provided input matrix is singular or not after computing LU decomposition.booleanLUDecomposer.isSingular(double roundingError) Return boolean indicating whether provided input matrix is singular or not after computing LU decomposition.voidMultiplies this matrix with provided matrix.voidMultiplies another matrix to this matrix instance and stores the result in provided result matrix.Matrix.multiplyAndReturnNew(Matrix other) Multiplies this matrix with provided matrix and returns the result as a new instance.static doubleComputes norm of provided array and stores the jacobian into provided instance.static doubleComputes norm of provided array and stores the jacobian into provided instance.static doubleComputes norm of provided array and stores the jacobian into provided instance.static voidComputes Gauss-Jordan elimination by attempting to solve linear system of equations a * x = b.static voidComputes Gauss-Jordan elimination by attempting to solve linear system of equations a * x = b.voidMatrix.reset(int rows, int columns, double initValue) Resets current instance by removing its contents, resizing it to provided size and setting all its elements to provided value.voidMatrix.resize(int rows, int columns) Resizes current instance by removing its contents and resizing it to provided size.static MatrixUtils.skewMatrix(double[] array) Computes the skew-symmetric matrix of provided vector of length 3.static voidUtils.skewMatrix(double[] array, Matrix result) Computes the skew-symmetric matrix of provided vector of length 3 and stores the result in provided matrix.static voidUtils.skewMatrix(double[] array, Matrix result, Matrix jacobian) Computes the skew-symmetric matrix of provided vector of length 3 and stores the result in provided matrix.static MatrixUtils.skewMatrix(Matrix m) Computes the skew-symmetric matrix of provided matrix of size 3x1 or 13.static voidUtils.skewMatrix(Matrix m, Matrix result) Computes the skew-symmetric matrix of provided matrix of size 3x1 or 13.static voidUtils.skewMatrix(Matrix m, Matrix result, Matrix jacobian) Computes the skew-symmetric matrix of provided matrix of size 3x1 or 13.Solves a linear system of equations of the following form: A * X = B.voidSolves a linear system of equations of the following form: A * X = B.Solves a linear system of equations of the following form: A * X = B, where A is the input matrix provided for QR decomposition, X is the solution to the system of equations, and B is the parameters vector/matrix.Solves a linear system of equations of the following form: A * X = B, where A is the input matrix provided for QR decomposition, X is the solution to the system of equations, and B is the parameters vector/matrix.voidSolves a linear system of equations of the following form: A * X = B, where A is the input matrix provided for QR decomposition, X is the solution to the system of equations, and B is the parameters vector/matrix.voidSolves a linear system of equations of the following form: A * X = B, where A is the input matrix provided for QR decomposition, X is the solution to the system of equations, and B is the parameters vector/matrix.Solves a linear system of equations of the following form: A * X = B.Solves a linear system of equations of the following form: A * X = B.voidSolves a linear system of equations of the following form: A * X = B.voidSolves a linear system of equations of the following form: A * X = B.Solves a linear system of equations of the following form: A * X = B.Solves a linear system of equations of the following form: A * X = B.voidSolves a linear system of equations of the following form: A * X = B.voidSolves a linear system of equations of the following form: A * X = B.double[]SingularValueDecomposer.solve(double[] b) Solves a linear system of equations of the following form: A * X = B using the pseudo-inverse to find the least squares solution.double[]SingularValueDecomposer.solve(double[] b, double singularValueThreshold) Solves a linear system of equations of the following form: A * X = B using the pseudo-inverse to find the least squares solution.voidSingularValueDecomposer.solve(double[] b, double[] result) Solves a linear system of equations of the following form: A * X = B using the pseudo-inverse to find the least squares solution.voidSingularValueDecomposer.solve(double[] b, double singularValueThreshold, double[] result) Solves a linear system of equations of the following form: A * X = B using the pseudo-inverse to find the least squares solution.Solves a linear system of equations of the following form: A * X = B using the pseudo-inverse to find the least squares solution.Solves a linear system of equations of the following form: A * X = B using the pseudo-inverse to find the least squares solution.voidSolves a linear system of equations of the following form: A * X = B using the pseudo-inverse to find the least squares solution.voidSolves a linear system of equations of the following form: A * X = B using the pseudo-inverse to find the least squares solution.static MatrixSolves a linear system of equations of the form: m * x = b.static voidSolves a linear system of equations of the form: m * x = b.voidSubtracts provided matrix from this instance.voidSubtracts another matrix from this matrix instance and stores the result in provided result matrix.Matrix.subtractAndReturnNew(Matrix other) Subtracts provided matrix from this instance and returns the result as a new matrix instance.voidMatrix.symmetrize()Symmetrizes this instance and updates it with computed value.voidMatrix.symmetrize(Matrix result) Symmetrizes this instance and stores the result into provided instance.Matrix.symmetrizeAndReturnNew()Symmetrizes this instance and returns the result as a new matrix instance.voidMatrix.toArray(double[] result) Copies the contents of the matrix to an array of values using column order.voidMatrix.toArray(double[] result, boolean isColumnOrder) Copies the contents of the matrix to an array of values using provided order to pick elements.Constructors in com.irurueta.algebra that throw WrongSizeException -
Uses of WrongSizeException in com.irurueta.statistics
Methods in com.irurueta.statistics that throw WrongSizeExceptionModifier and TypeMethodDescriptionstatic MultivariateNormalDistMultivariateNormalDist.propagate(MultivariateNormalDist.JacobianEvaluator evaluator, double[] mean, Matrix covariance) Evaluates the Jacobian and a multivariate function at a certain mean point and computes the non-linear propagation of Gaussian uncertainty through such function at such point.static voidMultivariateNormalDist.propagate(MultivariateNormalDist.JacobianEvaluator evaluator, double[] mean, Matrix covariance, MultivariateNormalDist result) Evaluates the Jacobian and a multivariate function at a certain mean point and computes the non-linear propagation of Gaussian uncertainty through such function at such point.static MultivariateNormalDistMultivariateNormalDist.propagate(MultivariateNormalDist.JacobianEvaluator evaluator, MultivariateNormalDist dist) Evaluates the Jacobian and a multivariate function at a certain mean point and computes the non-linear propagation of Gaussian uncertainty through such function at such point.static voidMultivariateNormalDist.propagate(MultivariateNormalDist.JacobianEvaluator evaluator, MultivariateNormalDist dist, MultivariateNormalDist result) Evaluates the Jacobian and a multivariate function at a certain mean point and computes the non-linear propagation of Gaussian uncertainty through such function at such point.MultivariateNormalDist.propagateThisDistribution(MultivariateNormalDist.JacobianEvaluator evaluator) Evaluates the Jacobian and a multivariate function at the mean point of this distribution and computes the non-linear propagation of Gaussian uncertainty through such function at such point.voidMultivariateNormalDist.propagateThisDistribution(MultivariateNormalDist.JacobianEvaluator evaluator, MultivariateNormalDist result) Evaluates the Jacobian and a multivariate function at the mean point of this distribution and computes the non-linear propagation of Gaussian uncertainty through such function at such point.final voidMultivariateGaussianRandomizer.setMeanAndCovariance(double[] mean, Matrix covariance) Sets mean and covariance to generate multivariate Gaussian random values.Constructors in com.irurueta.statistics that throw WrongSizeExceptionModifierConstructorDescriptionMultivariateGaussianRandomizer(double[] mean, Matrix covariance) Constructor.MultivariateGaussianRandomizer(Random internalRandom, double[] mean, Matrix covariance) Constructor.