module Dumpster::NumTools

Extended Modules

Defined in:

dumpster/num_tools.cr

Instance Method Summary

Instance Method Detail

def correlate(series : Indexable(Enumerable(Number))) #

Given a list of series, provide a correlation matrix for each pair within.


[View source]
def linreg(points : Enumerable(Tuple(Number, Number))) #

Perform a univariate linear regression for a set of points.


[View source]