-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
turn one argument operations into attributes
now all options are passed to the LoopDiagram constructor
- Loading branch information
1 parent
e9f1492
commit cb99183
Showing
8 changed files
with
238 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#! @Chunk 2LoopCuspAnomalousDimensions_rational | ||
|
||
LoadPackage( "LoopIntegrals" ); | ||
|
||
#! @Example | ||
LD := LoopDiagram( "k1, k2", "v1, v2" : rational := true ); | ||
#! <A loop diagram with loop momenta [ k1, k2 ] & external momenta [ v1, v2 ]> | ||
cos:= v1*v2;; | ||
SetAbbreviation( cos, "cos" ); | ||
rel := [ v1^2 - 1, v2^2 - 1 ];; | ||
SetRelationsOfExternalMomenta( LD, rel ); | ||
SetIndependentLorentzInvariants( LD, | ||
[ k1^2, k1*k2, k1*v1, k1*v2, k2^2, k2*v1, k2*v2, cos ] ); | ||
SetPropagators( LD, | ||
-[ 2*k2*v1 - 1, 2*k2*v2 - 1, (k1 - k2)^2, | ||
2*k1*v1 - 1, 2*k1*v2 - 1, k1^2 ] ); | ||
SetNumerators( LD, -[ k2^2 ] ); | ||
SetExtraLorentzInvariants( LD, [ cos ] ); | ||
E12 := PairOfMatricesOfLoopDiagramInPropagators( LD ); | ||
#! [ <A 8 x 6 matrix over an external ring>, | ||
#! <A 6 x 6 matrix over an external ring> ] | ||
Display( E12[1] ); | ||
#! 0, 0, D3+D6-N7, D4-1, D5-1, 2*D6, | ||
#! 0, 0, -D3+D6-N7,D1-1, D2-1, -D3+D6+N7, | ||
#! 0, 0, -D1+D4, -2, (-2*cos),D4-1, | ||
#! 0, 0, -D2+D5, (-2*cos),-2, D5-1, | ||
#! D4-1, D5-1, -D3-D6+N7,0, 0, 0, | ||
#! D1-1, D2-1, D3-D6+N7, 0, 0, 0, | ||
#! -2, (-2*cos),D1-D4, 0, 0, 0, | ||
#! (-2*cos),-2, D2-D5, 0, 0, 0 | ||
s := SyzygiesOfRows( E12 ); | ||
#! <A non-zero 46 x 8 matrix over an external ring> | ||
#! @EndExample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#! @Chunk Kite_no_abbreviation | ||
|
||
LoadPackage( "LoopIntegrals" ); | ||
|
||
#! @Example | ||
LD := LoopDiagram( "l1..2", "p", 4 : abbreviation := false ); | ||
#! <A loop diagram with loop momenta [ l1, l2 ] & external momenta [ p ]> | ||
s := p^2;; | ||
SetAbbreviation( s, "s" ); | ||
SetRelationsOfExternalMomenta( LD, [ ] ); | ||
SetIndependentLorentzInvariants( LD, [ l1^2, l2^2, l1*l2, l1*p, l2*p, s ] ); | ||
SetPropagators( LD, -[ l1^2, (l1+p)^2, l2^2, (l2-p)^2, (l1+l2)^2 ] ); | ||
SetNumerators( LD, -[ ] ); | ||
SetExtraLorentzInvariants( LD, [ s ] ); | ||
e12 := PairOfMatricesOfLoopDiagramInIndependentLorentzInvariants( LD ); | ||
#! [ <An unevaluated non-zero 6 x 5 matrix over an external ring>, | ||
#! <An unevaluated non-zero 5 x 5 matrix over an external ring> ] | ||
Display( e12[1] ); | ||
#! -2*x1,-2*x1-2*x4,0, 0, -2*x1-2*x3, | ||
#! -2*x3,-2*x3-2*x5,0, 0, -2*x2-2*x3, | ||
#! -2*x4,-2*x4-2*x6,0, 0, -2*x4-2*x5, | ||
#! 0, 0, -2*x3,-2*x3+2*x4,-2*x1-2*x3, | ||
#! 0, 0, -2*x2,-2*x2+2*x5,-2*x2-2*x3, | ||
#! 0, 0, -2*x5,-2*x5+2*x6,-2*x4-2*x5 | ||
Display( e12[2] ); | ||
#! -x1,0, 0, 0, 0, | ||
#! 0, -x1-2*x4-x6,0, 0, 0, | ||
#! 0, 0, -x2,0, 0, | ||
#! 0, 0, 0, -x2+2*x5-x6,0, | ||
#! 0, 0, 0, 0, -x1-x2-2*x3 | ||
#! @EndExample |
Oops, something went wrong.