Feeds:
Posts
Comments

Archive for the ‘Mathematics’ Category

Hi everyone, I’ve include the code for drawing Dynkin diagrams using Tikz package in LaTeX \begin{center} \begin{tikzpicture}[scale=.4] \draw (-1,0) node[anchor=east] {$A_n$}; \foreach \x in {0,…,5} \draw[xshift=\x cm,thick] (\x cm,0) circle (.3cm); \draw[dotted,thick] (0.3 cm,0) — +(1.4 cm,0); \foreach \y in {1.15,…,4.15} \draw[xshift=\y cm,thick] (\y cm,0) — +(1.4 cm,0); \end{tikzpicture} \end{center} \begin{center} \begin{tikzpicture}[scale=.4] \draw (-1,0) node[anchor=east] [...]

Read Full Post »

Last weekend, I wrote a program in SAGE that list all possible irreps of a Lie group, one specified the group (in Cartan’s classification) and the maximum sum of the Dynkin labels. Check the notebook in here. Since I’m not a programmer, please feel free to leave comments, specially if you find ways to optimize [...]

Read Full Post »

In case you wanna explore with parallel python, the web page is http://www.parallelpython.com/ Installation in Linux (debian based): * download the tarball, say to your home folder * in a console type: $ cd $ tar xzf pp-1.6.1.tar.gz $ cd pp-1.6.1/ $ sudo python setup.py install * it should be installed in just one sec. [...]

Read Full Post »

Hi people. If you write in LaTeX as much as I do, you could find this tip useful. Since I’m a physicist, I work a lot with Fourier Transformations, which could carry an annoying factor of in the denominator. A notation that might be useful for reducing the typing is the use of the bar [...]

Read Full Post »

No comments! It was beautiful p = plot(sin(x), (x,-5, 5), thickness=2, color=’red’) for n in xrange(1,20): p += plot((1-n/20)*sin(x), (x,-pi,0), thickness=0, fill=’axis’, fillcolor=’blue’, fillalpha=.01) p += plot((1-n/20)*sin(x), (x,0,pi), thickness=0, fill=’axis’, fillcolor=’gray’, fillalpha=.01) show(p, figsize=10,ticks=pi/3,tick_formatter=pi, fontsize=16) reset() var(‘x’) f(x) = sin(x) p = plot(f(x), (x,-5, 5), thickness=2, color=’red’) for n in xrange(1,20): p += plot(((n-1)/20)*sin(x), (x,-pi,0), [...]

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.