Skip to content

Commit

Permalink
Wrap LaTeX fragments in html-minifier ignore comments
Browse files Browse the repository at this point in the history
  • Loading branch information
themkat committed Aug 5, 2024
1 parent 035799c commit 13ab56c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ It should be noted that modern computers like the X86, modern phones, modern ARM

Hopefully you remember what the absolute value is. It is simply a positive representation of the value, in other words it's the value without its sign. -10 will be 10, and 10 will still be 10. Mathematically we can define it like this:

#+BEGIN_EXPORT html
<!-- htmlmin:ignore -->
\begin{equation}
|x| = \begin{cases}
x & \text{if } x \geq 0 \\
-x & \text{if } x < 0
\end{cases}
\end{equation}
<!-- htmlmin:ignore -->
#+END_EXPORT


* Naive implementation with branching
Expand Down
4 changes: 4 additions & 0 deletions org/_posts/2024-01-02-the_academically_hostile_professor.org
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ This time I'm going to do something different than usual; we are going to look i
* Some background on the story and concepts
Let's start with some background. Many years ago I was taking a university course on numerical solving of partial differential equations (PDEs), as I LOVE when mathematics and computers intersect like in simulations of natural phenomena. If you are not familiar with PDEs, they are mathematical equations describing various phenomena. What makes them more complicated than equations you may have seen before is that PDEs include partial derivatives (i.e, functions derived with relation to specific variables). If we have a function f, then its partial derivative with respect to x would look like:

#+BEGIN_EXPORT html
<!-- htmlmin:ignore -->
\begin{equation}
\frac{\partial f}{\partial x}
\end{equation}
<!-- htmlmin:ignore -->
#+END_EXPORT

If you want to learn the basics of doing numerical solutions to partial differential equations, I think the best material is the course notes from Hans Petter Langtangen (RIP). He was a living legend, and loved teaching. [[https://hplgit.github.io/INF5620/doc/web/notes.html][The course website with links to PDF versions are still available]], even if the page styling is broken. Like we will discuss shortly, there is always differences in what resources you get the most out of. Sadly, this is the one I learned the basics of, so I have no other recommendations. Some people might want to start with [[https://en.wikipedia.org/wiki/Partial_differential_equation][the Wikipedia article on PDEs]].

Expand Down

0 comments on commit 13ab56c

Please sign in to comment.