You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplification of an expression involving "kron" doesn't work anymore in the symbolic package
Line 46 is
Hcal(z) = kron(Gcal(z)*Sigmasqrt,transpose(inv(B(z)))*inv(Sigmasqrt))
where I had previously defined "syms Gcal Kcal sigma Pcal Qcal", In = eye(n), and Sigmasqrt = In
Line 47 is
Hcal(z) = simplify(Hcal(z))
I had the mistake when simplify was in line 46 so I broke the instruction in two parts and it is simplify that doesn't work.
This worked in version 8.2.
Here are the error messages:
error: Python exception: NameError: name 'TensorProduct' is not defined
occurred while copying variables to Python.
Try "sympref reset" and repeat your command?
(consider filing an issue at https://github.com/gnu-octave/symbolic/issues)
error: called from
pycall_sympy__ at line 192 column 5
subs at line 269 column 5
subsref at line 46 column 11
E:/MELARD/RECH/KLE/25KM25/NewARMAEx0GLv9 - Octave.m at line 47 column 9
To try a workaround, I deleted Line 47 but then the same mistake occurs on the next instruction
[NHcal(z), DHcal(z)] = numden(Hcal(z))
The text was updated successfully, but these errors were encountered:
gmelard
changed the title
kron doesn't work anymore in the symbolic package
simplify with kron doesn't work anymore in the symbolic package
Oct 7, 2024
Simplification of an expression involving "kron" doesn't work anymore in the symbolic package
Line 46 is
Hcal(z) = kron(Gcal(z)*Sigmasqrt,transpose(inv(B(z)))*inv(Sigmasqrt))
where I had previously defined "syms Gcal Kcal sigma Pcal Qcal", In = eye(n), and Sigmasqrt = In
Line 47 is
Hcal(z) = simplify(Hcal(z))
I had the mistake when simplify was in line 46 so I broke the instruction in two parts and it is simplify that doesn't work.
This worked in version 8.2.
Here are the error messages:
error: Python exception: NameError: name 'TensorProduct' is not defined
occurred while copying variables to Python.
Try "sympref reset" and repeat your command?
(consider filing an issue at https://github.com/gnu-octave/symbolic/issues)
error: called from
pycall_sympy__ at line 192 column 5
subs at line 269 column 5
subsref at line 46 column 11
E:/MELARD/RECH/KLE/25KM25/NewARMAEx0GLv9 - Octave.m at line 47 column 9
To try a workaround, I deleted Line 47 but then the same mistake occurs on the next instruction
[NHcal(z), DHcal(z)] = numden(Hcal(z))
The text was updated successfully, but these errors were encountered: