Re: Binary operators for cubes

2025-07-07 Thread Dean Rasheed
On Fri, 4 Jul 2025 at 13:07, Kirill Panin wrote: > > Thanks for your response. > Do you think it makes sense to disallow cube+cube operations and only > allow cube+point or point+point instead? Dot and cross products would be > similarly only defined for point+point if someone were to implement th

Re: Binary operators for cubes

2025-07-05 Thread Kirill Panin
Hi, Thanks for your response. Do you think it makes sense to disallow cube+cube operations and only allow cube+point or point+point instead? Dot and cross products would be similarly only defined for point+point if someone were to implement them. I'll submit a v2 if this is an acceptable solut

Re: Binary operators for cubes

2025-07-02 Thread Dean Rasheed
On Thu, 15 May 2025 at 16:16, Kirill Panin wrote: > > Hi hackers! > > The "cube" extention is frequently used for vectors, but the current > implementation lacks support for binary operators, such as +, -, *, /. > The attached (fairly trivial) patch adds support for these with the > required docum