TABLE OF CONTENTS
- 1. /matrix
- 1.1. matrix/matrixMult
- 1.2. matrix/dagger
- 1.3. matrix/trace
- 1.4. matrix/printMatrix
/matrix [ Modules ]
NAME
module matrix
PURPOSE
This module defines functions which are connected to matrices: Matrix multiplication, ....
matrix/matrixMult [ Subroutines ]
[ Top ] [ matrix ] [ Subroutines ]
NAME
function matrixMult(a,b,c,...) result(matrix)
PURPOSE
Evaluates a x b x c x ... for matrices
INPUTS
- a,b,c : matrices a,b,c -- this interface excepts a number of matrices between 2 and 9
- The matrices should be complex
OUTPUT
- complex, dimension(0:3,0:3) :: matrix
matrix/dagger [ Functions ]
[ Top ] [ matrix ] [ Functions ]
NAME
function dagger(a) result(a_dagger)
PURPOSE
Evaluates a^Dagger=Transpose(Conj(a))
INPUTS
- complex, dimension(0:3,0:3) :: a
OUTPUT
- complex, dimension(0:3,0:3) :: a_dagger
matrix/trace [ Functions ]
[ Top ] [ matrix ] [ Functions ]
NAME
complex function trace(a)
PURPOSE
Evaluates Trace (a_{mu nu})
INPUTS
- real, dimension(0:3,0:3) :: a
OUTPUT
- complex
matrix/printMatrix [ Subroutines ]
[ Top ] [ matrix ] [ Subroutines ]
NAME
subroutine printMatrix(A)
PURPOSE
INPUTS
- real, dimension(0:3,0:3) :: A
OUTPUT
- NONE