c man page on YellowDog

Printed from http://www.polarhome.com/service/man/?qf=c&af=0&tf=2&of=YellowDog


subroutine zrotg(ca,cb,c,s)
    double complex ca,cb,s
    double precision c
    double precision norm,scale
    double complex alpha
    if (cdabs(ca) .ne. 0.0d0) go to 10
    c = 0.0d0
    s = (1.0d0,0.0d0)
    ca = cb
    go to 20
    10 continue
    scale = cdabs(ca) + cdabs(cb)
    norm = scale*dsqrt((cdabs(ca/dcmplx(scale,0.0d0)))**2 +
    * (cdabs(cb/dcmplx(scale,0.0d0)))**2)
    alpha = ca /cdabs(ca)
    c = cdabs(ca) / norm
    s = alpha * dconjg(cb) / norm
    ca = alpha * norm
    20 continue
    return
    end

[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net