eye Module Function

public pure module function eye(n) result(res)

Return an n x n identity matrix

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n

Return Value integer, (n,n)