JHUGen MELA  JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
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