dot_prod Function

public function dot_prod(v1, v2)

Calculate inner product of two vectors

Arguments

Type IntentOptional Attributes Name
double precision, intent(in) :: v1(:)

Vector 1

double precision, intent(in) :: v2(size(v1))

Return Value doubleprecision