cblas_drotg(_:_:_:_:)
Constructs a Givens rotation matrix.
Declaration
func cblas_drotg(_ A: UnsafeMutablePointer<Double>, _ B: UnsafeMutablePointer<Double>, _ C: UnsafeMutablePointer<Double>, _ S: UnsafeMutablePointer<Double>)Parameters
- A:
Double-precision value
a. Overwritten on return with resultr. - B:
Double-precision value
b. Overwritten on return with resultz(zero). - C:
Unused on entry. Overwritten on return with the value
cos(θ). - S:
Unused on entry. Overwritten on return with the value
sin(θ).
Discussion
Given a vertical matrix containing a and b, computes the values of cos θ and sin θ that zero the lower value (b). Returns the value of sin θ in s, the value of cos θ in c, and the upper value (r) in a.
See Also
Double-precision float matrix functions
cblas_dasum(_:_:_:)cblas_daxpy(_:_:_:_:_:_:)cblas_dcopy(_:_:_:_:_:)cblas_dgbmv(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dgemm(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dgemv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dger(_:_:_:_:_:_:_:_:_:_:)cblas_dnrm2(_:_:_:)cblas_drot(_:_:_:_:_:_:_:)cblas_drotm(_:_:_:_:_:_:)cblas_drotmg(_:_:_:_:_:)cblas_dsbmv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_dscal(_:_:_:_:)cblas_dspmv(_:_:_:_:_:_:_:_:_:_:)cblas_dspr(_:_:_:_:_:_:_:)