## src/interface/tens_comb [ Modules ]

NAME

Module tens_comb

USAGE

use tens_comb

DESCRIPTION

This module contains the routines necessary for the contraction of the tensor coefficients as reconstructed by the module tens_rec with the according tensor integrals. Please, note that this module is generated by a script and should not be modified manually. In order to make changes to this module rerun the Python script tool/tens_rec/tens.py

USES

* precision_golem (src/module/precision_golem.f90) * matrice_s (src/kinematics/matrice_s.f90) * array (src/module/array.f90) * form_factor_type (src/module/form_factor_type.f90) * form_factor_2p (src/form_factor/form_factor_2p.f90) * form_factor_3p (src/form_factor/form_factor_3p.f90) * form_factor_4p (src/form_factor/form_factor_4p.f90) * form_factor_5p (src/form_factor/form_factor_5p.f90) * form_factor_6p (src/form_factor/form_factor_6p.f90) * form_factor_higher_ranks (src/higherrank/form_factor_higher_ranks.f90) * tens_rec (src/interface/tens_rec.f90)

## src/interface/tens_comb/contract1_1 [ Functions ]

NAME

Function contract1_1

USAGE

amp = contract1_1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 1-point rank 1 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_1) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract1_2 [ Functions ]

NAME

Function contract1_2

USAGE

amp = contract1_2(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 1-point rank 2 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_2) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract1_2s1 [ Functions ]

NAME

Function contract1_2s1

USAGE

amp = contract1_2s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 1-point rank 2 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

* coeffs -- coefficients of type(complex(ki)) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract2_1 [ Functions ]

NAME

Function contract2_1

USAGE

amp = contract2_1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 2-point rank 1 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_1) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract2_2 [ Functions ]

NAME

Function contract2_2

USAGE

amp = contract2_2(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 2-point rank 2 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_2) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract2_2s1 [ Functions ]

NAME

Function contract2_2s1

USAGE

amp = contract2_2s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 2-point rank 2 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

* coeffs -- coefficients of type(complex(ki)) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract2_3 [ Functions ]

NAME

Function contract2_3

USAGE

amp = contract2_3(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 2-point rank 3 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_3) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract2_3s1 [ Functions ]

NAME

Function contract2_3s1

USAGE

amp = contract2_3s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 2-point rank 3 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_1) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract3_1 [ Functions ]

NAME

Function contract3_1

USAGE

amp = contract3_1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 3-point rank 1 tensor integral with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract3_2 [ Functions ]

NAME

Function contract3_2

USAGE

amp = contract3_2(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 3-point rank 2 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_2) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract3_2s1 [ Functions ]

NAME

Function contract3_2s1

USAGE

amp = contract3_2s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 3-point rank 2 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

* coeffs -- coefficients of type(complex(ki)) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract3_3 [ Functions ]

NAME

Function contract3_3

USAGE

amp = contract3_3(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 3-point rank 3 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_3) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract3_3s1 [ Functions ]

NAME

Function contract3_3s1

USAGE

amp = contract3_3s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 3-point rank 3 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract3_4 [ Functions ]

NAME

Function contract3_4

USAGE

amp = contract3_4(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 3-point rank 4 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_4) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract3_4s1 [ Functions ]

NAME

Function contract3_4s1

USAGE

amp = contract3_4s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 3-point rank 4 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract3_4s2 [ Functions ]

NAME

Function contract3_4s2

USAGE

amp = contract3_4s2(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 3-point rank 4 tensor integral with (mu^2)^2 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_1 [ Functions ]

NAME

Function contract4_1

USAGE

amp = contract4_1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 1 tensor integral with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_2 [ Functions ]

NAME

Function contract4_2

USAGE

amp = contract4_2(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 2 tensor integral with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_2s1 [ Functions ]

NAME

Function contract4_2s1

USAGE

amp = contract4_2s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 2 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_3 [ Functions ]

NAME

Function contract4_3

USAGE

amp = contract4_3(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 3 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_3) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_3s1 [ Functions ]

NAME

Function contract4_3s1

USAGE

amp = contract4_3s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 3 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_4 [ Functions ]

NAME

Function contract4_4

USAGE

amp = contract4_4(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 4 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_4) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_4s1 [ Functions ]

NAME

Function contract4_4s1

USAGE

amp = contract4_4s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 4 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_4s2 [ Functions ]

NAME

Function contract4_4s2

USAGE

amp = contract4_4s2(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 4 tensor integral with (mu^2)^2 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_5 [ Functions ]

NAME

Function contract4_5

USAGE

amp = contract4_5(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 5 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_5) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_5s1 [ Functions ]

NAME

Function contract4_5s1

USAGE

amp = contract4_5s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 5 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract4_5s2 [ Functions ]

NAME

Function contract4_5s2

USAGE

amp = contract4_5s2(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 4-point rank 5 tensor integral with (mu^2)^2 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract5_1 [ Functions ]

NAME

Function contract5_1

USAGE

amp = contract5_1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 5-point rank 1 tensor integral with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract5_2 [ Functions ]

NAME

Function contract5_2

USAGE

amp = contract5_2(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 5-point rank 2 tensor integral with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract5_3 [ Functions ]

NAME

Function contract5_3

USAGE

amp = contract5_3(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 5-point rank 3 tensor integral with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract5_4 [ Functions ]

NAME

Function contract5_4

USAGE

amp = contract5_4(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 5-point rank 4 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_4) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract5_5 [ Functions ]

NAME

Function contract5_5

USAGE

amp = contract5_5(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 5-point rank 5 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_5) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract5_6 [ Functions ]

NAME

Function contract5_6

USAGE

amp = contract5_6(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 5-point rank 6 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_6) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract5_6s1 [ Functions ]

NAME

Function contract5_6s1

USAGE

amp = contract5_6s1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 5-point rank 6 tensor integral with (mu^2)^1 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract5_6s2 [ Functions ]

NAME

Function contract5_6s2

USAGE

amp = contract5_6s2(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 5-point rank 6 tensor integral with (mu^2)^2 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract5_6s3 [ Functions ]

NAME

Function contract5_6s3

USAGE

amp = contract5_6s3(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 5-point rank 6 tensor integral with (mu^2)^3 in the numerator with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract6_1 [ Functions ]

NAME

Function contract6_1

USAGE

amp = contract6_1(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 6-point rank 1 tensor integral with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract6_2 [ Functions ]

NAME

Function contract6_2

USAGE

amp = contract6_2(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 6-point rank 2 tensor integral with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract6_3 [ Functions ]

NAME

Function contract6_3

USAGE

amp = contract6_3(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 6-point rank 3 tensor integral with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract6_4 [ Functions ]

NAME

Function contract6_4

USAGE

amp = contract6_4(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 6-point rank 4 tensor integral with its coefficients.

INPUTS

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract6_5 [ Functions ]

NAME

Function contract6_5

USAGE

amp = contract6_5(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 6-point rank 5 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_5) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract6_6 [ Functions ]

NAME

Function contract6_6

USAGE

amp = contract6_6(coeffs, momenta, b_set)

DESCRIPTION

Contracts the 6-point rank 6 tensor integral with its coefficients.

INPUTS

* coeffs -- coefficients of type(coeff_type_6) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer number (bit-set)

RETURN VALUE

The result of contracting the tensor integral with its coefficient.

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_a_tensor_1 [ Functions ]

NAME

Function contract_a_tensor_1

USAGE

ans = contract_a_tensor_1(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an A-type tensor of rank 1 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_1) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_a_tensor_2 [ Functions ]

NAME

Function contract_a_tensor_2

USAGE

ans = contract_a_tensor_2(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an A-type tensor of rank 2 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_2) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_a_tensor_3 [ Functions ]

NAME

Function contract_a_tensor_3

USAGE

ans = contract_a_tensor_3(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an A-type tensor of rank 3 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_3) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_a_tensor_4 [ Functions ]

NAME

Function contract_a_tensor_4

USAGE

ans = contract_a_tensor_4(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an A-type tensor of rank 4 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_4) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_a_tensor_5 [ Functions ]

NAME

Function contract_a_tensor_5

USAGE

ans = contract_a_tensor_5(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an A-type tensor of rank 5 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_5) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_a_tensor_6 [ Functions ]

NAME

Function contract_a_tensor_6

USAGE

ans = contract_a_tensor_6(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an A-type tensor of rank 6 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_6) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_b_tensor_2 [ Functions ]

NAME

Function contract_b_tensor_2

USAGE

ans = contract_b_tensor_2(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an B-type tensor of rank 2 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_2) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_b_tensor_3 [ Functions ]

NAME

Function contract_b_tensor_3

USAGE

ans = contract_b_tensor_3(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an B-type tensor of rank 3 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_3) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_b_tensor_4 [ Functions ]

NAME

Function contract_b_tensor_4

USAGE

ans = contract_b_tensor_4(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an B-type tensor of rank 4 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_4) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_b_tensor_5 [ Functions ]

NAME

Function contract_b_tensor_5

USAGE

ans = contract_b_tensor_5(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an B-type tensor of rank 5 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_5) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_b_tensor_6 [ Functions ]

NAME

Function contract_b_tensor_6

USAGE

ans = contract_b_tensor_6(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an B-type tensor of rank 6 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_6) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_c_tensor_4 [ Functions ]

NAME

Function contract_c_tensor_4

USAGE

ans = contract_c_tensor_4(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an C-type tensor of rank 4 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_4) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_c_tensor_5 [ Functions ]

NAME

Function contract_c_tensor_5

USAGE

ans = contract_c_tensor_5(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an C-type tensor of rank 5 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_5) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_c_tensor_6 [ Functions ]

NAME

Function contract_c_tensor_6

USAGE

ans = contract_c_tensor_6(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an C-type tensor of rank 6 constructed from a given set of momenta.

INPUTS

* coeffs -- coefficients of type(coeff_type_6) * momenta -- real array of dimension(:,3) containing the momenta r_i of the loop propagators

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/contract_d_tensor_6 [ Functions ]

NAME

Function contract_d_tensor_6

USAGE

ans = contract_d_tensor_6(coeffs, momenta)

DESCRIPTION

Contracts the a set of coefficients with an D-type tensor of rank 6 constructed from a given set of momenta.

INPUTS

RETURN VALUE

The result of the contraction which is a complex number

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/evaluate_b [ Functions ]

NAME

Function evaluate_b Accessible through interface evaluate

USAGE

amp = evaluate(numeval, momenta, b_set, rank)

DESCRIPTION

Evaluates a diagram by first reconstructing its tensor coefficients and then contracting with the tensor integrals.

INPUTS

* numeval -- the numerator function * momenta -- real array of dimension(:,0:3) containing the momenta r_i of the loop propagators * b_set -- the set of pinched propagators as integer (bit-set) * rank -- optional integer, specifying the maximum rank of the diagram If omitted, rank is assumed to be the equal to the number of loop propagators.

RETURN VALUE

Value of the diagram as a type(form_factor)

SIDE EFFECTS

None

EXAMPLE

## src/interface/tens_comb/evaluate_s [ Functions ]

NAME

Function evaluate_s Accessible through interface evaluate

USAGE

amp = evaluate(numeval, momenta, set, rank)

DESCRIPTION

Evaluates a diagram by first reconstructing its tensor coefficients and then contracting with the tensor integrals.

INPUTS

* numeval -- the numerator function * momenta -- real array of dimension(:,0:3) containing the momenta r_i of the loop propagators * set -- the set of pinched propagators as integer array * rank -- optional integer, specifying the maximum rank of the diagram If omitted, rank is assumed to be the equal to the number of loop propagators.

RETURN VALUE

Value of the diagram as a type(form_factor)

SIDE EFFECTS

None

EXAMPLE