cblas_crotg(_:_:_:_:)
Constructs a complex Givens rotation.
Declaration
func cblas_crotg(_ A: OpaquePointer, _ B: OpaquePointer, _ C: UnsafeMutablePointer<Float>, _ S: OpaquePointer)Parameters
- A:
Complex value
a. Overwritten on output. - B:
Complex value
a. - 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
Single-precision complex matrix functions
cblas_caxpy(_:_:_:_:_:_:)cblas_ccopy(_:_:_:_:_:)cblas_cgbmv(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cgemm(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cgemv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cgerc(_:_:_:_:_:_:_:_:_:_:)cblas_cgeru(_:_:_:_:_:_:_:_:_:_:)cblas_chbmv(_:_:_:_:_:_:_:_:_:_:_:_:)cblas_chemm(_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_chemv(_:_:_:_:_:_:_:_:_:_:_:)cblas_cher(_:_:_:_:_:_:_:_:)cblas_cher2(_:_:_:_:_:_:_:_:_:_:)cblas_cher2k(_:_:_:_:_:_:_:_:_:_:_:_:_:)cblas_cherk(_:_:_:_:_:_:_:_:_:_:_:)cblas_chpmv(_:_:_:_:_:_:_:_:_:_:)