[ODE] Matrix multiplication!

Thomas Harte thomasharte at lycos.co.uk
Tue Mar 18 14:24:01 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--=_NextPart_Lycos_0238761048022674_ID
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

>No one told me that I have to use 3 separate matrices. I think there 
should 
>be a warning in documentation

Or possibly even a special clause in the code which causes a slower 
version with a temporary matrix to execute and then copy the results 
back?

-Thomas

When words aren't enough - Vodafone live! A new world of colour, sounds, picture messages and information on your mobile. <a href="http://ad.doubleclick.net/clk;4909903;7724245;q?http://www.vodafone.co.uk/live">
Click here</a> to find out more.


--=_NextPart_Lycos_0238761048022674_ID
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Return-Path: <ode-admin@q12.org>
Received: from hook.org (dsl-ep-209-115-250-i14-cgy.nucleus.com [209.115.250.14])
	by lmin07.st1.spray.net (Postfix) with ESMTP id 6E05224FEA
	for <ThomasHarte@lycos.co.uk>; Tue, 18 Mar 2003 21:58:49 +0100 (MET)
Received: from webserver.computershop.calgary.ab.ca (mailman@localhost [127.0.0.1])
	by hook.org (8.12.6/8.12.6) with ESMTP id h2IKnQpC007410;
	Tue, 18 Mar 2003 13:49:27 -0700 (MST)
Received: from hotmail.com (f31.sea2.hotmail.com [207.68.165.31])
	by hook.org (8.12.6/8.12.6) with ESMTP id h2IKiupC001239
	for <ode@q12.org>; Tue, 18 Mar 2003 13:44:56 -0700 (MST)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Tue, 18 Mar 2003 12:45:32 -0800
Received: from 130.86.215.119 by sea2fd.sea2.hotmail.msn.com with HTTP;
	Tue, 18 Mar 2003 20:45:32 GMT
X-Originating-IP: [130.86.215.119]
From: "Fig TaTam" <fig_tatam@hotmail.com>
To: ode@q12.org
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F31AwnJKOFMPCS5oN6F0000f8a2@hotmail.com>
X-OriginalArrivalTime: 18 Mar 2003 20:45:32.0647 (UTC) FILETIME=[51B13770:01C2ED8F]
Subject: [ODE] Matrix multiplication!
Sender: ode-admin@q12.org
Errors-To: ode-admin@q12.org
X-BeenThere: ode@q12.org
X-Mailman-Version: 2.0.6
Precedence: bulk
List-Help: <mailto:ode-request@q12.org?subject=help>
List-Post: <mailto:ode@q12.org>
List-Subscribe: <http://q12.org/mailman/listinfo/ode>,
	<mailto:ode-request@q12.org?subject=subscribe>
List-Id: Open Dynamics Engine Mailing List <ode.q12.org>
List-Unsubscribe: <http://q12.org/mailman/listinfo/ode>,
	<mailto:ode-request@q12.org?subject=unsubscribe>
List-Archive: <http://q12.org/pipermail/ode/>
X-Original-Date: Tue, 18 Mar 2003 20:45:32 +0000
Date: Tue, 18 Mar 2003 20:45:32 +0000

A while ago I was having some problems with matrix multiplication. I was 
using functions like:

void dMULTIPLY0_333(dReal *A, const dReal *B, const dReal *C)

As I found out, the reason why I had weird results was cause my "output" 
matrix happened to be on of the input matrices. I was using 2 variables 
instead of 3. In other words, I was doing something like this: A=BxA
No one told me that I have to use 3 separate matrices. I think there should 
be a warning in documentation

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

_______________________________________________
ODE mailing list
ODE@q12.org
http://q12.org/mailman/listinfo/ode



--=_NextPart_Lycos_0238761048022674_ID--