Table Of Contents

Matrix-Vector Product (Triangle) (G Dataflow)

Last Modified: January 12, 2018

Calculates the product of a triangular matrix and a vector.

connector_pane_image
datatype_icon

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

datatype_icon

A

Triangular matrix.

The number of rows and columns in op(A) must be greater than or equal to N, where N equals the number of elements in x.

This node multiplies the first N rows and N columns of op(A) by x.

This input accepts the following data types:

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

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
datatype_icon

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

datatype_icon

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

datatype_icon

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

datatype_icon

dtrmv

Vector of the same size as x that returns the result of op(A) * x.

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.

datatype_icon

ztrmv

Vector of the same size as x that returns the result of op(A) * x.

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.

datatype_icon

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


Recently Viewed Topics