Skip navigation links

# Package org.ojalgo.array.blas

• Interface Summary
Interface Description
BLAS1
Basic Linear Algebra Subprograms (BLAS) Level 1 contains vector operations.
BLAS1.GenericToInt<T>
BLAS1.PrimitiveToDouble
BLAS1.PrimitiveToInt
BLAS2
Basic Linear Algebra Subprograms (BLAS) Level 2 contains matrix-vector operations.
BLAS3
Basic Linear Algebra Subprograms (BLAS) Level 3 contains matrix-matrix operations.
• Class Summary
Class Description
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.
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.
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: Equation
DOTU
The ?dotu routines perform a vector-vector reduction operation defined as Equation where xi and yi are elements of complex vectors x and y.
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.
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*xi
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 through param 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.
SWAP
Given two vectors x and y, the ?swap routines return vectors y and x swapped, each replacing the other.
Skip navigation links

Copyright © 2019 Optimatika. All rights reserved.