- May 7, 2023
Many languages support breaking out of nested loops, such as Perl, Java, JavaScript, C#, etc. Languages that have goto can also do this easily. However, in most other languages, it is not easy to break out of nested loops. I want to introduce a way to do this in Ruby.
/programming
#meta programming
#ruby
- May 1, 2023
I set up a simple model to determine the production and consumption in free trade between nations.
/economics
#global economy
#from zhihu
- May 1, 2023
For sake of rigor and generalizability, I feel it necessary to try to have a mathematical formulation for statistical ensembles. I chose measure spaces as the underlying mathematical structure of thermal systems and tried to justify the method of statistical ensembles by deducing them from some axioms.
/physics
#mathematical physics
#statistical mechanics
#functional analysis
#measure theory
#probability
#long paper
- Apr 5, 2023
I summarized my methods for studying. This can be served as a guide for those who have started learning math and science.
/misc
#chinese
#school
- Mar 30, 2023
For sake of rigor and generalizability, I feel it necessary to try to have a mathematical formulation for statistical ensembles. I chose measure spaces as the underlying mathematical structure of thermal systems and tried to justify the method of statistical ensembles by deducing them from some axioms.
/physics
#mathematical physics
#statistical mechanics
#functional analysis
#measure theory
#probability
#long paper
- Mar 25, 2023
There is a very neat relation between the core (the set of proposals that defeats every proposal) of a voting system and the Pareto sets of the voters. Suppose there is a voting system of quota q, then the core is the intersection of all such sets: the Pareto set of q of the voters.
/economics
#voting system
#preference relation
#pareto efficiency
- Feb 6, 2023
Both the Gini coefficient and the variance are measures of statistical dispersion. We are then motivated to find the relationship between them. It turns out that there is a neat mathematical relationship between them.
/economics
#from zhihu
#calculus
#probability
- Feb 4, 2023
Personally, I have the demand of handwriting math/physics notes, but an annoying fact about this is that I usually cannot distinguish every letter that may be possibly used well enough. In this article, I will try to settle this problem.
/misc
#from zhihu
#font
#tex
#handwriting
#long paper
- Feb 3, 2023
何为手纸本?
/literature
#from zhihu
#literary composition
#short story
#chinese
- Feb 3, 2023
Bra–ket notation is a good-looking notation! I am sad that it is not generally taught in math courses. Let me introduce it to you.
/math
#from zhihu
#quantum mechanics