OpenFAST
Wind turbine multiphysics simulator
Public Member Functions | List of all members
nwtc_num::twonorm Interface Reference

This function returns the \(l_2\) (Euclidian) norm of a vector, \(v = \left(v_1, v_2, \ldots ,v_n\right)\). More...

Public Member Functions

real(siki) function twonormr4 (v)
 This function returns the \(l_2\) (Euclidian) norm of a vector, \(v = \left(v_1, v_2, \ldots ,v_n\right)\). More...
 
real(r8ki) function twonormr8 (v)
 This function returns the \(l_2\) (Euclidian) norm of a vector, \(v = \left(v_1, v_2, \ldots ,v_n\right)\). More...
 
real(quki) function twonormr16 (v)
 This function returns the \(l_2\) (Euclidian) norm of a vector, \(v = \left(v_1, v_2, \ldots ,v_n\right)\). More...
 

Detailed Description

This function returns the \(l_2\) (Euclidian) norm of a vector, \(v = \left(v_1, v_2, \ldots ,v_n\right)\).

The \(l_2\)-norm is defined as

\begin{equation} \lVert v \rVert_2 = \left( \sum_{i=1}^{n} {v_i}^2 \right)^{1/2} \end{equation}


Use TwoNorm (nwtc_num::twonorm) instead of directly calling a specific routine in the generic interface.

Parameters
[in]vvector, v
Returns
two-norm of v

Member Function/Subroutine Documentation

◆ twonormr16()

real(quki) function nwtc_num::twonorm::twonormr16 ( real(quki), dimension(:), intent(in)  v)

This function returns the \(l_2\) (Euclidian) norm of a vector, \(v = \left(v_1, v_2, \ldots ,v_n\right)\).

The \(l_2\)-norm is defined as

\begin{equation} \lVert v \rVert_2 = \left( \sum_{i=1}^{n} {v_i}^2 \right)^{1/2} \end{equation}


Use TwoNorm (nwtc_num::twonorm) instead of directly calling a specific routine in the generic interface.

Parameters
[in]vvector, v
Returns
two-norm of v

◆ twonormr4()

real(siki) function nwtc_num::twonorm::twonormr4 ( real(siki), dimension(:), intent(in)  v)

This function returns the \(l_2\) (Euclidian) norm of a vector, \(v = \left(v_1, v_2, \ldots ,v_n\right)\).

The \(l_2\)-norm is defined as

\begin{equation} \lVert v \rVert_2 = \left( \sum_{i=1}^{n} {v_i}^2 \right)^{1/2} \end{equation}


Use TwoNorm (nwtc_num::twonorm) instead of directly calling a specific routine in the generic interface.

Parameters
[in]vvector, v
Returns
two-norm of v

◆ twonormr8()

real(r8ki) function nwtc_num::twonorm::twonormr8 ( real(r8ki), dimension(:), intent(in)  v)

This function returns the \(l_2\) (Euclidian) norm of a vector, \(v = \left(v_1, v_2, \ldots ,v_n\right)\).

The \(l_2\)-norm is defined as

\begin{equation} \lVert v \rVert_2 = \left( \sum_{i=1}^{n} {v_i}^2 \right)^{1/2} \end{equation}


Use TwoNorm (nwtc_num::twonorm) instead of directly calling a specific routine in the generic interface.

Parameters
[in]vvector, v
Returns
two-norm of v

The documentation for this interface was generated from the following file: