PDA

View Full Version : maple gaussian reduction multiplying rows


deryk
Oct15-05, 07:39 AM
Hello, Im using maple for gaussian reduction.

I have to do it row by row for 1 part

> g:=swaprow(f,1,2);



[ 0. 3.5 3.5 3.5]

[ ]

g := [ 2 -1 -5 -7]

[ ]

[-0. 0. 0. 0.]

> h:=swaprow(g,1,2);



[ 2 -1 -5 -7]

[ ]

h := [ 0. 3.5 3.5 3.5]

[ ]

[-0. 0. 0. 0.]

> i:=addrow(h,2,1,1/3.5);



[ 2. 0. -4.000000000 -6.000000000]

[ ]

i := [ 0. 3.5 3.5 3.5]

[ ]

[-0. 0. 0. 0.]

> j:=multiplyrow(i,2,1/3.5);



j := multiplyrow(i, 2, 0.2857142857)

There is something wrong with my command but it's exactly how it shows in the help section of my maple 9 program. Does anyone know what the problem, sorry if I posted in the wrong section. thanks