cross_product Interface

public interface cross_product

Computes the cross product of two vectors, returning a rank-1 and size-3 array (Specification)


Functions

private pure module function cross_product_cdp(a, b) result(res)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: a(3)
complex(kind=dp), intent(in) :: b(3)

Return Value complex(kind=dp), (3)

private pure module function cross_product_csp(a, b) result(res)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: a(3)
complex(kind=sp), intent(in) :: b(3)

Return Value complex(kind=sp), (3)

private pure module function cross_product_iint16(a, b) result(res)

Arguments

Type IntentOptional Attributes Name
integer(kind=int16), intent(in) :: a(3)
integer(kind=int16), intent(in) :: b(3)

Return Value integer(kind=int16), (3)

private pure module function cross_product_iint32(a, b) result(res)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: a(3)
integer(kind=int32), intent(in) :: b(3)

Return Value integer(kind=int32), (3)

private pure module function cross_product_iint64(a, b) result(res)

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: a(3)
integer(kind=int64), intent(in) :: b(3)

Return Value integer(kind=int64), (3)

private pure module function cross_product_iint8(a, b) result(res)

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: a(3)
integer(kind=int8), intent(in) :: b(3)

Return Value integer(kind=int8), (3)

private pure module function cross_product_rdp(a, b) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: a(3)
real(kind=dp), intent(in) :: b(3)

Return Value real(kind=dp), (3)

private pure module function cross_product_rsp(a, b) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: a(3)
real(kind=sp), intent(in) :: b(3)

Return Value real(kind=sp), (3)