Contents

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 result r.

  • B:

    Complex value a. Overwritten on return with result z (zero).

  • C:

    Real value c. Unused on entry. Overwritten on return with the value cos(θ).

  • S:

    Complex value 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 complex matrix functions