1Function: nfeltadd
2Section: number_fields
3C-Name: nfadd
4Prototype: GGG
5Help: nfeltadd(nf,x,y): element x+y in nf.
6Doc:
7 given two elements $x$ and $y$ in
8 \var{nf}, computes their sum $x+y$ in the number field $\var{nf}$.
9
10 \bprog
11 ? nf = nfinit(1+x^2);
12 ? nfeltadd(nf, 1, x) \\ 1 + I
13 %2 = [1, 1]~
14 @eprog
15