[Libre-soc-bugs] [Bug 142] Vector Ops needed (DOT, Cross, Dist, normalise, CORDIC, S/LERP etc)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Jun 16 12:11:43 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=142

Luke Kenneth Casson Leighton <lkcl at lkcl.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://libre-soc.org/openp
                   |                            |ower/sv/vector_ops/

--- Comment #5 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #2)
> Wondering how (whether) to add vec2 cross product and if vec4 cross product
> exists.
> 
> Found this:
> 
> vec2D a, b;
> ...
> double z = a.x * b.y - b.x * a.y;
> return z;

it *should* be possible to do this by way of the sparse matrix,
making it potentially possible to do in more dimensions than just 2/3.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list