TESTING/MATGEN/clarnd.f(3)
NAME π
TESTING/MATGEN/clarnd.f β this is the Library Functions Manual page for the one and only clarnd, bestie. Itβs giving βsmall routine, big main character energyβ π
β¨
SYNOPSIS β¨
Functions/Subroutines π
complex function clarnd (idist, iseed)β CLARND
Function/Subroutine Documentation π
Hereβs the signature, exactly as it appears, no cap:
complex function clarnd (integer idist, integer, dimension( 4 ) iseed)
CLARND
Purpose β¨
CLARND returns a random complex number from a uniform or normal distribution.
Parameters πΈ
IDISTβIDISTisINTEGER. It specifies the distribution of the random numbers, and the options are very much giving a menu:= 1: real and imaginary parts each uniform(0,1)= 2: real and imaginary parts each uniform(-1,1)= 3: real and imaginary parts each normal(0,1)= 4: uniformly distributed on the discabs(z) <= 1= 5: uniformly distributed on the circleabs(z) = 1
ISEEDβISEEDisINTEGERarray, dimension(4). On entry, itβs the seed of the random number generator; the array elements must be between0and4095, andISEED(4)must be odd. On exit, the seed is updated. Periodt.
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details π₯
This routine calls the auxiliary routine SLARAN to generate a random real number from a uniform (0,1) distribution. The Box-Muller method is used to transform numbers from a uniform to a normal distribution.
Definition at line 74 of file clarnd.f.
Author π
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the whole page, bestie π«Ά This little icon was brought to you by LAPACK, Version 3.12.0, on the TESTING/MATGEN/clarnd.f(3) page. Slay, bye πβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms