Posts by Nícolas Hawas • 1 point
1 post
-
0
votes1
answer466
viewsQ: A = A.astype('double') Attributeerror: 'list' Object has no attribute 'astype'
I have this error but I can’t find the cause. Code: from __future__ import division import numpy as np from numpy import linalg def jacobi(A,b,x0,tol,N): #preliminares A = A.astype('double') b =…