Question: Write two functions with python to perform forward and back substitution. define a function # name : forward _ subs # inputs : G (
Write two functions with python to perform forward and back substitution.
define a function
# name : forwardsubs
# inputs : G D numpy array b d numpy array
# output : x d numpy array solution to Gxb
# note : assume the sizes are compatible
# note : assume G is square, invertible, and lower triangular
# note : the computation should be done using for loops
# rather than a builtin numpy function
# note : the function should work for square matrices of any size
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
