Commit Graph

29 Commits

Author SHA1 Message Date
b29bcc867d Refactor ops.
all binary operations now support operating by a scalar
2023-06-14 00:04:24 -07:00
b05a8172c0 Swizzle test reorganization 2023-05-24 22:39:23 -07:00
61b1d211c1 Add a swizzle! macro
Allows for arbitrarily rearranging the rows of a matrix like in HLSL/GLSL.
2023-05-23 22:49:02 -07:00
bd1bde1657 Use block comments for docs
Much more readable in the raw source
2023-05-22 23:02:51 -07:00
9b14bebb2d Improve documentation on everything in lib.rs 2023-05-22 22:42:20 -07:00
4bbcabb2aa Document Index2D 2023-05-22 20:17:05 -07:00
e2a2bc7529 Huge refactor to flatten everything
but no API change I think
2023-05-21 22:52:47 -07:00
2b303892f7 Refactor LUDecompose slightly 2023-05-21 20:55:37 -07:00
bc1b3f199d Move Index2D trait to the matrix module 2023-05-21 01:43:25 -07:00
58ff79f649 Refactor to move ops impls alongside matrix 2023-05-17 22:44:02 -07:00
f697db6d35 Fix link and remove reliance on One 2023-05-09 23:08:50 -07:00
6831027573 Document and refine decompose module 2023-05-09 22:27:05 -07:00
bddc3e1977 rename solve to decompose and rearrange stuff 2023-05-06 23:14:43 -07:00
543769f691 Separate LU decomposition into its own file where other solving stuff will live 2023-05-06 01:34:31 -07:00
b13fe3dcd2 Correct docs for matrix regarding scalar types 2023-04-27 00:31:50 -07:00
3989c5a8ec 3x3 matrix tests 2022-12-04 20:24:57 -08:00
1e8399eb41 Flesh out LU solving and add more tests 2022-12-03 16:56:39 -08:00
57636dc8dd Fix Solve and add unit tests on an identity matrix 2022-11-27 21:20:15 -08:00
2ba8d9d323 determinants, solvers, and inverse 2022-11-27 14:59:36 -08:00
0cc31266e9 More work on fleshing out the Matrix class
LU decomposition doesnt work yet :sad:
2022-11-26 23:23:28 -08:00
53b1f5fdfa Identity and Determinant traits 2022-11-22 19:14:05 -08:00
2829c52487 Yeet Scalar
A better solution may be needed for matrix*scalar ops than using `num` though
2022-11-16 22:53:53 -08:00
969a1ece67 More API and fleshing things out 2022-11-14 21:23:15 -08:00
e928ed6926 Expand API and start adding tests 2022-08-18 21:07:05 -07:00
2bb625bdaf Consolidate Matrix class 2022-08-01 00:33:43 -07:00
6491b7c692 More messing around 2022-07-28 18:49:48 -07:00
96482fb0d1 Rename and reformat 2022-07-25 21:30:34 -07:00
f275b1cf7a Index2D and Array2D 2022-07-25 21:12:11 -07:00
1abf9a6369 initial commit 2022-07-25 20:06:09 -07:00