2008/12/3 Fabrice Silva <[EMAIL PROTECTED]>:
> Le mercredi 03 décembre 2008, Sébastien Barthélemy a écrit :
>> Hello,
> Hi Sebastien!
Hello Fabrice
> There is something I missed: what is htr? I guess htr.inv is the inv
> function defined before the class.
yes, I cut-n-pasted the function definit
2008/12/3 Kevin Jacobs <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>:
> On Wed, Dec 3, 2008 at 9:19 AM, Sébastien Barthélemy <[EMAIL PROTECTED]>
> wrote:
>>
>>def inv_v1(self):
>>self[0:4,0:4] = htr.inv(self)
>>def inv_v2(self):
>>data = htr.inv(self)
>>self = HomogeneousM
On Wed, Dec 3, 2008 at 9:19 AM, Sébastien Barthélemy
<[EMAIL PROTECTED]>wrote:
>def inv_v1(self):
>self[0:4,0:4] = htr.inv(self)
>def inv_v2(self):
>data = htr.inv(self)
>self = HomogeneousMatrix(data)
>def inv_v3(self):
>self = htr.inv(self)
>
self is
Le mercredi 03 décembre 2008, Sébastien Barthélemy a écrit :
> Hello,
Hi Sebastien!
> I'm trying to write a small library of differential geometry, and I
> have some trouble subclassing ndarray.
> I'd like an HomogeneousMatrix class that subclasse ndarray and
> overloads some methods, such as inv(
Hello,
I'm trying to write a small library of differential geometry, and I
have some trouble subclassing ndarray.
I'd like an HomogeneousMatrix class that subclasse ndarray and
overloads some methods, such as inv().
Here is my first try, the inv() function and the inv_v1() method work
as expecte