public interface ladiv_s
LADIV_S performs complex division in real arithmetic
a + ib
p + iq = ---------
c + i*d
The algorithm is due to Michael Baudin and Robert L. Smith
and can be found in the paper
"A Robust Complex Division in Scilab"
Subroutines
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=dp),
|
intent(in) |
|
|
:: |
a |
|
|
real(kind=dp),
|
intent(in) |
|
|
:: |
b |
|
|
real(kind=dp),
|
intent(in) |
|
|
:: |
c |
|
|
real(kind=dp),
|
intent(in) |
|
|
:: |
d |
|
|
real(kind=dp),
|
intent(out) |
|
|
:: |
p |
|
|
real(kind=dp),
|
intent(out) |
|
|
:: |
q |
|
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
real(kind=sp),
|
intent(in) |
|
|
:: |
a |
|
|
real(kind=sp),
|
intent(in) |
|
|
:: |
b |
|
|
real(kind=sp),
|
intent(in) |
|
|
:: |
c |
|
|
real(kind=sp),
|
intent(in) |
|
|
:: |
d |
|
|
real(kind=sp),
|
intent(out) |
|
|
:: |
p |
|
|
real(kind=sp),
|
intent(out) |
|
|
:: |
q |
|
Module Procedures