operator(.sub.) Interface

public interface operator(.sub.)

substract two real square matrices element wise A-B = A .sub. B This functionality is provided by f90. Element wise, arrays (of same dimensionality) can be added, substracted, multiplied and divided. sub_real_matrix_matrix is not a LAPACK feature. (Michael)


Module Procedures

private function sub_real_matrix_matrix(a, b) result(c)

Arguments

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

Return Value real(kind=long), (size(a,dim=1),size(a,dim=1))