This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_algebra_lin_system_solve

Function Documentation

int rc_algebra_lin_system_solve(rc_matrix_t A, rc_vector_t b, rc_vector_t *x)

Solves Ax=b for given matrix A and vector b.

Places the result in vector x. existing contents of x are freed and new memory is allocated if necessary.

Parameters
  • A[in] matrix A

  • b[in] column vector b

  • x[out] solution column vector

Returns

Returns 0 on success or -1 on failure.