On 1/16/11 11:49 PM, Minh Nguyen wrote:
Hi Siham,

On Mon, Jan 17, 2011 at 8:01 AM, siham ezzouak<[email protected]>  wrote:
Hi,
yes of course In C/C++ language we can use empty stack and after push
element in the stack to store element and we can pop element from the stack.
if you want more explanation you can see
link http://en.wikipedia.org/wiki/Stack_(data_structure)
In my project I want to use elliptic curve with stack to stock all Points.
I hope we understand my idea.
thank you very much for you help

The main language you use to interface with Sage is Python [1]. Python
doesn't have stacks per se as a built-in data structure. However you
can use Python lists to simulate stacks. See the following section of
the Python reference manual for more information:

http://docs.python.org/library/stdtypes.html#mutable-sequence-types

[1] http://www.python.org


See also http://docs.python.org/tutorial/datastructures.html#using-lists-as-stacks to see how to easily use lists as stacks.

Jason


--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to