04-08-2008 03:37 AM
04-08-2008 03:49 AM
Hi Lukas,
In LV, almost all the primitives are polymorphic, so it can accept SGL precision matrices for Multiplication, Division, etc.
Just you need to wire the matrix of your preferred datatype to the function so that it adapts itself automatically.
04-08-2008 03:56 AM
04-08-2008 05:15 AM
04-08-2008 06:27 AM
04-08-2008 07:05 AM
04-08-2008 07:24 AM
04-08-2008 07:30 AM
04-08-2008 07:48 AM
04-08-2008 09:51 AM - edited 04-08-2008 09:52 AM
A matrix multiplication in mathematically quite trivial, so it should not be very difficult to just make your own.
Here's the generic 2Dx2D matrix multiplication. To adapt to your problem, make the 1D "B" column vector into a single column 2D array as in the above examples or simplify the code in some other way to deal directly with teh 1D array. Shouldn't be very hard. :).
(You still need to add error handling if the dimensions don't match! Right now it just gives you a truncated result).

