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
Now I am not sure if this warrants changes inside the ishermitian() function, i.e. changing == to ≈, or if inside this package we should make sure that k.cur_sigma[1,2] == conj(k.cur_sigma[2,1]) holds exactly.
What do you guys think?
In case you wonder why this may be important: Some other functions that take a VCOV matrix (e.g. qnwnorm) control if the VCOV matrix is indeed Hermitian. A natural application would be
Kalman-Filtering -> obtaining estimates and vcov -> using these to form expectations over another function:
nodes, weights = qnwnorm(10,k.cur_x_hat,k.cur_sigma)
PosDefException: matrix is not Hermitian; Cholesky factorization failed.
in top-level scope at base\none
in qnwnorm at QuantEcon\7w41U\src\quad.jl:573
in qnwnorm at QuantEcon\7w41U\src\quad.jl:555
in cholesky at stdlib\v1.1\LinearAlgebra\src\cholesky.jl:275
in cholesky at stdlib\v1.1\LinearAlgebra\src\cholesky.jl:275
in #cholesky#101 at stdlib\v1.1\LinearAlgebra\src\cholesky.jl:275
in #cholesky! at base\none
in #cholesky! at base\none
in #cholesky!#97 at stdlib\v1.1\LinearAlgebra\src\cholesky.jl:182
in checkpositivedefinite at stdlib\v1.1\LinearAlgebra\src\factorization.jl:11
The text was updated successfully, but these errors were encountered:
I have the following issue using the Kalman-Filter. Start with the following setup (the numbers don't really matter):
This is in both cases due to
Now I am not sure if this warrants changes inside the
ishermitian()
function, i.e. changing==
to≈
, or if inside this package we should make sure thatk.cur_sigma[1,2] == conj(k.cur_sigma[2,1])
holds exactly.What do you guys think?
In case you wonder why this may be important: Some other functions that take a VCOV matrix (e.g.
qnwnorm
) control if the VCOV matrix is indeed Hermitian. A natural application would beThe text was updated successfully, but these errors were encountered: