TESTING/MATGEN/zlarnd.f(3)
TESTING/MATGEN/zlarnd.f(3) π
okay bestie, welcome to the Library Functions Manual page for TESTING/MATGEN/zlarnd.f β yes, the title is right there, and we are gonna get through it together. This one is short and iconic: itβs all about zlarnd, a function that pulls random complex numbers. no cap. π
β¨ NAME β¨
The name of this page is TESTING/MATGEN/zlarnd.f. slay. π¦
β¨ SYNOPSIS β¨
Functions/Subroutines
complex *16 function zlarnd (idist, iseed)β the one and only, bestie; itβs labeledZLARNDin the docs. π
π Function/Subroutine Documentation
π complex*16 function zlarnd (integer idist, integer, dimension( 4 ) iseed)
ZLARND
π Purpose:
ZLARND returns a random complex number from a uniform or normal distribution. Thatβs it, thatβs the purpose, and it ate. πβ¨
π Parameters
IDISTβIDIST is INTEGER. It specifies the distribution of the random numbers, and the options are:= 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βISEED is INTEGER array, 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 DLARAN 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. iykyk π
Definition at line 74 of file zlarnd.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, thatβs the whole TESTING/MATGEN/zlarnd.f(3) page π source/version check: LAPACK, Version 3.12.0; footer file: TESTING/MATGEN/zlarnd.f(3); date: not listed in the original footer. go forth and randomize responsibly π«Άβ¨
π¦ 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