Thank you Harald. Actually, I think I do need the whole list/array with the 
function evaluated - either as a list or an array. (I am working the 
TriDiagonal Algorithm.). I am an "in-between" person. I have found that the 
students make no connection between their engineering classes that often 
use extremely sophisticated commands from MatLab or just recipes and their 
math classes with analytic solutions. So I am trying to teach them to do 
mathematics (or at least check their analytic solutions) with technology 
but in a way that the understand the steps. I need the simplest most 
intuitive format possible with the least number of commands. I am still 
deciding whether to go with Sage lists or NumPy arrays. I had already done 
the TDA with lists when I thought I should check numpy arrays (and got 
stuck on the function array). As I understand, arrays are faster as their 
size is pre-allocated and all elements must be of the same data type.
Thanks again, Linda
P.S. I see the way to "see" whether it is a list or an array in sage is to 
use print. If you get commas, it is a list; if you don't it is an array.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to