Question: I have to write a function call_dgesv(matrix_t * A, vector_t * b) in C, which uses the LAPACK routine DGESV. I have two inputs, the
I have to write a function call_dgesv(matrix_t * A, vector_t * b) in C, which uses the LAPACK routine DGESV. I have two inputs, the pointer to matrix A, and pointer to vector b, from which the function dgesv should be called to solve the system Ax=b. But since I have to use the shown structures from the header file, I have problems converting the vector b to matrix B input which the function requires.
Header:


Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
