Commit Graph

18 Commits

Author SHA1 Message Date
Vincent Esche 254da517d9 Added closure-based initializer function for Vector and corresponding unit test 2019-10-03 12:59:09 +02:00
Vincent Esche 3f2f221f3a Removed unnecessary explicit `Swift.` namespace prefix 2019-09-27 17:12:22 +02:00
Vincent Esche f2a6f0bed5 Improved vector tests; removed redundant benchmarks 2019-09-27 17:12:22 +02:00
Vincent Esche e5375a62be Bumped copyright from ‘… - 2018’ to ‘… - 2019’ 2019-09-25 11:16:35 +02:00
Vincent Esche 1f2093a189 Removed redundant unit tests from ‘VectorTests.swift’ 2019-09-25 10:15:26 +02:00
Vincent Esche dcebafd1f3 Add `muladd…` to `Vector<Scalar>` and corresponding tests 2019-09-25 01:56:54 +02:00
Vincent Esche 912854a747 Resolved FIXMEs, adding missing unit tests 2019-09-23 22:54:36 +02:00
Vincent Esche 3e48656227 Moved functions with `Scalar` as `lhs` into separate `ScalarTests` file 2019-09-23 22:54:36 +02:00
Vincent Esche fbdfc14902 Added missing tests for dot product of `Vector<Scalar>` 2019-09-23 22:54:36 +02:00
Vincent Esche 5b86954a46 Added `// MARK: - …` to unit tests to improve ergonomics in Xcode’s minimaps 2019-09-23 22:54:36 +02:00
Vincent Esche d616943927 Added benchmark measurements to `VectorTests` 2019-09-23 22:54:36 +02:00
Vincent Esche 4ec96e4ff4 Removed test helper functions in favor of explicit literals. K.I.S.S. 2019-09-23 22:54:36 +02:00
Vincent Esche 4a649d9c1a Added unit tests for matrix arithmetic 2019-08-30 00:47:54 +02:00
Vincent Esche 597aa02ac2 Fixed linting warnings 2019-08-29 11:35:24 +02:00
Vincent Esche 1c35503972 Fixed formatting 2019-08-29 11:35:24 +02:00
Vincent Esche 5eeeded84b Added missing `…=` operators and tests for `Vector<Scalar>` 2019-08-29 11:35:24 +02:00
Vincent Esche bc62fbf7fd Added `func dist` & `func distSq` (squared distance) to `Vector` 2019-08-29 11:35:24 +02:00
Vincent Esche a2c2f66a2e Added `Vector<Scalar>` type and corresponding unit tests 2019-08-29 11:35:24 +02:00