summaryrefslogtreecommitdiffstats
path: root/docs/_layouts
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-02-08 13:04:32 -0800
committerGitHub <noreply@github.com>2023-02-08 13:04:32 -0800
commit80b1b372dc131beefeda224ffa619b2b995173bd (patch)
treea205c494969bc5819ace77fd6891437fc24d2f4b /docs/_layouts
parentb1d7dc0707406da69d94f3915fa48f39020b93ab (diff)
Update autodiff documentation with more precise math definitions. (#2636)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'docs/_layouts')
-rw-r--r--docs/_layouts/user-guide.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/_layouts/user-guide.html b/docs/_layouts/user-guide.html
index 1a4be7030..b9a387686 100644
--- a/docs/_layouts/user-guide.html
+++ b/docs/_layouts/user-guide.html
@@ -389,6 +389,25 @@
updateCurrentSubsection(findCurrentSubsection());
</script>
+ <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+ <script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ tex2jax: {
+ inlineMath: [ ['$$','$$'], ["\\(","\\)"] ],
+ displayMath: [ ['$$','$$'], ["\\(","\\)"] ],
+ },
+ TeX: {
+ Macros: {
+ bra: ["\\langle{#1}|", 1],
+ ket: ["|{#1}\\rangle", 1],
+ braket: ["\\langle{#1}\\rangle", 1],
+ bk: ["\\langle{#1}|{#2}|{#3}\\rangle", 3]
+ }
+ }
+ });
+ </script>
+ <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+
{% if site.google_analytics %}
<script>
(function (i, s, o, g, r, a, m) {