IGMBaseLib 1.0
Modules | Functions/Subroutines

src/core/math/igmcore_linear_algebra.f90 File Reference

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 $\Dvect{v}_1$ and $ \Dvect{v}_2$.
real(DP), public igmcore_linear_algebra::dot (v1, v2)
 Calculates the dot product of vectors $\Dvect{v}_1$ and $ \Dvect{v}_2$.
 All Classes Namespaces Files Functions Variables