Skip to content
ForCADDocumentation

dyad Interface

public interface dyad

Compute the dyadic product .


Module Procedures

private pure function dyad_t1_t1(a, b) result(c)

Form the dyadic product of two real vectors.

The allocated result has shape [size(a),size(b)] and entries .

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), contiguous :: a(:)

Row-index factor.

real(kind=rk), intent(in), contiguous :: b(:)

Column-index factor.

Return Value real(kind=rk), allocatable, (:,:)

Allocated dyadic-product matrix.