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

This routine calculates the outer product of two vectors, \(u = \left(u_1, u_2, \ldots, u_m\right)\) and \(v = \left(v_1, v_2, \ldots ,v_n\right)\). More...

Public Member Functions

real(siki) function, dimension(size(u), size(v)) outerproductr4 (u, v)
 This routine calculates the outer product of two vectors, \(u = \left(u_1, u_2, \ldots, u_m\right)\) and \(v = \left(v_1, v_2, \ldots ,v_n\right)\). More...
 
real(r8ki) function, dimension(size(u), size(v)) outerproductr8 (u, v)
 This routine calculates the outer product of two vectors, \(u = \left(u_1, u_2, \ldots, u_m\right)\) and \(v = \left(v_1, v_2, \ldots ,v_n\right)\). More...
 
real(quki) function, dimension(size(u), size(v)) outerproductr16 (u, v)
 This routine calculates the outer product of two vectors, \(u = \left(u_1, u_2, \ldots, u_m\right)\) and \(v = \left(v_1, v_2, \ldots ,v_n\right)\). More...
 

Detailed Description

This routine calculates the outer product of two vectors, \(u = \left(u_1, u_2, \ldots, u_m\right)\) and \(v = \left(v_1, v_2, \ldots ,v_n\right)\).

The outer product is defined as

\begin{equation} A = u \otimes v = \begin{bmatrix} u_1 v_1 & u_1 v_2 & \dots & u_1 v_n \\ u_2 v_1 & u_2 v_2 & \dots & u_2 v_n \\ \vdots & \vdots & \ddots & \vdots \\ u_m v_1 & u_m v_2 & \dots & u_m v_n \end{bmatrix} \end{equation}

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

Parameters
[in]ufirst vector, \(u\), in the outer product
[in]vsecond vector, \(v\), in the outer product
Returns
the resultant matrix, A

Member Function/Subroutine Documentation

◆ outerproductr16()

real(quki) function, dimension(size(u),size(v)) nwtc_num::outerproduct::outerproductr16 ( real(quki), dimension(:), intent(in)  u,
real(quki), dimension(:), intent(in)  v 
)

This routine calculates the outer product of two vectors, \(u = \left(u_1, u_2, \ldots, u_m\right)\) and \(v = \left(v_1, v_2, \ldots ,v_n\right)\).

The outer product is defined as

\begin{equation} A = u \otimes v = \begin{bmatrix} u_1 v_1 & u_1 v_2 & \dots & u_1 v_n \\ u_2 v_1 & u_2 v_2 & \dots & u_2 v_n \\ \vdots & \vdots & \ddots & \vdots \\ u_m v_1 & u_m v_2 & \dots & u_m v_n \end{bmatrix} \end{equation}

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

Parameters
[in]ufirst vector, \(u\), in the outer product
[in]vsecond vector, \(v\), in the outer product
Returns
the resultant matrix, A

◆ outerproductr4()

real(siki) function, dimension(size(u),size(v)) nwtc_num::outerproduct::outerproductr4 ( real(siki), dimension(:), intent(in)  u,
real(siki), dimension(:), intent(in)  v 
)

This routine calculates the outer product of two vectors, \(u = \left(u_1, u_2, \ldots, u_m\right)\) and \(v = \left(v_1, v_2, \ldots ,v_n\right)\).

The outer product is defined as

\begin{equation} A = u \otimes v = \begin{bmatrix} u_1 v_1 & u_1 v_2 & \dots & u_1 v_n \\ u_2 v_1 & u_2 v_2 & \dots & u_2 v_n \\ \vdots & \vdots & \ddots & \vdots \\ u_m v_1 & u_m v_2 & \dots & u_m v_n \end{bmatrix} \end{equation}

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

Parameters
[in]ufirst vector, \(u\), in the outer product
[in]vsecond vector, \(v\), in the outer product
Returns
the resultant matrix, A

◆ outerproductr8()

real(r8ki) function, dimension(size(u),size(v)) nwtc_num::outerproduct::outerproductr8 ( real(r8ki), dimension(:), intent(in)  u,
real(r8ki), dimension(:), intent(in)  v 
)

This routine calculates the outer product of two vectors, \(u = \left(u_1, u_2, \ldots, u_m\right)\) and \(v = \left(v_1, v_2, \ldots ,v_n\right)\).

The outer product is defined as

\begin{equation} A = u \otimes v = \begin{bmatrix} u_1 v_1 & u_1 v_2 & \dots & u_1 v_n \\ u_2 v_1 & u_2 v_2 & \dots & u_2 v_n \\ \vdots & \vdots & \ddots & \vdots \\ u_m v_1 & u_m v_2 & \dots & u_m v_n \end{bmatrix} \end{equation}

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

Parameters
[in]ufirst vector, \(u\), in the outer product
[in]vsecond vector, \(v\), in the outer product
Returns
the resultant matrix, A

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