Skip to Content

contrôle

  1. # contrôle global
  2. print M * fp
  3. matrix([[ 1616411.9125,1617482.5175,1617503.8225,1616433.2175],
  4. [ 9173672.32999999,9173641.84,9174389.85,9174420.34]])
  5.  
  6. # contrôle par point
  7. xfp = np.matrix([[1],[8810],[1]])
  8. xtp = M * x0
  9. print xtp
  10. matrix([[ 1616433.2175],
  11. [ 9174420.34 ]])
  12.  
  13. # nouveau point
  14. xfp = np.matrix([[0],[8810],[1]])
  15. xtp = M * xfp
  16. print xtp
  17. matrix([[ 1616433.13258526],
  18. [ 9174420.34241831]])