aboutsummaryrefslogtreecommitdiff
path: root/core/math
Commit message (Collapse)AuthorAgeFilesLines
...
* fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-081-6/+6
|
* Fix bug in div3 fast path.Jeroen van Rijn2024-06-291-1/+1
|
* Fix loads of indentation issues with mixing spaces and tabsgingerBill2024-06-291-23/+23
|
* Even more style fixesgingerBill2024-06-291-7/+5
|
* More style improvementsgingerBill2024-06-291-1/+1
|
* Require `base:runtime` import in `core:math/linalg`Feoramund2024-06-281-1/+1
|
* Fix core:math/fixed.Jeroen van Rijn2024-06-261-1/+1
|
* Remove the need for `rand` in `core:math/big`gingerBill2024-06-154-16/+13
|
* Update `core:math/rand` to use `context.random_generator` and remove `rand.Rand`gingerBill2024-06-154-357/+130
|
* Add `Reset` modegingerBill2024-06-151-0/+12
|
* Remove unneeded reassignment of `r`gingerBill2024-06-151-7/+0
|
* Add `runtime.Random_Generator` interfacegingerBill2024-06-151-0/+27
|
* Elide unnecessary conditionJeroen van Rijn2024-06-141-1/+1
|
* Fix big.shrink not actually shrinkingJosh Jones2024-06-141-2/+7
|
* Fix #3726gingerBill2024-06-101-3/+3
|
* Merge pull request #3718 from Feoramund/add-missing-big-atoi-aliasJeroen van Rijn2024-06-101-0/+1
|\ | | | | Add missing `string_to_int` alias in `core:math/big`
| * Add missing `string_to_int` alias in `core:math/big`Feoramund2024-06-091-0/+1
| |
* | Add permutation & combination procedures to `core:math/big`Feoramund2024-06-091-0/+60
|/
* Add `@(rodata)` and `@(static, rodata)` where appropriategingerBill2024-06-067-27/+27
|
* Make use of `runtime.Raw_*` types in `core:math/linalg`Feoramund2024-06-031-15/+10
|
* Remove unused code in `internal_random_prime`Feoramund2024-05-281-3/+0
|
* fix pitch_from_quaternionshashank2024-05-273-3/+3
|
* fix a couple of -vet-style failures after ↵Laytan2024-05-093-5/+5
| | | | f54977336b27c32eab52b77d94e7b1610f4350cf
* fix(linalg/glsl): incorrect quat by vector3 multiplicationIllusionMan12122024-04-281-2/+2
|
* core/math/rand: Use `core:crypto` for the system RNGYawning Angel2024-04-235-96/+21
| | | | | This removes some code duplication and expands support for the system RNG to all targets that `core:crypto` supports.
* Implement Fisher-Yates shuffleFeoramund2024-04-151-2/+2
|
* Fix `big.internal_random_prime` with `Second_MSB_On`Feoramund2024-04-151-0/+14
|
* Added docs for trig function procedure groupsalec hodgkinson2024-04-111-1/+28
|
* Fix #3386 - `fixed.to_string`gingerBill2024-04-101-18/+166
|
* Removed undefined & usused varsblob18072024-04-061-1/+0
| | | | Removed undefined& usused vars in init_from_parts
* Fix #3323gingerBill2024-03-241-1/+3
|
* Add `#no_broadcast` procedure parameter to disallow automatic array ↵gingerBill2024-03-211-1/+1
| | | | programming broadcasting on procedure arguments
* Expose internal invmod and int_exponent_mod with more consistent namingEd Yu2024-03-122-2/+6
|
* Properly initialize return matrices in linalg.orthonormalizespindlebink2024-03-091-0/+6
|
* Fix typo in big.internal_invmodJeroen van Rijn2024-03-082-3416/+3359
| | | | Fixes #3253
* For invmod, b has to be > 1, fix a logic typoEd Yu2024-03-041-3/+3
|
* math.big constants were no longer initializeddev-2024-03Jeroen van Rijn2024-03-031-1/+6
| | | | Fixes #3243
* add Go licenseJuan Ignacio Díaz2024-02-171-1/+91
|
* port math.round from GolangJuan Ignacio Díaz2024-02-161-30/+73
|
* Remove bounds checking on a lot of linalgLucas Perlind2024-02-132-121/+121
|
* Revert "Change minor/adjoint to be `row, col` from `c, r` to be consistent ↵Lucas Perlind2024-02-132-172/+172
| | | | | | with `[row, col]` syntax; Add `#no_bounds_check` were appropriate" This reverts commit 5dd2e38affc90b075a19777b044f98489235f24a.
* Split out `linalg.identity` between matrices and array-based matrixgingerBill2024-02-121-1/+11
|
* Change minor/adjoint to be `row, col` from `c, r` to be consistent with ↵gingerBill2024-02-122-172/+172
| | | | `[row, col]` syntax; Add `#no_bounds_check` were appropriate
* Add `rand.choice_enum`gingerBill2024-02-101-0/+20
|
* Add `angle_between` and `matrix2_rotate`gingerBill2024-02-062-0/+62
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-2822-28/+28
|
* Move matrix related procedures to the different `linalg` packagesgingerBill2024-01-284-47/+829
|
* Merge pull request #3082 from edyu/masterJeroen van Rijn2024-01-171-5/+7
|\ | | | | Fix math/fixed floor/ceil/round
| * Fix math/fixed floor/ceil/roundEd Yu2024-01-081-5/+7
| |
* | Fix linalg shadowing errorLucas Perlind2024-01-091-3/+3
|/