Colinear Definition

# Are the inputed Points all on the same line?

Colinear:=proc() local i:

if nargs<2 then ERROR(`Need at least two Pts`): fi:

for i from 3 to nargs do
   if   AREA (args[1],args[2],args[i])<>0 then RETURN(false):   fi:  
od:

true:

end:


Definitions     Theorems