Question: Maple Procedures: general matrix problem

Ok, I'm writing a procedure that will return either true or false as to whether a given coordinate (u,v) lies with the plane polygon, made up of n sets of points (xi,yi). I can write the loop code (I think) to check whether u and v are within the intervals; what i cannot do is define the matrix properly that representsteh points. I think it should look like: A:=linalg[det](linalg[Matrix](3,3,[X,Y,1,x[1],y[1],1,x[2],y[2],1])) Obviously this is for a 3x3; I want to replace the x[1], y[1] with i's; however, no matter which way i do this i get an error message saying that i have invalid parameters for a matrix. ANy help or guidance would be much appreciated. Kind Regards Jon
Please Wait...