4.2.2. linsolve

This module defines the interface for solving linear systems of equations.

Problems to be solved are of the form:

\[ A x = b, \]
where \(A\) is a square matrix and \(b\) is a vector.

Functions

int oif_solve_linear_system(ImplHandle implh, OIFArrayF64 *A, OIFArrayF64 *b, OIFArrayF64 *x)

Solve the linear system of equations \(A x = b\).

Parameters:
  • implh[in] Implementation handle

  • A[in] Coefficient matrix with shape (n, n)

  • b[in] Right-hand side vector with shape (n,)

  • x[out] Solution vector with shape (n,)