# Solve Linear Equations (Single) (G Dataflow)

Solves a triangular matrix problem.  ## operation A

Operation this node performs on A.

Name Value Description
Direct 0 op(A) = A
Conjugated and Transposed 1 op(A) = conjugate transpose of A
Transposed 2 op(A) = transpose of A

Default: Direct ## A

Triangular matrix of at least N rows and N columns, where N equals the number of elements in x.

This node uses the first N rows and N columns in op(A) for the calculation.

This input accepts the following data types:

• 2D array of double-precision, floating-point numbers
• 2D array of complex double-precision, floating-point numbers ## x

Vector of N elements.

This input accepts the following data types:

• 1D array of double-precision, floating-point numbers
• 1D array of complex double-precision, floating-point numbers ## matrix A type

Triangular matrix type of A.

Name Value Description
Lower Triangular 2 A is a lower triangular matrix.
Upper Triangular 3 A is an upper triangular matrix.

Default: Upper Triangular ## error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error  If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error ## diagonal

Value that determines how to use the diagonal elements of A.

Name Value Description
Non-unit 0 Uses the original diagonal elements of A.
Unit 1 Uses 1 as the value for all diagonal elements of A.

Default: Non-unit ## dtrsv

Vector of the same size as x.

This output returns the result of op(A) * dtrsv = x solved for dtrsv.

This output is available only if you wire a 1D array of double-precision, floating-point numbers to x, or a 2D array of double-precision, floating-point numbers to A. ## ztrsv

Vector of the same size as x.

This output returns the result of op(A) * ztrsv = x solved for ztrsv.

This output is available only if you wire a 1D array of complex double-precision, floating-point numbers to x, or a 2D array of complex double-precision, floating-point numbers to A. ## error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error  If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application