Cpp, Numerical Methods, Programming.
u[1:-1, 2:]) * 4.0 + u[0:-2, 0:-2] + u[0:-2, 2:] + u[2: , 0:-2] + u[2: , 2:]) / 20.0 where “u” is a square matrix of size [num*num where num=100,150,200]. At least to help with aliasing we are going to make an explicit copy. Written in Fastor (and in fact Eigen 3.4 as well which will be released