[code=python] import numpy as np
X1_1=float (input (" please enter the first public point x1 new coordinates "))
Y1_1=float (input (" please enter the new coordinates y1 "))
X1_2=float (input (" please enter the original coordinates x1 "))
Y1_2=float (input (" please enter the y1 original coordinates "))
X2_1=float (input (" please enter the second new coordinates "common point x2))
Y2_1=float (input (" please enter the new coordinates y2 "))
X2_2=float (input (" please input x2 original coordinates "))
Y2_2=float (input (" please enter the y2 original coordinates "))
Def Sicanshu (a, b, c, d) :
B=np. Array ([[1, 0, x1_2, - y1_2],
[0, 1, y1_2, x1_2],
(1, 0, x2_2 - y2_2],
[0, 1, y2_2, x2_2],])
X=np. Array ([[a],
[b],
[c],
[d]])
J=np array ([[x1_1],
[y1_1],
[x2_1],
[y2_1]])
P=np. Matlib. Eye (6,6,0 dtype=int)
Because just started to learn python, it is difficult, I want to know how can add unknowns in python, matrix to unknown, the inverse matrix and how should I according to the point of how to increase the matrix computation, as well as numpy library use, hope to have a great god can come help me