Kramdown comes with optional support for LaTeX to PNG rendering via MathJax within math blocks. MathJax requires you to include JavaScript or CSS to render the LaTeX, e.g.
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
In order to add latex support, add above JavaScript into the post.html in _layouts folder.
This is a in line equation generate with
$$y = ax$$
This is a block equation:
generate with:
$$
\begin{equation}
y = ax
\end{equation}
$$
Today I tried to install a chrome extension octotree for github website. However, I keep get the error as following.
It seems this is due to some network problem and there is no good solution for this. So I decide to try installing extensions manually instead of install it from the chrome app store.
This is the process:
Recently I plan to study the algorithm systematically. I have studied, used and developed several algorithms, but I think I still lack very systematical knowledge of algorithm analysis and design. According to Zhihu’s recommendation, I will fast go through the book: Robert Sedgewick, Algorithm, 4th edition and try to get a sense of the general principle of algorithm analysis and design.
I will write some notes here to record my study which may include the principle, illustration and implementation of of certain algorithms.
Sorting is one of the most important and fundamental problems in algorithm design and analysis.
A coded aperture based camera model is proposed by designing the aperture matrix in a row/column separable manner. The aperture matrix can be regarded as a outer product between two vectors with 1 and 0 only. The image formation process can be modeled as (1) , where X, Y, A, B are all matrices. In the conventional image model: (2) , where X and Y are both vector, and C is matrix. Model (2) is much easier to solve by least square with L2_norm regularization compared with model (1).
The author put the aperture right in front of the CMOS chip. The space is 0.5 mm due to the glass. This can greatly reduce the thickness of the camera which might find its use in mobile phone camera.