Package sage :: Package mode :: Module pari
[show private | hide private]
[frames | no frames]

Module sage.mode.pari

Function Summary
  elladd(e, z1, z2)
sum of the points z1 and z2 on elliptic curve e.
  ellj(e)
elliptic j invariant of e.
  vector(n, expr)
row vector with n components of expression expr (X ranges from 1 to n).

Function Details

elladd(e, z1, z2)

sum of the points z1 and z2 on elliptic curve e.

ellj(e)

elliptic j invariant of e.

vector(n, expr='0')

row vector with n components of expression expr (X ranges from 1 to n). By default, fill with 0s.

expr must be a string that involves a variable X.

WARNING: The expression is evaluated in Python, so ^ is not automatically replaced by **, and integer literals are Python ints.

EXAMPLE:
>>> vector(10,"X**2")
[1, 4, 9, 16, 25, 36, 49, 64, 81, 100]

>>> vector(5, "X+1")
[2, 3, 4, 5, 6]

Generated by Epydoc 2.1 on Fri May 20 19:41:03 2005 http://epydoc.sf.net