[Numpy-discussion] Dyadic Python

Paul F Dubois paul at pfdubois.com
Sat Oct 12 21:33:05 CDT 2002


What took me a long while to appreciate is that inheriting from Numeric
wasn't going to do me any good precisely because any operation such as
a+b was going to produce an array not one of my new foos, unless I
overrode it. So in fact you end up having to override darn near
everything. I can only suggest MA as an example. People have succeeded
in similar tasks by starting with the MA source and changing it to suit.

> -----Original Message-----
> From: numpy-discussion-admin at lists.sourceforge.net 
> [mailto:numpy-discussion-admin at lists.sourceforge.net] On Behalf Of Rob
> Sent: Saturday, October 12, 2002 3:13 PM
> To: numpy-discussion at lists.sourceforge.net
> Subject: [Numpy-discussion] Dyadic Python
> 
> 
> As a help for me learning Dyadic vector analysis, I have been 
> working on a Numpy class for manipulating Dyads.  I am 
> wondering if anyone else has any similar interests.  Most of 
> the impetus for the work comes from "Methods for 
> Electromagnetic Field Analysis" by Ismo Lindell.  In numerous 
> searches I found no computer code dealing with Dyads.
> 
> My biggest stumbling block so far is integrating the 
> symbolism of Dyadic analysis into something understandable.  
> Operator overloading isn't
> going to help me.   For example in my program:
> 
> A=dyad(a,b) where a and b are complex vectors
> B=dyad(c,d)       "
> A.dmmd(B) is equivalent to double dyadic multiplication of the dyads A
> and B.  :)   In a book this would be written something like  A xx B
> except that the x's would be aligned vertically.
> 
> Ok, its an insane project.    Rob.
>                           
> 
> -- 
> -----------------------------
> The Numeric Python EM Project
> 
www.pythonemproject.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Numpy-discussion mailing list Numpy-discussion at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion





More information about the Numpy-discussion mailing list