Commit graph

58 commits

Author SHA1 Message Date
Dzuchun
3d253ff023 FitModelErrors fix for Polynomial v0.1 2024-11-22 00:35:50 +02:00
Dzuchun
a090595138 Tagged generic_array_storage 2024-11-21 23:56:45 +02:00
Dzuchun
88f733162c Ignored some tests for Miri
- model jacobian test, because of stacked borrows issue inside ViewStorage (help wanted!?)
- stddev test, as it took too long
2024-11-21 23:39:38 +02:00
Dzuchun
1d2f0b8b9f [minor] double colon in front of core 2024-11-21 23:35:34 +02:00
Dzuchun
815b850064 [Cargo.lock] 2024-11-21 21:18:36 +02:00
Dzuchun
103b310180 Added macro to generate test for model's jacobian 2024-11-21 21:15:36 +02:00
Dzuchun
0c682848f0 Fixed error computation & added test to enforce it
Note that error formula is an approximation for case of large datapoint count, so it's strict enforcement is not possible, unfortunately.
2024-11-21 21:15:36 +02:00
Dzuchun
c1e0b1308a Ranged: changed parameters order 2024-11-21 21:15:36 +02:00
Dzuchun
5b350556e2 [minor] lint attribute in test 2024-11-21 21:15:36 +02:00
Dzuchun
b9964d5c80 Polynomial now uses IntoArrayLength 2024-11-21 21:15:36 +02:00
Dzuchun
8e54cd7325 Gaussian impl bug fixes 2024-11-21 21:15:36 +02:00
Dzuchun
0de471fd76 Composition model impl format 2024-11-21 21:15:36 +02:00
Dzuchun
b9df9653a6 DifferentiableFunction and ModelMap re-design 2024-11-21 21:15:36 +02:00
Dzuchun
0fd5f1481f Fixed utility model and corresponding tests 2024-11-21 21:15:36 +02:00
Dzuchun
977b6b3371 fit_stat, corresponding macro and basic doc. 2024-11-21 21:15:36 +02:00
Dzuchun
d9636bc41c FitModelError impls for basic fit models 2024-11-21 21:15:36 +02:00
Dzuchun
f8b740a423 Renamed generic type parameter 2024-11-21 21:15:36 +02:00
Dzuchun
73576babd2 FitModelErrors trait and basic impls 2024-11-21 21:15:31 +02:00
Dzuchun
dfd21f2862 Added missing FitModelXDeriv implementations 2024-11-20 11:54:04 +02:00
Dzuchun
a27261e9b0 Private items documentation in the gh workflow 2024-11-20 06:00:50 +02:00
Dzuchun
0d93773bf6 Changed typos workflow
now checks all source code and all markdown files
2024-11-20 05:54:56 +02:00
Dzuchun
b3197be57f Removed a single extra line feed 2024-11-20 05:49:46 +02:00
Dzuchun
ea0be1accf Allowed missing docs in integration tests
Since Miri seemed to perceive them as separate crates (which makes
sense), and demanded docs
2024-11-20 05:39:12 +02:00
Dzuchun
4545e47c56 Added badges for test and doc status 2024-11-20 05:39:03 +02:00
Dzuchun
61ef6a8efb Initial Cargo.lock 2024-11-20 05:26:29 +02:00
Dzuchun
0f5e51a3ed github actions
- typos (check for typos in comments and docs)
- build (check, test and build)
- docs (build and publish docs)
- miri (UB check)
2024-11-20 05:24:48 +02:00
Dzuchun
44340e947c GPL v3 2024-11-20 05:23:26 +02:00
Dzuchun
669b1ab058 Added tests 2024-11-20 05:22:56 +02:00
Dzuchun
085f65c271 Documentation on fit! macro 2024-11-20 05:22:25 +02:00
Dzuchun
4191e084a0 Documentation for input format 2024-11-20 05:22:05 +02:00
Dzuchun
3fc6e9f567 Main doc (README) 2024-11-20 05:21:35 +02:00
Dzuchun
b466a8984f Exported a couple useful types 2024-11-20 05:21:08 +02:00
Dzuchun
bb220b107c fit! macro, simplified public interface 2024-11-20 05:20:36 +02:00
Dzuchun
4a8380522c main public API 2024-11-20 05:20:30 +02:00
Dzuchun
c635b584f2 Added glue to lav-mar and nalgebra 2024-11-20 05:12:03 +02:00
Dzuchun
83d4d29e5b Derive macro for sum 2024-11-20 05:12:03 +02:00
Dzuchun
3a7592c4a6 Convenience trait for model composition 2024-11-20 05:12:03 +02:00
Dzuchun
686cfbdecd Model x derivatives 2024-11-20 05:12:03 +02:00
Dzuchun
aecef406d8 Map utility model 2024-11-20 05:12:03 +02:00
Dzuchun
724d0df9b0 Composition utility model 2024-11-20 05:12:03 +02:00
Dzuchun
f1f38cfebe Ranged utility model 2024-11-20 05:12:03 +02:00
Dzuchun
ca4cd48ffd Polynomial model 2024-11-20 05:12:03 +02:00
Dzuchun
e9a7af1ad3 Linear model 2024-11-20 05:12:03 +02:00
Dzuchun
76322aead2 Gaussian model 2024-11-20 05:12:03 +02:00
Dzuchun
84bf30355f Exponent model 2024-11-20 05:12:03 +02:00
Dzuchun
d5b678cd69 Constant model 2024-11-20 05:12:03 +02:00
Dzuchun
144b47f987 FitModel impl for [FitModel; N] 2024-11-20 05:12:03 +02:00
Dzuchun
58f68bbc19 Special unsafe functions for GenericArray manip 2024-11-20 05:12:03 +02:00
Dzuchun
30632704a6 FitModel impl for &mut FitModel 2024-11-20 05:12:03 +02:00
Dzuchun
516a5a869c FitModel definition 2024-11-20 05:12:03 +02:00