Approximation
Next
Previous
Main
d0=: ^.@] ^@(] +/ .* %.) 1:,.[
Exponential fit of x and y
d1=: ] (] +/ .* %.) 1: ,. [
Linear least squares fit of x and y
d2=: (^@{. , {:)@(^.@]%. 1&,.@[)
a and b such that y is approx. a
x
d3=: (%. 1&,.)~
a and b such that y is approx. ax + b
Next
Previous
Main