Calculates the anticommutator between two complex square matrices.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=wp), | intent(in), | dimension(:, :) | :: | A |
Left matrix [n×n] |
|
complex(kind=wp), | intent(in), | dimension(size(A, 1), size(A, 1)) | :: | B |
Right matrix [n×n] |
Anticommutator R = {A,B}