Commit graph

133 commits

Author SHA1 Message Date
NicklasXYZ
3bae9faffc add mean test for negative numbers 2024-12-09 00:09:54 +01:00
NicklasXYZ
803abd516e Remove duplicate function. Improve function input validation + tests 2024-12-08 23:39:25 +01:00
NicklasXYZ
3b7629bd3e improve code consistency 2024-12-08 21:27:30 +01:00
NicklasXYZ
e01373c0bf Rename functions. Fix FFI 2024-12-08 20:40:33 +01:00
Nicklas Sindlev Andersen
7c83c10a68
Merge pull request #31 from NicklasXYZ/main
Refactor
2024-12-07 23:50:59 +01:00
NicklasXYZ
1e31a8c38b Refactor 2024-12-07 23:46:49 +01:00
Nicklas Sindlev Andersen
77e13b9254
Merge pull request #28 from gleam-community/refactor/nil-errors
♻️ Replace `String` errors with `Nil`
2024-10-02 20:14:10 +02:00
Nicklas Sindlev Andersen
eb1b7438e8
Merge branch 'main' into refactor/nil-errors 2024-10-02 20:10:23 +02:00
Nicklas Sindlev Andersen
3254597cef
Merge pull request #30 from versecafe/fix-cartesian-product-types
Allow cartesian product of (a, b) instead of only (a, a)
2024-09-28 18:23:30 +02:00
versecafe
b8af54a935 Allow cartesian product of (a, b) instead of (a, a) 2024-09-11 00:54:20 -05:00
Nicklas Sindlev Andersen
2ac9811a07
Merge pull request #27 from gleam-community/refactor/remove-let-annotations
♻️ Remove type annotations from let bindings and lambdas.
2024-08-18 12:24:38 +02:00
Hayleigh Thompson
2bd3b76a79 ♻️ Replace error types with Nil for better DX with other error-producing functions. 2024-08-17 12:37:00 +01:00
Hayleigh Thompson
6d5241e222 🔥 Remove old vendored gleeunit code. 2024-08-17 11:53:40 +01:00
Hayleigh Thompson
452e97c5d1 Update local dependencies. 2024-08-17 11:52:38 +01:00
Hayleigh Thompson
d649063d33 ♻️ Remove type annotations from lambdas. 2024-08-17 11:48:47 +01:00
Hayleigh Thompson
00ad62800f ♻️ Remove type annotations from lambdas. 2024-08-17 11:29:39 +01:00
Hayleigh Thompson
4806e56baa ♻️ Remove type annotations in let bindings. 2024-08-17 11:21:44 +01:00
Nicklas Sindlev Andersen
7fd4d74b2c
Merge pull request #26 from NicklasXYZ/main
Update the combinatorics and sequences module
2024-08-17 01:16:37 +02:00
Nicklas Sindlev Andersen
15f4c0b048
Merge branch 'gleam-community:main' into main 2024-08-17 01:14:22 +02:00
NicklasXYZ
0c45dcf9a3 Update readme 2024-08-17 01:13:57 +02:00
NicklasXYZ
cf1e001989 update combinatorics and sequences module 2024-08-17 00:44:21 +02:00
NicklasXYZ
a68c906622 Work on combinatorics module 2024-08-16 00:15:58 +02:00
Nicklas Sindlev Andersen
7fd917f43c
Merge pull request #25 from NicklasXYZ/main
Add new predicate functions + update workflow
2024-08-13 00:13:46 +02:00
NicklasXYZ
b1b5ec0692 update predicate module docs 2024-08-13 00:11:58 +02:00
NicklasXYZ
9cec6c6133 Merge branch 'main' of github.com:NicklasXYZ/maths 2024-08-13 00:09:58 +02:00
NicklasXYZ
fc5dc23aec Add is_divisible/is_multiple predicate functions 2024-08-13 00:09:11 +02:00
Nicklas Sindlev Andersen
fab3e53354
Merge branch 'gleam-community:main' into main 2024-08-12 23:36:16 +02:00
NicklasXYZ
ebd0518392 update workflows 2024-08-12 23:32:37 +02:00
Nicklas Sindlev Andersen
43e5eeccf6
Merge pull request #24 from NicklasXYZ/main
Rounding functions only return a Float
2024-08-12 23:05:52 +02:00
NicklasXYZ
3704614309 Fix doc examples 2024-08-12 23:03:34 +02:00
NicklasXYZ
7ecaad5be2 Fix rounding functions and tests 2024-08-12 22:55:26 +02:00
Nicklas Sindlev Andersen
42c4ae114d
Merge pull request #23 from NicklasXYZ/main
Fix tests
2024-08-12 22:40:25 +02:00
NicklasXYZ
57cffc7116 fix tests 2024-08-12 22:38:18 +02:00
Nicklas Sindlev Andersen
4533abf3ba
Merge pull request #22 from gleam-community/list-at-hotfix
`list.at` hotfix
2024-08-12 22:05:26 +02:00
Nicklas Sindlev Andersen
725f437135
Merge branch 'main' into list-at-hotfix 2024-08-12 22:03:52 +02:00
Hayleigh Thompson
b0b9e728ea 🔖 Bump to v1.1.1 2024-05-25 01:43:10 +01:00
Hayleigh Thompson
ae959dcafe ♻️ Remove uses of list.at 2024-05-25 01:42:46 +01:00
Hayleigh Thompson
6419c400b9 Update stdlib dependency to ~> 0.38 2024-05-25 01:42:39 +01:00
Nicklas Sindlev Andersen
d2aa3923bd
Merge pull request #19 from NicklasXYZ/main
Add distance measures, fix typos, update deps
2024-04-14 17:32:58 +02:00
NicklasXYZ
ef8844d991 Add function descriptions and fix typos 2024-04-14 17:30:39 +02:00
NicklasXYZ
d2485d4e88 Fix typos 2024-04-14 17:04:44 +02:00
NicklasXYZ
2313363a9e Allow passing weights in distance calculations 2024-04-14 16:54:10 +02:00
NicklasXYZ
b7f7b29e48 Add canberra and bary-curtis distance 2024-04-13 23:38:39 +02:00
NicklasXYZ
d9c642062a Run gleam update 2024-04-10 23:32:42 +02:00
NicklasXYZ
71db9b1d52 fix link 2024-04-10 23:28:28 +02:00
Nicklas Sindlev Andersen
6a6baddb36
Merge pull request #18 from NicklasXYZ/main
Add Levenshtein distance and fix docs
2024-04-10 23:17:39 +02:00
NicklasXYZ
288a2ab8c2 Merge branch 'main' of github.com:NicklasXYZ/maths 2024-04-10 23:11:58 +02:00
NicklasXYZ
e135ea3318 Rename metrics test function 2024-04-10 23:11:14 +02:00
Nicklas Sindlev Andersen
2c1379b993
Merge branch 'gleam-community:main' into main 2024-04-10 23:09:41 +02:00
NicklasXYZ
e8bbcce587 Add Levenshtein distance, fix typos, align doc examples with tests 2024-04-10 23:09:02 +02:00