Vector Norm VI
- Updated2023-02-21
- 7 minute(s) read
Vector Norm VI
Owning Palette: Linear Algebra VIs
Requires: Multicore Analysis and Sparse Matrix Toolkit
Computes the norm of Input Vector.
Wire data to the Input Vector input to determine the polymorphic instance to use or manually select the instance.
Vector Norm (DBL)

![]() |
Input Vector specifies a vector. If Input Vector is empty, this VI sets norm to NaN. | ||||||||||
![]() |
norm type specifies the type of vector norm to compute. Let X represent the Input Vector. ||X||p represents the norm of X, where p are the different types of vector norms, such as 1-norm, 2-norm, and so on, that this VI can compute.
|
||||||||||
![]() |
user defined norm specifies the user defined norm type. The default is –1. user defined norm is valid only if norm type is User Defined. user defined norm must be nonzero. | ||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||
![]() |
norm returns the norm of Input Vector. | ||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Vector Norm (SGL)

![]() |
Input Vector specifies a vector. If Input Vector is empty, this VI sets norm to NaN. | ||||||||||
![]() |
norm type specifies the type of vector norm to compute. Let X represent the Input Vector. ||X||p represents the norm of X, where p are the different types of vector norms, such as 1-norm, 2-norm, and so on, that this VI can compute.
|
||||||||||
![]() |
user defined norm specifies the user defined norm type. The default is –1. user defined norm is valid only if norm type is User Defined. user defined norm must be nonzero. | ||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||
![]() |
norm returns the norm of Input Vector. | ||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Vector Norm (CDB)

![]() |
Input Vector specifies a vector. If Input Vector is empty, this VI sets norm to NaN. | ||||||||||
![]() |
norm type specifies the type of vector norm to compute. Let X represent the Input Vector. ||X||p represents the norm of X, where p are the different types of vector norms, such as 1-norm, 2-norm, and so on, that this VI can compute.
|
||||||||||
![]() |
user defined norm specifies the user defined norm type. The default is –1. user defined norm is valid only if norm type is User Defined. user defined norm must be nonzero. | ||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||
![]() |
norm returns the norm of Input Vector. | ||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Vector Norm (CSG)

![]() |
Input Vector specifies a vector. If Input Vector is empty, this VI sets norm to NaN. | ||||||||||
![]() |
norm type specifies the type of vector norm to compute. Let X represent the Input Vector. ||X||p represents the norm of X, where p are the different types of vector norms, such as 1-norm, 2-norm, and so on, that this VI can compute.
|
||||||||||
![]() |
user defined norm specifies the user defined norm type. The default is –1. user defined norm is valid only if norm type is User Defined. user defined norm must be nonzero. | ||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||
![]() |
norm returns the norm of Input Vector. | ||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Vector Norm Details
The following table lists the support characteristics of this VI.
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Yes |












