Method: Statsample::Regression::Simple.new_from_gsl

Defined in:
lib/statsample/regression/simple.rb

.new_from_gsl(ar) ⇒ Object

Create a regression object giving an array with following parameters: a,b,cov00, cov01, covx1, chisq, status Useful to obtain x and y values with a and b values.

[View source] [View on GitHub]

62
63
64
# File 'lib/statsample/regression/simple.rb', line 62

def new_from_gsl(ar)
  new(:init_gsl, *ar)
end