change numpy type for mat matrix
This commit is contained in:
parent
c84e96a575
commit
b7bc173e3c
2
main.py
2
main.py
@ -173,7 +173,7 @@ if __name__ == "__main__":
|
|||||||
x1 = np.asarray(range(0, 4))
|
x1 = np.asarray(range(0, 4))
|
||||||
x2 = np.asarray(range(0, 4))
|
x2 = np.asarray(range(0, 4))
|
||||||
y = f(x1, x2)
|
y = f(x1, x2)
|
||||||
mat = np.asmatrix([x1, x2, y])
|
mat = np.asarray([x1, x2, y])
|
||||||
|
|
||||||
plt3d = plt.figure().gca(projection='3d')
|
plt3d = plt.figure().gca(projection='3d')
|
||||||
xx, yy = np.meshgrid(range(10), range(10))
|
xx, yy = np.meshgrid(range(10), range(10))
|
||||||
|
Loading…
Reference in New Issue
Block a user