Function
cblas_srotm(_:_:_:_:_:_:)
Applies a modified Givens transformation (single precision).
SDKs
- iOS 4.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Parameters
N
Number of elements in vectors.
X
Vector X
. Modified on return.
incX
Stride within X
. For example, if incX
is 7, every 7th element is used.
Y
Vector Y
. Modified on return.
incY
Stride within Y
. For example, if incY
is 7, every 7th element is used.
P
A 5-element vector:
P[0]
Flag value that defines the form of matrix H
.
-2.0
: matrix H
contains the identity matrix.
-1.0
: matrix H
is identical to matrix SH
(defined by the remaining values in the vector).
0.0
: H[1,2]
and H[2,1]
are obtained from matrix SH
. The remaining values are both 1.0
.
1.0
: H[1,1]
and H[2,2]
are obtained from matrix SH
. H[1,2]
is 1.0. H[2,1]
is -1.0.
P[1]
Contains SH[1,1]
.
P[2]
Contains SH[2,1]
.
P[3]
Contains SH[1,2]
.
P[4]
Contains SH[2,2]
.
See Also
Single-Precision Float Matrix Functions
func cblas_sgbmv(CBLAS_ORDER, CBLAS_TRANSPOSE, Int32, Int32, Int32, Int32, Float, UnsafePointer<Float>!, Int32, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)
Scales a general band matrix, then multiplies by a vector, then adds a vector (single precision).
func cblas_sgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, Int32, Int32, Int32, Float, UnsafePointer<Float>!, Int32, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)
Multiplies two matrices (single-precision).
func cblas_sgemv(CBLAS_ORDER, CBLAS_TRANSPOSE, Int32, Int32, Float, UnsafePointer<Float>!, Int32, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)
Multiplies a matrix by a vector (single precision).
func cblas_sger(CBLAS_ORDER, Int32, Int32, Float, UnsafePointer<Float>!, Int32, UnsafePointer<Float>!, Int32, UnsafeMutablePointer<Float>!, Int32)
Multiplies vector X by the transpose of vector Y, then adds matrix A (single precison).
func cblas_ssbmv(CBLAS_ORDER, CBLAS_UPLO, Int32, Int32, Float, UnsafePointer<Float>!, Int32, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)
Scales a symmetric band matrix, then multiplies by a vector, then adds a vector (single-precision).
func cblas_sspmv(CBLAS_ORDER, CBLAS_UPLO, Int32, Float, UnsafePointer<Float>!, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)
Scales a packed symmetric matrix, then multiplies by a vector, then scales and adds another vector (single precision).
func cblas_ssymm(CBLAS_ORDER, CBLAS_SIDE, CBLAS_UPLO, Int32, Int32, Float, UnsafePointer<Float>!, Int32, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)
Multiplies a matrix by a symmetric matrix (single-precision).
func cblas_ssymv(CBLAS_ORDER, CBLAS_UPLO, Int32, Float, UnsafePointer<Float>!, Int32, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)
Scales a symmetric matrix, multiplies by a vector, then scales and adds another vector (single precision).
func cblas_ssyr2k(CBLAS_ORDER, CBLAS_UPLO, CBLAS_TRANSPOSE, Int32, Int32, Float, UnsafePointer<Float>!, Int32, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)
Performs a rank-2k update of a symmetric matrix (single precision).
func cblas_ssyrk(CBLAS_ORDER, CBLAS_UPLO, CBLAS_TRANSPOSE, Int32, Int32, Float, UnsafePointer<Float>!, Int32, Float, UnsafeMutablePointer<Float>!, Int32)
Rank-k update—multiplies a symmetric matrix by its transpose and adds a second matrix (single precision).
func cblas_stbmv(CBLAS_ORDER, CBLAS_UPLO, CBLAS_TRANSPOSE, CBLAS_DIAG, Int32, Int32, UnsafePointer<Float>!, Int32, UnsafeMutablePointer<Float>!, Int32)
Scales a triangular band matrix, then multiplies by a vector (single precision).
func cblas_strmm(CBLAS_ORDER, CBLAS_SIDE, CBLAS_UPLO, CBLAS_TRANSPOSE, CBLAS_DIAG, Int32, Int32, Float, UnsafePointer<Float>!, Int32, UnsafeMutablePointer<Float>!, Int32)
Scales a triangular matrix and multiplies it by a matrix.
func cblas_strsm(CBLAS_ORDER, CBLAS_SIDE, CBLAS_UPLO, CBLAS_TRANSPOSE, CBLAS_DIAG, Int32, Int32, Float, UnsafePointer<Float>!, Int32, UnsafeMutablePointer<Float>!, Int32)
Solves a triangular system of equations with multiple values for the right side.