Skip to main content

randarray_lazy

Function randarray_lazy 

Source
pub fn randarray_lazy(args: &[Expr], ctx: &mut EvalCtx<'_>) -> Value
Expand description

RANDARRAY([rows], [cols], [min], [max], [integer])

Returns an array of random numbers. With no args: returns a single random number (equivalent to RAND()). With rows/cols: returns a nested 2D array (rows × cols). Uses a per-cell PRF key when available; falls back to SystemTime.