|
Contents | Previous | Next | Subchapters |
| Syntax |
poladd(p, q) |
| See Also | polmul , polval , pol2asc |
v[x] is
1 2 n-1
v[x] = v + v x + v x + ... + v x
1 2 3 n
The return value has the same type as a binary operation between the
type of p and the type of q and its length
is the maximum of the lengths of p and q.
p = {1, 2}
q = {1, 2, 3, 4}
poladd(p, q)
O-Matrix will respond
{
2
4
3
4
}
Note that if you attempted to evaluate the expression
p + q
O-Matrix would respond with an error message because the length of
p and q are different.