subf32/f64array_fill


subf32array_fill(a, start, end, f)
subf64array_fill(a, start, end, f)          
      

Set the elements of the f32/f64array a, beginning with index start (inclusive) and ending with index end (exclusive) to the floating-point number f.

Return void.

Examples:


let a = #f64[1., 2., 3., 4., 5.]
subf64array_fill(a, 2, 4, 100.32)
a
// #[1., 2., 100.32, 100.32, 5.]
      

Also see:

array_fill
subu8array_fill
subf32/f64array_move
f32/f64subarray


Core Module Index | Contents