Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

nrm2 - Vector 2-Norm (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Calculates the Euclidean norm of a vector.

The data type you wire to the x input determines the polymorphic instance to use.

Details  

Use the pull-down menu to select an instance of this VI.

dnrm2 - Vector 2-Norm (DBL)

xInc determines whether the VI skips elements in x for the calculation. The default is 1, meaning the VI does not skip any elements in x. xInc is an optional input.
Note  If you wire a value other than the default to xInc, the VI skips elements that have indexes that are multiples of the value you wire. If you wire a value that is greater than or equal to the number of elements in x, the VI uses only the first element in x for the calculation. If you wire a value that is less than 0, the VI reverses the order of the elements before it calculates the result.
x is a real vector.
dnrm2 is the Euclidean norm of x.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

dznrm2 - Vector 2-Norm (CDB)

xInc determines whether the VI skips elements in x for the calculation. The default is 1, meaning the VI does not skip any elements in x. xInc is an optional input.
Note  If you wire a value other than the default to xInc, the VI skips elements that have indexes that are multiples of the value you wire. If you wire a value that is greater than or equal to the number of elements in x, the VI uses only the first element in x for the calculation. If you wire a value that is less than 0, the VI reverses the order of the elements before it calculates the result.
x is a complex vector.
dznrm2 is the Euclidean norm of x.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

nrm2 - Vector 2-Norm Details

Refer to BLAS (Basic Linear Algebra Subprograms) for more information on the BLAS functions.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit