import { range , stride , std , variance , argmax , argmin , max , min , mean , div , mul , sub , add , sqrt , square , abs , diff , cumsum , clip , } from 'scientific' ; const arr = new Float32Array ( [ 1 , 2 , 3 , 4 , 5 ] ) ; const range1 = range ( 3 ) ; const range2 = range ( 1 , 3 ) ; const range3 = range ( 1 , 10 , 2 ) ; const stride1 = stride ( arr , 3 ) ; const std1 = std ( arr ) ; const variance1 = variance ( arr ) ; const argmax1 = argmax ( arr ) ; const argmin1 = argmin ( arr ) ; const max1 = max ( arr ) ; const min1 = min ( arr ) ; const mean1 = mean ( arr ) ; const div1 = div ( arr , arr ) ; const div2 = div ( arr , 3 ) ; const div3 = div ( 3 , arr ) ; const mul1 = mul ( arr , arr ) ; const mul2 = mul ( arr , 3 ) ; const mul3 = mul ( 3 , arr ) ; const sub1 = sub ( arr , arr ) ; const sub2 = sub ( arr , 3 ) ; const sub3 = sub ( 3 , arr ) ; const add1 = add ( arr , arr ) ; const add2 = add ( arr , 3 ) ; const add3 = add ( 3 , arr ) ; const sqrt1 = sqrt ( arr ) ; const square1 = square ( arr ) ; const abs1 = abs ( arr ) ; const diff1 = diff ( arr ) ; const cumsum1 = cumsum ( arr ) ; const clip1 = clip ( arr , 1 , 2 ) ; const clip2 = clip ( arr , 1 , undefined ) ; const clip3 = clip ( arr , undefined , 2 ) ;