IGMBaseLib 1.0
|
Go to the source code of this file.
Modules | |
module | igmcore_linear_algebra |
This module provides elementary linear algebra subroutines that perform the vector and matrix operations. | |
Functions/Subroutines | |
real(DP), dimension(3), public | igmcore_linear_algebra::rotateX (vec, angle) |
Rotates a vector around X-axis (in Cartesian coordinate system) the amount specified by the angle parameter. | |
real(DP), dimension(3), public | igmcore_linear_algebra::rotateY (vec, angle) |
Rotates a vector around Y-axis (in Cartesian coordinate system) the amount specified by the angle parameter. | |
real(DP), dimension(3), public | igmcore_linear_algebra::rotateZ (vec, angle) |
Rotates a vector around Z-axis (in Cartesian coordinate system) the amount specified by the angle parameter. | |
real(DP), public | igmcore_linear_algebra::vec_length (vec) |
Gets the length of a vector. | |
subroutine, public | igmcore_linear_algebra::vec_normarize (vec) |
Normalizes the specified vector. | |
real(DP), dimension(3), public | igmcore_linear_algebra::cross (v1, v2) |
Calculates the cross product of vectors and . | |
real(DP), public | igmcore_linear_algebra::dot (v1, v2) |
Calculates the dot product of vectors and . |