Skip to content
Back to formatted view

Raw Message

Message-ID: <4314635A.4070809@maths.lth.se>
Date: 2005-08-30T13:47:06Z
From: Henrik Bengtsson
Subject: Who can help me?
In-Reply-To: <12760.1125405438@www70.gmx.net>

A quick reply,

are you looking for the matrix multiplication operator? In R it's %*%

Henrik

Christian Hinz wrote:
> I have own function wrote. I used an algorithm, which was written in Matlab.
> 
> in matlab:
> ...
> gamma = inv(v)*g;
> ...
> 
> #v = matrix of variable size, v=vv(k) => k=2 => dimension of v 2x2
> #g = a line vector with 4 elements e.g. g=[1,0,2,0];
> 
> my rewritten r-file:
> ...
> gamma = solve(v)*g;
> ...
> 
> which is my error? Who can help me?
> 
> thank you in advance.
> 
> Chris
> 
>