Venkataraman Subramaniam on Wed, 06 Apr 2022 10:56:46 +0200


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

Problem with mateigen() command.


The mateigen gives wrong answer for the input [1,0,-1;0,1,0;-1,0,-1]
Pari]  m=[1,0,-1;0,1,0;-1,0,-1]


%1 = (
1  0 -1
0  1 0
-1 0 -1
)
Pari]  mateigen(m)


%2 = (
0 0.41421356237309504880168872420969807857 -2.4142135623730950488016887242096980786
1 0                                        0
0 1                                        1
)
What could be the problem?
I am using gp 2.13.2 version, windows executable.
Best,

S. Venkataraman Associate Professor in Mathematics School of Sciences Indira Gandhi National Open University Maidan Garhi New Delhi-110 068 INDIA Tel.; 29572812(o)