version 0.6.0
mod_math_linalg Module Reference

Linear algebra functions.

Functions/Subroutines

double precision function compute_euclidian_distance (point_a, point_b)
 Returns the Euclidian distance between two points.
 
double precision function, dimension(size(vector)) compute_normalized (vector)
 Returns the normalized vector.
 
double precision function, dimension(size(vector)) compute_orthogonal (vector)
 Returns an orthogonal vector.
 
double precision function compute_scalar_product (vector_a, vector_b)
 Returns the scalar product of two vectors.
 
double precision function, dimension(3) compute_vector_product (vector_a, vector_b)
 Returns the cross product of two vectors.
 
double precision function, dimension(size(a, 1)) compute_matrix_vector_product (A, b)
 Returns the A*b. More...
 

Function/Subroutine Documentation

◆ compute_matrix_vector_product()

double precision function, dimension(size(a,1)) mod_math_linalg::compute_matrix_vector_product ( double precision, dimension(:,:)  A,
double precision, dimension(:)  b 
)
Parameters
AThe Matrix of size ndim1 x ndim2
bThe vector of size ndim2