Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified examples/one_dof_oscillator/test_SSMLearn.mat
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "eed2e15b",
"metadata": {},
"outputs": [],
Expand All @@ -68,7 +68,7 @@
"\n",
"\n",
"def disp(idx, symObj):\n",
" eqn = '\\\\[' + idx + ' ' + latex(symObj) + '\\\\]'\n",
" eqn = '$$' + idx + ' ' + latex(symObj) + '$$'\n",
" display_latex(eqn,raw=True)\n",
" return"
]
Expand Down
4 changes: 2 additions & 2 deletions ssmlearnpy/utils/postprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from ssmlearnpy.utils.preprocessing import insert_complex_conjugate

def disp(idx, symObj):
eqn = '\\[' + idx + ' ' + latex(symObj) + '\\]'
eqn = '$$' + idx + ' ' + latex(symObj) + '$$'
display_latex(eqn,raw = True)
return

Expand All @@ -17,7 +17,7 @@ def dispMore(idx, symObj):
for i in range(len(idx)):
dispArray = dispArray + idx[i] + ' ' + latex(symObj[i])

eqn = '\\[' + dispArray + '\\]'
eqn = '$$' + dispArray + '$$'
display_latex(eqn,raw = True)
return

Expand Down