Neural network algorithm based on Legendre improved extreme learning machine for solving elliptic partial differential equations