CodeTools#
12 symbols, auto-generated from package ::usage strings.
UpdateFlows#
UpdateFlows["Name"] updates the Flow Class with Name "Name" and the CMakeLists.txt file.
FlowKernel#
FlowKernel[expr_,name_String,NT_String:"auto",addprefix_String:""]
Makes an equation into a lambda expression - of limited usefulness, but can be used together with LoopIntegrals::integrate and similar functions.
CodeForm#
CodeForm[expr_]
Obtain properly formatted and processed C++ code from an expression.
SetCppNames#
SetCppNames[rules___]
Set additional replacement rules used when invoking CodeForm[expr].
Example Call: SetCppNames[“k”->”k_bosonic”, “Arccos(“->”std::arccos(“]
DeclareSymmetricPoints4DP4#
DeclareSymmetricPoints4DP4[]
Obtain C++ code declaring angles for a four-point symmetric configuration in 4D. The angles will have the names cosp1q, cosp2q, cosp3q and cosp4q. DeclareSymmetricPoints4DP4[computeType] Set the type of the declared C++ variables (should be double or float).
DeclareSymmetricPoints4DP3#
DeclareSymmetricPoints4DP3[]
Obtain C++ code declaring angles for a four-point symmetric configuration in 4D. The angles will have the names cosp1q, cosp2q, cosp3q and cosp4q. DeclareSymmetricPoints4DP3[computeType] Set the type of the declared C++ variables (should be double or float).
DeclareSymmetricPoints3DP4#
DeclareSymmetricPoints3DP4[]
Obtain C++ code declaring angles for a four-point symmetric configuration in 3D. The angles will have the names cosp1q, cosp2q, cosp3q and cosp4q. DeclareSymmetricPoints3DP4[computeType] Set the type of the declared C++ variables (should be double or float).
DeclareSymmetricPoints3DP3#
DeclareSymmetricPoints3DP3[]
Obtain C++ code declaring angles for a three-point symmetric configuration in 3D. The angles will have the names cosp1q, cosp2q and cosp3q. DeclareSymmetricPoints3DP3[computeType] Set the type of the declared C++ variables (should be double or float).
DeclareSymmetricPoints2DP4#
DeclareSymmetricPoints2DP4[]
Obtain C++ code declaring angles for a four-point symmetric configuration in 2D. The angles will have the names cosp1q, cosp2q, cosp3q and cosp4q. DeclareSymmetricPoints2DP4[computeType] Set the type of the declared C++ variables (should be double or float).
DeclareSymmetricPoints2DP3#
DeclareSymmetricPoints2DP3[]
Obtain C++ code declaring angles for a three-point symmetric configuration in 2D. The angles will have the names cosp1q, cosp2q and cosp3q. DeclareSymmetricPoints2DP3[computeType] Set the type of the declared C++ variables (should be double or float).
DeclareAnglesP34Dpqr#
DeclareAnglesP34Dpqr[q,p,r]
Obtain C++ code declaring angles for the angles in a full three-point function in 4D. The angles will have the names cospq and cosqr, where q,p,r are replaced by the given Symbol names and ordered alphabetically. DeclareAnglesP34Dpqr[q,p,r,computeType] Set the type of the declared C++ variables (should be double or float).
DeclareAnglesP33Dpqr#
DeclareAnglesP33Dpqr[q,p,r]
Obtain C++ code declaring angles for the angles in a full three-point function in 3D. The angles will have the names cospq and cosqr, where q,p,r are replaced by the given Symbol names and ordered alphabetically. DeclareAnglesP34Dpqr[q,p,r,computeType] Set the type of the declared C++ variables (should be double or float).