DotSparseVectors Interface

public interface DotSparseVectors

Contents


Module Procedures

private pure function DotSparseVectors_r(inner_index_a, values_a, inner_index_b, values_b) result(product)

product = dot(A,B)

Arguments

Type IntentOptional AttributesName
integer, intent(in), DIMENSION(:):: inner_index_a

List of indices for A.

real(kind=NTREAL), intent(in), DIMENSION(:):: values_a

List of values for A.

integer, intent(in), DIMENSION(:):: inner_index_b

List of indices for B.

real(kind=NTREAL), intent(in), DIMENSION(:):: values_b

List of values for B.

Return Value real(kind=NTREAL)

Dot product.

private pure function DotSparseVectors_c(inner_index_a, values_a, inner_index_b, values_b) result(product)

product = dot(A,B)

Arguments

Type IntentOptional AttributesName
integer, intent(in), DIMENSION(:):: inner_index_a

List of indices for A.

complex(kind=NTCOMPLEX), intent(in), DIMENSION(:):: values_a

List of values for A.

integer, intent(in), DIMENSION(:):: inner_index_b

List of indices for B.

complex(kind=NTCOMPLEX), intent(in), DIMENSION(:):: values_b

List of values for B.

Return Value complex(kind=NTCOMPLEX)

Dot product.