A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://arrayfire.org/docs/group__lapack__solve__lu__func__gen.htm below:

ArrayFire: solveLU

Solve a system of equations. More...

Solve a system of equations.

This function takes a co-efficient matrix \(A\) and an output matrix \(B\) as inputs to solve the following equation for \(X\), \(A * X = B\).

This operation can be done in ArrayFire using the following code snippet.

A multi dimensional data container.

AFAPI void lu(array &out, array &pivot, const array &in, const bool is_lapack_piv=true)

C++ Interface to perform LU decomposition in packed format.

AFAPI array solveLU(const array &a, const array &piv, const array &b, const matProp options=AF_MAT_NONE)

C++ Interface to solve a system of equations.

This function, along with af::lu, split up the task af::solve performs for square matrices.

This function is beneficial over af::solve only in long running application where the coefficient matrix \(A\) stays the same, but the observed variables keep changing.

◆ af_solve_lu()

C Interface to solve a system of equations.

The options parameter currently must be AF_MAT_NONE.

Parameters
[out] x matrix of unknown variables [in] a packed LU decomposition of the coefficient matrix [in] piv pivot array from the packed LU decomposition of the coefficient matrix [in] b measured values [in] options determines various properties of matrix a
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given
◆ solveLU()

C++ Interface to solve a system of equations.

The options parameter currently must be AF_MAT_NONE.

This function is not supported in GFOR.

Parameters
[in] a packed LU decomposition of the coefficient matrix [in] piv pivot array from the packed LU decomposition of the coefficient matrix [in] b measured values [in] options determines various properties of matrix a
Returns
x, the matrix of unknown variables

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4