Therefore, I was assigned homework, which requires solving the coefficients of cubic splines. Now I clearly understand how to do the math on paper, as well as with MatLab, I want to solve the problem with Python. Given the equation Ax = b, where I know the values โโof A and b, I want to be able to solve for x with Python, and I'm having trouble finding a good resource to do such a thing.
Ref.
A = |1 0 0| |1 4 1| |0 0 1| x = Unknown 3x1 matrix b = |0 | |24| |0 |
Solve for x
python numpy matrix-multiplication
Scalahansolo
source share