Chris De Corte on Tue, 09 Mar 2021 00:15:28 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Even or odd


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é <loic.grenie@gmail.com> 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