JHUGen MELA  v2.4.1
Matrix element calculations as used in JHUGen. MELA is an important tool that was used for the Higgs boson discovery and for precise measurements of its structure and interactions. Please see the website https://spin.pha.jhu.edu/ and papers cited there for more details, and kindly cite those papers when using this code.
Data Types | Functions/Subroutines
hto_linear_comb Module Reference

Data Types

interface  operator(.lc.)
 

Functions/Subroutines

real *8 function lc (c, x)
 

Function/Subroutine Documentation

◆ lc()

real*8 function hto_linear_comb::lc ( real*8, dimension(:), intent(in)  c,
real*8, intent(in)  x 
)

Definition at line 736 of file CALLING_cpHTO.f.

736  IMPLICIT NONE
737  real*8, dimension(:) :: c
738  real*8 x,lc
739  INTENT(IN) c,x
740  INTEGER n,i
741  real*8 sum
742  n= size(c)
743  sum= c(n)
744  DO i=n-1,1,-1
745  sum= sum*x+c(i)
746  ENDDO
747  lc= sum