|
f6056153e3
|
rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
|
2018-08-05 14:42:02 +10:00 |
|
|
22b25221b2
|
coord/base: add std::array conversion operator
|
2018-06-12 10:54:08 +10:00 |
|
|
b01173d82b
|
maths: rename limit to clamp
|
2018-05-03 21:43:48 +10:00 |
|
|
370488c498
|
coord: test coords are trivial types
|
2018-03-22 13:20:00 +11:00 |
|
|
3b3f9cd3d3
|
coord/ops: use the coord type for literal equality comparisons
|
2018-02-26 13:37:08 +11:00 |
|
|
9bb2bdbaba
|
Merge remote-tracking branch 'origin/master'
|
2018-01-10 17:19:39 +11:00 |
|
|
3799135236
|
coord: add general vector comparison function
|
2017-08-27 12:32:00 +10:00 |
|
|
9aa0ba8f55
|
test: use constexpr for test data where possible
|
2017-08-27 12:28:56 +10:00 |
|
|
3c9dcba2fb
|
coord/ops: add rshift coord operation
shifts each element to the right `num' places and fills the left space
with a constant or elements from another vector.
|
2017-08-25 13:05:45 +10:00 |
|
|
efb719b822
|
coord/base: add indices method
|
2017-08-24 14:39:54 +10:00 |
|
|
84963aacf8
|
coord/ops: make 'all' and 'any' constexpr
|
2017-08-24 14:39:54 +10:00 |
|
|
14718594c9
|
coord: add tests for vec/num/num overload of util::limit
|
2017-08-24 12:50:17 +10:00 |
|
|
0016c83dab
|
coord: add the select function
|
2017-07-31 15:41:57 +10:00 |
|
|
046a369f55
|
coord: don't use kahan summation for sum(coord)
Our kahan summation algorithm has issues with infinities so we just
avoid using it in coordinates where speed and simplicity are more
important.
|
2017-06-16 17:38:55 +10:00 |
|
|
061088467f
|
coord: add structured bindings support
|
2017-06-15 16:32:40 +10:00 |
|
|
9471b9eae7
|
test: ensure all tests return a useful status code
These tests were all assumed to execute correctly because CTest is not
capable of parsing the TAP output and instead relies entirely on status
codes.
|
2017-05-22 13:55:21 +10:00 |
|
|
4bf160934c
|
vector: prefer constexpr functions over static variables
|
2016-12-12 17:04:39 +11:00 |
|
|
f6ceb5cdee
|
coord/ops: add element sum overload
|
2016-08-15 20:56:10 +10:00 |
|
|
606a9c4eb8
|
coord/ops: use free functions for normalisations
|
2016-08-11 14:58:46 +10:00 |
|
|
9e9477858b
|
coord: add trivial operation tests
|
2016-03-14 22:32:52 +11:00 |
|
|
ec42319224
|
coord: test for proper packing
|
2015-09-21 15:27:36 +10:00 |
|