Compute the parameters of a second order autoregressive process. More...
#include <mbl_ar_process.h>
Public Member Functions | |
| mbl_ar_process () | |
| Constructor. | |
| ~mbl_ar_process () | |
| Destructor. | |
| short | version_no () const |
| Version number for I/O. | |
| vcl_string | is_a () const |
| Name of the class. | |
| bool | is_class (vcl_string const &s) const |
| Does the name of the class match the argument?. | |
| void | print_summary (vcl_ostream &os) const |
| Print class to os. | |
| void | b_write (vsl_b_ostream &bfs) const |
| Save class to binary file stream. | |
| void | b_read (vsl_b_istream &bfs) |
| Load class from binary file stream. | |
| void | learn (vcl_vector< vnl_vector< T > > &data) |
| Dynamic learning. | |
| void | learn_burg (vcl_vector< vnl_vector< T > > &data) |
| Learning using Burg's algorithm. | |
| vnl_vector< T > | predict (vnl_vector< T > &Xm1, vnl_vector< T > &Xm2, vnl_random *rng=0) |
| Prediction. | |
Private Attributes | |
| vnl_matrix< T > | A_2 |
| vnl_matrix< T > | A_1 |
| vnl_matrix< T > | B_0 |
| vnl_vector< T > | Xm |
Compute the parameters of a second order autoregressive process.
Definition at line 21 of file mbl_ar_process.h.
| mbl_ar_process< T >::mbl_ar_process | ( | ) |
Constructor.
Definition at line 18 of file mbl_ar_process.txx.
| mbl_ar_process< T >::~mbl_ar_process | ( | ) |
Destructor.
Definition at line 24 of file mbl_ar_process.txx.
| void mbl_ar_process< T >::b_read | ( | vsl_b_istream & | bfs | ) |
Load class from binary file stream.
Definition at line 54 of file mbl_ar_process.txx.
| void mbl_ar_process< T >::b_write | ( | vsl_b_ostream & | bfs | ) | const |
Save class to binary file stream.
Definition at line 47 of file mbl_ar_process.txx.
| vcl_string mbl_ar_process< T >::is_a | ( | ) | const |
Name of the class.
| bool mbl_ar_process< T >::is_class | ( | vcl_string const & | s | ) | const |
Does the name of the class match the argument?.
Definition at line 61 of file mbl_ar_process.txx.
| void mbl_ar_process< T >::learn | ( | vcl_vector< vnl_vector< T > > & | data | ) |
Dynamic learning.
Definition at line 169 of file mbl_ar_process.txx.
| void mbl_ar_process< T >::learn_burg | ( | vcl_vector< vnl_vector< T > > & | data | ) |
Learning using Burg's algorithm.
Definition at line 94 of file mbl_ar_process.txx.
| vnl_vector< T > mbl_ar_process< T >::predict | ( | vnl_vector< T > & | Xm1, |
| vnl_vector< T > & | Xm2, | ||
| vnl_random * | rng = 0 |
||
| ) |
Prediction.
of a vector given the two previous vectors
| rng | Use an externally provided random number generator, rather than one statically local to the function. |
of a vcl_vector given the two previous vectors
Definition at line 69 of file mbl_ar_process.txx.
| void mbl_ar_process< T >::print_summary | ( | vcl_ostream & | os | ) | const |
Print class to os.
Definition at line 37 of file mbl_ar_process.txx.
| short mbl_ar_process< T >::version_no | ( | ) | const |
Version number for I/O.
Definition at line 30 of file mbl_ar_process.txx.
vnl_matrix<T> mbl_ar_process< T >::A_1 [private] |
Definition at line 23 of file mbl_ar_process.h.
vnl_matrix<T> mbl_ar_process< T >::A_2 [private] |
Definition at line 23 of file mbl_ar_process.h.
vnl_matrix<T> mbl_ar_process< T >::B_0 [private] |
Definition at line 23 of file mbl_ar_process.h.
vnl_vector<T> mbl_ar_process< T >::Xm [private] |
Definition at line 24 of file mbl_ar_process.h.
1.7.5.1