# LinEqs

Advanced Analysis Library Only

AnalysisLibErrType LinEqs (void *inputArray, double knownVectorArray[], int arraySizes, double outputArray[]);

## Purpose

| Note This function is obsolete. National Instruments recommends that you use SolveEqs instead.

Solves the linear system of equations:

Ax = y

| Note The input matrix must be square and must be the same size as knownVectorArray and outputArray.

### Example

/* Find the solution to the linear system of equations. */
double A[10][10], y[10], x[10];
int n;
n = 10;
.
.
.
LinEqs (A, y, n, x);

## Parameters

Input
Name | Type | Description
inputArray | numeric array | Input matrix. This matrix must be an array of doubles.
knownVectorArray | double-precision array | Known vector.
arraySizes | integer | The number of rows and columns in the square input matrix and the number of elements in the known vector array.
Output
Name | Type | Description
outputArray | double-precision array | Solution to the linear system of equations.

## Return Value

Name | Type | Description
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.