Pyspark, Finite Element Analysis, Mathematical Modeling, Databricks.
using Numpy and PySpark. Looking at linear and quadratic basis functions, Numpy outperforms PySpark by a wide margin. Based on my testing, Numpy outperforms PySpark up to 10^(-6). So, using the usual matrix approach with for-loops is the best choice. Numerical values for execution time with PySpark