cblas_zrotg(_:_:_:_:)
Constructs a complex Givens rotation.
Declaration
func cblas_zrotg(_ A: OpaquePointer, _ B: OpaquePointer, _ C: UnsafeMutablePointer<Double>, _ S: OpaquePointer)Parameters
- A:
Complex value
a. Overwritten on return with resultr. - B:
Complex value
a. Overwritten on return with resultz(zero). - C:
Real value
c. Unused on entry. Overwritten on return with the valuecos(θ). - S:
Complex value
s. Unused on entry. Overwritten on return with the valuesin(θ).
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 complex matrix functions
cblas_dzasum(_:_:_:)cblas_dznrm2(_:_:_:)cblas_zaxpy(_:_:_:_:_:_:)cblas_zcopy(_:_:_:_:_:)cblas_zdrot(_:_:_:_:_:_:_:)cblas_zdscal(_:_:_:_:)cblas_zgbmv(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_zgemm(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_zgemv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_zgerc(_:_:_:_:_:_:_:_:_:_:)cblas_zgeru(_:_:_:_:_:_:_:_:_:_:)cblas_zhbmv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_zhemm(_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_zhemv(_:_:_:_:_:_:_:_:_:_:_:)cblas_zher(_:_:_:_:_:_:_:_:)