Debian Codegraph @

contrib/ms-sbvar/switch_dw/state_space/dw_state_space_historical_decomposition.h

raw
1 /*
2 * Copyright (C) 1996-2011 Daniel Waggoner and Tao Zha
3 *
4 * This free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * It is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * If you did not received a copy of the GNU General Public License
15 * with this software, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef __STATE_SPACE_HISTORICAL_DECOMPOSITION__
19 #define __STATE_SPACE_HISTORICAL_DECOMPOSITION__
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 #include "dw_matrix.h"
26 #include "dw_switch.h"
27 #include "dw_MSStateSpace.h"
28
29 TMatrix dw_state_space_historical_decomposition(TMatrix var, int t0, int h, TStateModel *model);
30 TMatrix dw_state_space_historical_decomposition_states(TMatrix var, int t0, int h, TStateModel *model);
31
32 TVector* SmoothedShocks(TStateModel *model);
33 TVector* SmoothedStates(TStateModel *model);
34
35 void CheckHistoricalDecomposition(TMatrix var, int verbose, TStateModel *model);
36 void CheckHistoricalDecompositionStates(TMatrix var, int verbose, TStateModel *model);
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif