Hi all,

I'm currently writing a code that needs three dimensional data (for the 
physicists it's dimensions are atom, ion, level). The problem is that not all 
combinations do exist (a sparse array). Sparse matrices in scipy only deal with 
two dimensions. The operations that I need to do on those are running functions 
like exp(item/constant) on all of the items. I also want to sum them up in the 
last dimension. What's the best way to make a class that takes this kind of 
data and does the required operations fast. Maybe some phycisists have 
implemented these things already. Any thoughts?

Cheers
   Wolfgang
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to