Commit Graph

78 Commits

Author SHA1 Message Date
0cfcd7b439 coord/ops: make operations constexpr where possible 2016-03-14 19:01:59 +11:00
27c7108c6d coord/ops: remove duplicate unary negation 2016-03-14 18:57:07 +11:00
8035cbf46f coord/ops: return the computed value in unary ops 2016-03-14 18:56:36 +11:00
7f4cf49931 iterator: use infix_iterator for coord ostream 2016-03-11 12:48:19 +11:00
2ca4a7e291 coord/ops: enable iff types are coords 2015-11-04 23:22:49 +11:00
23fff4a65a coord/ops: expand dot product to accept arrays 2015-11-04 17:10:16 +11:00
3991848726 coord: add vector relational operators 2015-10-20 12:37:08 +11:00
60f16cdc4a WIP coord: clean up operation templates 2015-10-19 17:06:19 +11:00
634f2af9cc coord/ops: don't use multiplication for negation 2015-10-19 12:06:03 +11:00
5ed95ec952 coord/ops: use common_type for results 2015-10-19 12:06:03 +11:00
3e884113fd coord: add elementwise pow function 2015-10-12 23:56:41 +11:00
50c1088918 coord/ops: add vector floor function 2015-09-29 18:06:52 +10:00
0db7872c1b coord: use almost_equal for equality 2015-07-21 01:39:14 +10:00
d11bdb79b0 coord: add modulus operators 2015-07-21 01:39:01 +10:00
8e0e65e2b8 coord: add elementwise abs function 2015-05-29 15:51:08 +10:00
b96ad81d32 coord: allow multi-type scalar-vector ops 2015-05-28 10:18:32 +10:00
b67bb283d1 coord: add scalar gte, lte 2015-05-26 16:25:41 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
532dc415a4 colour: allow arbitrary colour dimensions 2015-04-09 18:00:40 +10:00
e1b03e0735 coord: express negate with scalar value multiply
we don't have universal scalar reference operations implemented, this
avoids a temporary and removes compile errors
2015-04-08 14:53:55 +10:00
14e5f4ca2d coord/ops: enable vector-point element operations 2015-04-07 17:01:50 +10:00
0ba8b414b4 coord/ops: comments 2015-03-07 03:18:32 +11:00
3f07f6edf7 coord/ops: negation operator 2015-03-07 03:18:13 +11:00
869125e308 coord/ops: correct order of operators scalar ops 2015-03-07 03:17:22 +11:00
e69d970e22 coord/ops: add max/min vector and element 2015-03-06 17:52:25 +11:00
b96ccef8ba coord/ops: use relative include paths
assists when building external projects
2015-03-06 02:01:50 +11:00
9d58f835a9 coord/ops: consistency in forward declarations 2015-03-06 02:01:32 +11:00
e461654de8 coord: split coord header into components 2015-03-06 01:46:01 +11:00