Pyspark, Finite Element Analysis, Mathematical Modeling, Databricks.
col("row_index1")) .withColumn("node_row_index_for_n2", (col("column_index2") - 1) * (N2 + 1) + col("row_index2")) .select("alpha", "x1", "y1", "x2", "y2", "node_row_index_for_n1", "node_row_index_for_n2", "n1", "n2") .orderBy("alpha") ) return P_spark, T_spark h1 = 0.5 h2 = h1 left = 0 right = 1