Commit Graph

10 Commits

Author SHA1 Message Date
leo
5927e4d86d
p2: add alternative way to get matrix product 2023-02-27 04:10:44 +01:00
leo
e6fcc5dfbc
p2: add correlation func 2023-02-27 04:08:01 +01:00
leo
8c99960c35
p2: make autocorrelation always positive 2023-02-27 01:36:36 +01:00
leo
c3070cd2c0
p2: add a way to estimate impulse function 2023-02-26 20:43:55 +01:00
leo
67a9d55311
p2: return nil slice on err 2023-02-26 18:01:31 +01:00
leo
129f33c9a6
p2: calculate/save covariance 2023-02-26 17:39:39 +01:00
leo
b81c38dae4
add MutCorrelate func, get mutual correlation 2023-02-25 14:08:38 +01:00
leo
37f15b9fa6
fix autocorrelation: convert divisor to float64
both for Autocorrelate and AutocorrelateMP, even though for the latter
the change only covers converting the divisor expression as a whole,
instead of individual elements separately.
2023-02-25 13:40:16 +01:00
leo
cc8ede3772
stats: correct slices init 2023-02-25 13:20:57 +01:00
leo
01cdd03dac
p2: implement file reading+basic data operations
also, update .pre-commit-config.yaml to:
* first change to ./p2, then run the tests (pre-commit deliberately does
  not allow this by design [1])
* for the above, the https://github.com/dnephin/pre-commit-golang repo
  had to be dropped as it does not allow any customisation either.

also, add some flake updates (would be better split into another commit,
I know):
* use baseurl var
* add statix to shell packages
* fix building p1

refs:
[1]: https://github.com/pre-commit/pre-commit/issues/1110
2023-02-24 23:50:13 +01:00