Skip to content

Instantly share code, notes, and snippets.

View raydsameshima's full-sized avatar
🤒
Out sick

Ray D. Sameshima raydsameshima

🤒
Out sick
  • NYCCT
  • Brooklyn, NY
View GitHub Profile
infix("$$", 2, 1);
"$$" (f,x) := f ( x );
http://www.roland-salz.de/html/maxima.html
@raydsameshima
raydsameshima / filetype.vim
Created October 24, 2018 17:15
Maxima syntax highlight
" .vim/filetype.vim
" See
" https://def.fe.up.pt/pipermail/maxima-discuss/2008/021737.html
" for this script.
if exists("did_load_filetypes")
finish
endif
augroup filetypedetect
au! BufRead,BufNewFile *.mac setfiletype maxima
au! BufRead,BufNewFile *.dem setfiletype maxima
@raydsameshima
raydsameshima / test.tex
Created November 10, 2018 15:19
typewriter.sty usage
% !TeX program = lualatex
\documentclass{article}
\usepackage{amsmath}
\usepackage{typewriter}
\begin{document}
\title{Some math symbols}
\author{Ray D. Sameshima}
(%i1) f: (x+y+x*y)^(-d/2);
1
(%o1) ----------------
d/2
(x y + y + x)
(%i2) makelist ( subst([x=0], diff(f,x,i)), i,0,5);
d (- d/2) - 2 2
(- d/2) - 1 ((- -) - 1) d y (y + 1)
1 d y (y + 1) 2
(%o2) [----, - ----------------------, - -----------------------------------,
{
oneLoopBubble[1,-3] ->
+ oneLoopBubble[1,0]*(((d)*pp^3+(12*m2)*pp^2)/d)
,
oneLoopBubble[1,-2] ->
+ oneLoopBubble[1,0]*(((d)*pp^2+(4*m2)*pp)/d)
,
oneLoopBubble[1,-1] ->
+ oneLoopBubble[1,0]*(pp)
,
@raydsameshima
raydsameshima / gist:59c13132e7ba78d3a2f4706661bd9071
Created March 27, 2019 16:31
Massless One Loop vacuum Bubble
{
oneLoopBubble[1,-3] ->
+ 0
,
oneLoopBubble[1,-2] ->
+ 0
,
oneLoopBubble[1,-1] ->
+ 0
,
{
oneLoopTri[1,0,-1] ->
+ 0
,
oneLoopTri[2,1,1] ->
+ oneLoopTri[1,1,1]*(((d-4)*p12)/((p11)*p22))
+ oneLoopTri[0,1,1]*((d-3)/((p11)*p22))
+ oneLoopTri[1,0,1]*((-d+3)/((p11)*p22))
+ oneLoopTri[1,1,0]*((-d+3)/((p11)*p22))
,
{
tadPole[0] ->
+ 0
,
tadPole[-1] ->
+ 0
,
tadPole[-2] ->
+ 0
,
Maxima 5.41.0 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) batch("kiteVSsunset.mac")
read and interpret file: #p/home/ray/Documents/latex/IBP/Schwinger/kiteVSsunset.mac
(%i2) kill(all)