From 731957be5d3094e50d1bdd8d5eb2c9c04a65bdf4 Mon Sep 17 00:00:00 2001 From: Abhishek Mhamane Date: Fri, 26 Apr 2024 13:05:44 +0530 Subject: [PATCH] trying stackoverflow solution for matrix rendering issue theory page --- docs/theory.md | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/docs/theory.md b/docs/theory.md index ab25ee57..43379c4d 100644 --- a/docs/theory.md +++ b/docs/theory.md @@ -193,30 +193,20 @@ The first column represents the degree $n$, the second column represents the ord This is a variation of the clm-format for compact notation with just 3 or 4 columns. The coefficients are sorted first w.r.t. degree and then the order, particularly the sine-coefficients are arranged starting first with negative orders. The following matrix represents the klm-format: +'''math + \begin{bmatrix}0 & 0 & $\overline{C}_{0, 0}$ & $\sigma_{\overline{C}_{0, 0}}$ \\0 & 0 & $\overline{C}_{0, 0}$ & $\sigma_{\overline{C}_{0, 0}}$ \\0 & 0 & $\overline{C}_{0, 0}$ & $\sigma_{\overline{C}_{0, 0}}$ \\ 0 & 0 & $\overline{C}_{0, 0}$ & $\sigma_{\overline{C}_{0, 0}}$ \\ 0 & 0 & $\overline{C}_{0, 0}$ & $\sigma_{\overline{C}_{0, 0}}$ \\ 0 & 0 & $\overline{C}_{0, 0}$ & $\sigma_{\overline{C}_{0, 0}}$ \\ 0 & 0 & \overline{C}_{0, 0} & $\sigma_{\overline{C}_{0, 0}}$ \\ 0 & 0 & $\overline{C}_{0, 0}$ & $\sigma_{\overline{C}_{0, 0}}$ \\ + 0 & 0 & $\overline{C}_{0, 0}$ & $\sigma_{\overline{C}_{0, 0}}$ \\ \vdots & & & \vdots \\ $N_{max}$ & $N_{max}$ & $\overline{C}_{N_{max}, N_{max}}$ & $\sigma_{\overline{C}_{N_max}, N_{max}}$ \\ \begin{bmatrix} +''' -\begin{bmatrix} - 0 & 0 & \overline{C}_{0, 0} & \sigma_{\overline{C}_{0, 0}} \\ - 0 & 0 & \overline{C}_{0, 0} & \sigma_{\overline{C}_{0, 0}} \\ - 0 & 0 & \overline{C}_{0, 0} & \sigma_{\overline{C}_{0, 0}} \\ - 0 & 0 & \overline{C}_{0, 0} & \sigma_{\overline{C}_{0, 0}} \\ - 0 & 0 & \overline{C}_{0, 0} & \sigma_{\overline{C}_{0, 0}} \\ - 0 & 0 & \overline{C}_{0, 0} & \sigma_{\overline{C}_{0, 0}} \\ - 0 & 0 & \overline{C}_{0, 0} & \sigma_{\overline{C}_{0, 0}} \\ - 0 & 0 & \overline{C}_{0, 0} & \sigma_{\overline{C}_{0, 0}} \\ - 0 & 0 & \overline{C}_{0, 0} & \sigma_{\overline{C}_{0, 0}} \\ - \vdots & & & \vdots \\ - N_{max} & N_{max} & \overline{C}_{N_{max}, N_{max}} & \sigma_{\overline{C}_{N_{max}, N_{max}}} \\ -\begin{bmatrix} - -### $\left | C \backslash S \right |$-format +### $\left | C \backslash S \right |$ format This is another well known arrangement of Spherical Harmonic coefficients. This is a square matrix of size $n_{max}, n_{max}$. The lower traingular terms are made of the cosine terms -### $\left / S | C \right \backslash$-format +### $\left / S | C \right \backslash$ format This is yet another popular format where the sine-coefficients are flipped from left to right, to obtain a triangular arrangement which is completed by zeros.