Even or odd
Chris De Corte <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <[email protected]> |
Sorry to bother you. But how can you tell if a number is odd or even in paris go?
Please help, Chris
On Sunday, October 4, 2015, 08:32:45 AM GMT+2, Loïc Grenié <[email protected]> wrote:
On 2015-10-04 at 3:53 GMT+02:00 Chris De Corte wrote:
Hi,
I try to multiply to 1x1 matrices but get an error:
? [1]*[1]
*** at top-level: [1]*[1] *** ^---- *** _*_: forbidden multiplication t_VEC * t_VEC.
[1] is a vector, not a matrix. If you want a matrix, you have to force it:
? Mat([1])*Mat([1])
%1 =
[1]
? type(%)
%2 = "t_MAT"
Loïc