albi3ro / M4

Metals, Magnets, and Miscellaneous Materials: Blog Introduction to Computational Condensed Matter
http://albi3ro.github.io/M4/
MIT License
39 stars 8 forks source link

Dimensions for simplices #15

Open IanHawke opened 5 years ago

IanHawke commented 5 years ago

In https://github.com/albi3ro/M4/blob/master/Graduate/Simplex.ipynb there seems to be a difference in definition between the discussion at the top (where, for example, a point is zero dimensional) and the output later on (where "single letter" simplices, which are I think points, are "Dimension: 1").

albi3ro commented 5 years ago

Seems this was an unfortunate side effect of Julia indexing from 1.

Good catch on that, but by having to go back and really look at this post, I've just found it too unsalvagably bad.

For one, I actually did permutations wrong.

For me playing around and trying to understand something, it was fine, but if I can't really even understand what I did...

I could spend a lot of time trying to fix it, but I think I'm better cutting my losses.