Simple algebraic functions
Implements the cross/vector product between two 3D vectors
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | a(3) |
First vector |
||
real(kind=wp), | intent(in) | :: | b(3) |
Second vector |
Orthogonal vector
Determinant of 3×3 matrix
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | a(3,3) |
Matrix |
Determinant
Performs a direct calculation of the inverse of a 3×3 matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | a(3,3) |
Matrix |
Inverse matrix
Calculates eigenvalues based on the trigonometric solution of A = pB + qI
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | a(3,3) |
The symmetric input matrix |
||
real(kind=wp), | intent(out) | :: | w(3) |
Contains eigenvalues on exit |
Calculates eigenvector using an analytical method based on vector cross
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(inout) | :: | a(3,3) | |||
real(kind=wp), | intent(out) | :: | w(3) | |||
real(kind=wp), | intent(out) | :: | q(3,3) |