From 272fba39b29b3c75b48194a97dc29f471889ef51 Mon Sep 17 00:00:00 2001 From: array-in-a-matrix Date: Tue, 17 Jan 2023 17:13:01 -0500 Subject: [PATCH] Update 'README.md' --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6c310c7..9b145a0 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ The program requires no dependencies other than the nim standard library. Just r ### Dot Product -```math +$$ \begin{align*} A \cdot B = \begin{bmatrix} @@ -42,11 +42,11 @@ a_{21}b_{11} + \cdots + a_{2n}b_{n1} & a_{21}b_{12} + \cdots + a_{2n}b_{n2} & \c a_{m1}b_{11} + \cdots + a_{mn}b_{n1} & a_{m1}b_{12} + \cdots + a_{mn}b_{n2} & \cdots & a_{m1}b_{1p} + \cdots + a_{mn}b_{np} \\ \end{bmatrix} \end{align*} -``` +$$ ### Cross Product -```math +$$ \begin{align*} \vec{a} \times \vec{b} = \begin{vmatrix} @@ -55,4 +55,4 @@ a_1 & a_2 & a_3\\ b_1 & b_2 & b_3 \end{vmatrix} = (a_2b_3-a_3b_2)i + (a_3b_1-a_1b_3)j+(a_1b_2-a_2b_1)k \end{align*} -``` +$$