Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
DynareJulia
KalmanFilterTools.jl
Commits
3306088f
Commit
3306088f
authored
Jun 01, 2020
by
Michel Juillard
Browse files
fixing dimensions of vKDKP
parent
83c73252
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/KalmanFilterTools.jl
View file @
3306088f
...
...
@@ -1118,7 +1118,7 @@ function kalman_filter_2!(Y::AbstractArray{U},
viF
=
view
(
ws
.
iF
,
1
:
ndata
,
1
:
ndata
,
t
)
viFv
=
view
(
ws
.
iFv
,
1
:
ndata
,
t
)
vK
=
view
(
ws
.
K
,
1
:
ndata
,
:
,
t
)
vKDK
=
view
(
ws
.
KDK
,
1
:
ndata
,
:
,
t
)
# Kalman Filter Gain according to Durbin & Koopman (4.22)
vKDK
=
view
(
ws
.
KDK
,
:
,
1
:
ndata
,
t
)
# Kalman Filter Gain according to Durbin & Koopman (4.22)
# v = Y[:,t] - c - Z*a
get_v!
(
vv
,
Y
,
vc
,
vZ
,
va
,
t
,
pattern
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment