Look at me ma, my library is going to have a matrix type, a row vector type and a column vector type, isn't that wonderful? I read a math book. I study math I'm so smart ^-^
-_-
o_o
O_O
O-O
O^O
>0< NOOOOO!
>.<
>0< ROW VECTOR IS JUST A VECTOR!
(>-.-)>
vector(1,2,3)
>.<
>0< MATRIX IS JUST A VECTOR!
(>-.-)>
vector
(
vector(1,2,3),
vector(4,5,6),
vector(7,8,9)
)
>.<
>0< COLUMN VECTOR IS JUST A VECTOR!
(>-.-)>
vector
(
vector(1),
vector(2),
vector(3)
)
>0< VECTOOOOOOORRRR!
what's a column vector plus a row vector? huh? :v
huh?! :V
(>-.-)>
vector
(
vector(1),
vector(2),
vector(3)
)
+
vector(.1, .2, .3)
||
vector
(
vector(1.1, 1.2, 1.3),
vector(2.1, 2.2, 2.3),
vector(3.1, 3.2, 3.3)
)
@namark It's a map? huh?
@khird I'm writing my own here https://git.qoto.org/namark/libsimple_geom
and the other usual places.
In my case this is emergent behaviour from generalizing basic vector ops to vector/matrices of any shape with support of usual c++ style arithmetic type promotion, nice to know it's a thing! This particular "fix" is not commuted yet though.
@mc