Commit Graph

38 Commits

Author SHA1 Message Date
Jon Janzen
d8fe799890 added cofactor 2021-04-02 14:58:55 -06:00
Jon Janzen
517cb40de8 minor without calling submatrix 2021-04-02 14:52:52 -06:00
Jon Janzen
6dcfb6863b Added minor 2021-04-02 14:37:49 -06:00
Jon Janzen
c9d2559cba fixed sub_matrix Width 2021-04-02 14:09:53 -06:00
Jon Janzen
bc4f061bcd added submatrixes
had to use in development features to allow math with const generics
2021-04-02 13:56:19 -06:00
Jon Janzen
704503a9a1 handled clippy 2021-03-31 15:52:21 -06:00
Jon Janzen
9c20d13833 allow rectangular matrixes 2021-03-31 15:38:00 -06:00
Jon Janzen
82360600fe Fixed transpose by moving to an iterative method 2021-03-31 15:30:08 -06:00
Jon Janzen
588acf36a3 added determinant 2021-03-31 15:19:48 -06:00
Jon Janzen
c78c1ed8f6 switched from vec to array with const generic size 2021-03-31 15:19:04 -06:00
Jon Janzen
8a3538c789 Added Cargo.lock 2021-03-30 19:05:34 -06:00
Jon Janzen
6c685aef15 transposition 2021-03-29 19:38:00 -06:00
Jon Janzen
f106344504 identity matrix 2021-03-29 19:18:21 -06:00
Jon Janzen
5ca76b424a multiple matrix by tuple 2021-03-28 19:16:14 -06:00
Jon Janzen
6fd1eb49b7 wrote test for matix multiplication 2021-03-28 18:29:18 -06:00
Jon Janzen
c47d3448a3 can create from arrays 2021-03-28 18:19:56 -06:00
Jon Janzen
f24280c866 matrix with equality 2021-03-28 18:00:15 -06:00
Jon Janzen
2a602f5804 wrote first bit of matrix 2021-03-26 20:01:41 -06:00
Jon Janzen
7bb7fa8ab4 added matrix init 2021-03-26 16:32:00 -06:00
Jon Janzen
6dafed1195 multi-ball 2021-03-21 19:49:24 -06:00
Jon Janzen
750435847e start from 0 works 2021-03-21 19:27:16 -06:00
Jon Janzen
1f33d87193 can make a ppm 2021-03-20 20:12:47 -06:00
Jon Janzen
842c93568b assert new line at end of ppm 2021-03-05 17:32:47 -07:00
Jon Janzen
aa4e01d3f7 added canvas sizes 2021-03-05 17:14:06 -07:00
Jon Janzen
1fc84c7d1f Can create canvas 2021-02-19 19:58:52 -07:00
Jon Janzen
5232e69ec1 Added color 2021-02-13 17:09:47 -07:00
Jon Janzen
06d08942f0 Played with values 2021-02-07 14:59:00 -07:00
Jon Janzen
bf1afc092e Created a Projectile and allowed it to be operated on by wind and gravity 2021-02-07 14:49:14 -07:00
Jon Janzen
c863cf5a8b Made methods pub so I could use them 2021-02-07 14:48:45 -07:00
Jon Janzen
4b0515f4b1 Created tuples and with structs.
Need to do the cannon exercise yet
2021-02-06 16:56:03 -07:00
Jon Janzen
334e2ef3ea create structs lib, mimics tuple lib, but implements Tuple.
This allows for operator overloading. It will make it significantly easier to write code for Tuple objects.
2021-01-23 20:13:34 -07:00
Jon Janzen
ea51c5785d multiplicaiton, division, and negation 2021-01-23 19:15:26 -07:00
Jon Janzen
275d857e7a tuple addition and subtraction 2021-01-23 18:46:21 -07:00
Jon Janzen
2e481efd7a changed point/vector to not take tuples in 2021-01-23 18:30:01 -07:00
Jon Janzen
f827fd19eb tuple equality 2021-01-23 18:24:49 -07:00
Jon Janzen
285c75bbda moved to relative float equivalence 2021-01-23 18:17:28 -07:00
Jon Janzen
864ad4d40b first tuple test 2021-01-23 17:59:10 -07:00
Jon Janzen
3c58271683 init 2021-01-23 17:24:59 -07:00