# [−][src]Function arrayfire::solve

`pub fn solve<T>(a: &Array<T>, b: &Array<T>, options: MatProp) -> Array<T> where`

T: HasAfEnum + FloatingPoint,

Solve a system of equations

# Parameters

`a`

is the coefficient matrix`b`

has the measured values`options`

determine the various properties of matrix a

The `options`

parameter currently needs to be either `NONE`

, `LOWER`

or `UPPER`

, other values are not supported yet.

# Return Values

An Array which is the matrix of unknown variables