Generic interface for generating random complex numbers.
More...
|
subroutine | random_scomplex (z) |
| Generate a random single precision complex number within the unit circle.
|
|
subroutine | random_dcomplex (z) |
| Generate a random double precision complex number within the unit circle.
|
|
subroutine | random_scomplex_rank1 (z) |
| Generate random single-precision complex numbers for a rank-1 array.
|
|
subroutine | random_dcomplex_rank1 (z) |
| Generate random double-precision complex numbers for a rank-1 array.
|
|
subroutine | random_scomplex_rank2 (z) |
| Generate random single-precision complex numbers for a rank-2 array.
|
|
subroutine | random_dcomplex_rank2 (z) |
| Generate random double-precision complex numbers for a rank-2 array.
|
|
Generic interface for generating random complex numbers.
The random_complex
interface generates random complex numbers (single or double precision) within the unit circle. Supports scalars and arrays up to rank-2.
- Parameters
-
[out] | z | The random complex number(s), which can be:
- A single complex number.
- A rank-1 array of complex numbers.
- A rank-2 array of complex numbers.
|
◆ random_scomplex()
subroutine module_random::random_complex::random_scomplex |
( |
complex(4), intent(out) | z | ) |
|
Generate a random single precision complex number within the unit circle.
- Parameters
-
[out] | z | Single precision complex number output. |
◆ random_dcomplex()
subroutine module_random::random_complex::random_dcomplex |
( |
complex(8), intent(out) | z | ) |
|
Generate a random double precision complex number within the unit circle.
- Parameters
-
[out] | z | Double precision complex number output. |
◆ random_scomplex_rank1()
subroutine module_random::random_complex::random_scomplex_rank1 |
( |
complex(4), dimension(:), intent(out) | z | ) |
|
Generate random single-precision complex numbers for a rank-1 array.
- Parameters
-
[out] | z | Rank-1 array of single precision complex numbers. |
◆ random_dcomplex_rank1()
subroutine module_random::random_complex::random_dcomplex_rank1 |
( |
complex(8), dimension(:), intent(out) | z | ) |
|
Generate random double-precision complex numbers for a rank-1 array.
- Parameters
-
[out] | z | Rank-1 array of double precision complex numbers. |
◆ random_scomplex_rank2()
subroutine module_random::random_complex::random_scomplex_rank2 |
( |
complex(4), dimension(:,:), intent(out) | z | ) |
|
Generate random single-precision complex numbers for a rank-2 array.
- Parameters
-
[out] | z | Rank-2 array of single precision complex numbers. |
◆ random_dcomplex_rank2()
subroutine module_random::random_complex::random_dcomplex_rank2 |
( |
complex(kind=8), dimension(:,:), intent(out) | z | ) |
|
Generate random double-precision complex numbers for a rank-2 array.
- Parameters
-
[out] | z | Rank-2 array of double precision complex numbers. |
The documentation for this interface was generated from the following file: