Package org.ojalgo.array.operation
Everythinng in this package should be considered library-private – it should only be used by other parts of
ojAlgo! Code in this package is often refactored (api-breaking) without even a notice in the changelog.
-
Interface Summary Interface Description ArrayOperation -
Class Summary Class Description AggregateAll AMAX Given a vector x, the i?amax functions return the position of the vector element x[i] that has the largest absolute value for real flavors, or the largest sum |Re(x[i])|+|Im(x[i])| for complex flavors.AMIN Given a vector x, the i?amin functions return the position of the vector element x[i] that has the smallest absolute value for real flavors, or the smallest sum |Re(x[i])|+|Im(x[i])| for complex flavors.ApplyCholesky ApplyLDL ApplyLU ASUM The ?asum routine computes the sum of the magnitudes of elements of a real vector, or the sum of magnitudes of the real and imaginary parts of elements of a complex vector: res = |Re x1| + |Im x1| + |Re x2| + |Im x2|+ ...AXPY The ?axpy routines perform a vector-vector operation defined as y := a*x + y where: a is a scalar x and y are vectors each with a number of elements that equals n.CABS1 The ?cabs1 is an auxiliary routine for a few BLAS Level 1 routines.COPY The ?copy routines perform a vector-vector operation defined as y = x, where x and y are vectors.CorePrimitiveOperation DOT The ?dot routines perform a vector-vector reduction operation defined as Equation where xi and yi are elements of vectors x and y.DOTC The ?dotc routines perform a vector-vector operation defined as: EquationDOTU The ?dotu routines perform a vector-vector reduction operation defined as Equation where xi and yi are elements of complex vectors x and y.Exchange FillAll FillCompatible https://se.mathworks.com/help/matlab/matlab_prog/compatible-array-sizes-for-basic-operations.htmlFillMatchingDual FillMatchingSingle GenerateApplyAndCopyHouseholderColumn GenerateApplyAndCopyHouseholderRow HermitianRank2Update [A] -= ([a][b]c+[b][a]c)
[A] is assumed to be hermitian (square symmetric) [A] = [A]C.HouseholderHermitian Performs Householder transformation from both sides simultaneously assuming that [A] is hermitian (square symmetric) [A] = [A]H.IndexOf ModifyAll MultiplyHermitianAndVector Multiplies an hermitian (square symmetric) matrix with a vector.NRM2 The ?nrm2 routines perform a vector reduction operation defined as res = ||x||, where: x is a vector, res is a value containing the Euclidean norm of the elements of x.NRMINF Infinity norm - largest absolute valueOperationBinary OperationParameter OperationUnary OperationVoid ROT Given two complex vectors x and y, each vector element of these vectors is replaced as follows: xi = c*xi + s*yi yi = c*yi - s*xiRotateLeft RotateRight ROTG Given the Cartesian coordinates (a, b) of a point, these routines return the parameters c, s, r, and z associated with the Givens rotation.ROTM Given two vectors x and y, each vector element of these vectors is replaced as follows: for i=1 to n, where H is a modified Givens transformation matrix whose values are stored in the param[1] through param[4] array.ROTMG Given Cartesian coordinates (x1, y1) of an input vector, these routines compute the components of a modified Givens transformation matrix H that zeros the y-component of the resulting vector:SCAL The ?scal routines perform a vector operation defined as x = a*x where: a is a scalar, x is an n-element vector.SDOT The ?sdot routines compute the inner product of two vectors with double precision.SortAll SubstituteBackwards SubstituteForwards SWAP Given two vectors x and y, the ?swap routines return vectors y and x swapped, each replacing the other.VisitAll