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.
Public Member Functions | List of all members
modmisc::operator(.cross.) Interface Reference

Public Member Functions

real(8) function, dimension(1:3) vectorcross (p1, p2)
 

Detailed Description

Definition at line 20 of file mod_Misc.F90.

Member Function/Subroutine Documentation

◆ vectorcross()

real(8) function, dimension(1:3) modmisc::operator(.cross.)::vectorcross ( real(8), dimension(1:3), intent(in)  p1,
real(8), dimension(1:3), intent(in)  p2 
)

Definition at line 38 of file mod_Misc.F90.

38 implicit none
39 real(8), intent(in) :: p1(1:3),p2(1:3)
40 real(8) :: VectorCross(1:3)
41 
42  vectorcross(1) = p1(2)*p2(3) - p1(3)*p2(2)
43  vectorcross(2) = p1(3)*p2(1) - p1(1)*p2(3)
44  vectorcross(3) = p1(1)*p2(2) - p1(2)*p2(1)

The documentation for this interface was generated from the following file: