API for matrix manipulation

2011-03-14 Thread João Eiras
Hi. Given that a number of API are being developed that require complex matricial calculations (transforms, device orientation, web gl), I would suggest that perhaps an API with a big number of common calculations could be made available ? And a proper way to represent them. Perhaps, the best way

Re: API for matrix manipulation

2011-03-14 Thread Boris Zbarsky
On 3/14/11 10:56 AM, João Eiras wrote: Math.mAdd(m1, m2) Math.mSub(m1, m2) Math.mMult(m1, m2) Presumably throwing on size mismatches? Math.mDiv(m1, m2) I don't think we should add this. Matrix division is a pretty fuzzy concept with non-square matrices. And if you stick to square

Re: API for matrix manipulation

2011-03-14 Thread Chris Marrin
On Mar 14, 2011, at 7:56 AM, João Eiras wrote: Hi. Given that a number of API are being developed that require complex matricial calculations (transforms, device orientation, web gl), I would suggest that perhaps an API with a big number of common calculations could be made available ?

Re: API for matrix manipulation

2011-03-14 Thread Chris Marrin
On Mar 14, 2011, at 12:19 PM, Lars Knudsen wrote: Hi, related to this: Is there any work ongoing to tie these (or more generic vector / matrix) classes to OpenCL / WebCL for faster computation across CPUs and GPUs? On WebKit I've experimented with an API to copy a CSSMatrix to an

Re: API for matrix manipulation

2011-03-14 Thread João Eiras
Comments or is something already being worked on ? There are already 2 such classes: SVGMatrix and CSSMatrix. The former is an affine transformation matrix (commonly misnamed a 2x3 matrix) and the latter is a 3D homogeneous transformation matrix (commonly correctly named a 4x4 matrix).

RE: publish Last Call Working Draft of Web Workers; deadline March 7

2011-03-14 Thread Travis Leithead
Drew Wilson (atwil...@google.com) wrote: I think this alternate lifetime model is practically unimplementable in a world where workers and pages live in multiple processes. The reason is that the linkage between nodes in your graph depends on reachability of ports which can't really be