#include <arima_common.h>
Public Member Functions | |
ARIMAMemory (const ARIMAOrder &order, int batch_size, int n_obs, char *in_buf) | |
Static Public Member Functions | |
static size_t | compute_size (const ARIMAOrder &order, int batch_size, int n_obs) |
Public Attributes | |
T * | params_mu |
T * | params_beta |
T * | params_ar |
T * | params_ma |
T * | params_sar |
T * | params_sma |
T * | params_sigma2 |
T * | Tparams_ar |
T * | Tparams_ma |
T * | Tparams_sar |
T * | Tparams_sma |
T * | Tparams_sigma2 |
T * | d_params |
T * | d_Tparams |
T * | Z_dense |
T * | R_dense |
T * | T_dense |
T * | RQR_dense |
T * | RQ_dense |
T * | P_dense |
T * | alpha_dense |
T * | ImT_dense |
T * | ImT_inv_dense |
T * | v_tmp_dense |
T * | m_tmp_dense |
T * | K_dense |
T * | TP_dense |
T * | pred |
T * | y_diff |
T * | exog_diff |
T * | loglike |
T * | loglike_base |
T * | loglike_pert |
T * | x_pert |
T * | I_m_AxA_dense |
T * | I_m_AxA_inv_dense |
T * | Ts_dense |
T * | RQRs_dense |
T * | Ps_dense |
T ** | Z_batches |
T ** | R_batches |
T ** | T_batches |
T ** | RQR_batches |
T ** | RQ_batches |
T ** | P_batches |
T ** | alpha_batches |
T ** | ImT_batches |
T ** | ImT_inv_batches |
T ** | v_tmp_batches |
T ** | m_tmp_batches |
T ** | K_batches |
T ** | TP_batches |
T ** | I_m_AxA_batches |
T ** | I_m_AxA_inv_batches |
T ** | Ts_batches |
T ** | RQRs_batches |
T ** | Ps_batches |
int * | ImT_inv_P |
int * | ImT_inv_info |
int * | I_m_AxA_P |
int * | I_m_AxA_info |
size_t | size |
Protected Member Functions | |
template<bool assign, typename ValType > | |
void | append_buffer (ValType *&ptr, size_t n_elem) |
template<bool assign> | |
void | buf_offsets (const ARIMAOrder &order, int batch_size, int n_obs, char *in_buf=nullptr) |
ARIMAMemory (const ARIMAOrder &order, int batch_size, int n_obs) | |
Protected Attributes | |
char * | buf |
Structure to manage ARIMA temporary memory allocations
|
inlineprotected |
Protected constructor to estimate max size
|
inline |
Constructor to create pointers from buffer
[in] | order | ARIMA order |
[in] | batch_size | Number of series in the batch |
[in] | n_obs | Length of the series |
[in] | in_buf | Pointer to the temporary memory buffer. Ownership is retained by the caller |
|
inlineprotected |
|
inlineprotected |
|
inlinestatic |
Static method to get the size of the required buffer allocation
[in] | order | ARIMA order |
[in] | batch_size | Number of series in the batch |
[in] | n_obs | Length of the series |
T ** ML::ARIMAMemory< T, ALIGN >::alpha_batches |
T * ML::ARIMAMemory< T, ALIGN >::alpha_dense |
|
protected |
T * ML::ARIMAMemory< T, ALIGN >::d_params |
T * ML::ARIMAMemory< T, ALIGN >::d_Tparams |
T * ML::ARIMAMemory< T, ALIGN >::exog_diff |
T ** ML::ARIMAMemory< T, ALIGN >::I_m_AxA_batches |
T * ML::ARIMAMemory< T, ALIGN >::I_m_AxA_dense |
int * ML::ARIMAMemory< T, ALIGN >::I_m_AxA_info |
T ** ML::ARIMAMemory< T, ALIGN >::I_m_AxA_inv_batches |
T * ML::ARIMAMemory< T, ALIGN >::I_m_AxA_inv_dense |
int * ML::ARIMAMemory< T, ALIGN >::I_m_AxA_P |
T ** ML::ARIMAMemory< T, ALIGN >::ImT_batches |
T * ML::ARIMAMemory< T, ALIGN >::ImT_dense |
T ** ML::ARIMAMemory< T, ALIGN >::ImT_inv_batches |
T * ML::ARIMAMemory< T, ALIGN >::ImT_inv_dense |
int * ML::ARIMAMemory< T, ALIGN >::ImT_inv_info |
int* ML::ARIMAMemory< T, ALIGN >::ImT_inv_P |
T ** ML::ARIMAMemory< T, ALIGN >::K_batches |
T * ML::ARIMAMemory< T, ALIGN >::K_dense |
T * ML::ARIMAMemory< T, ALIGN >::loglike |
T * ML::ARIMAMemory< T, ALIGN >::loglike_base |
T * ML::ARIMAMemory< T, ALIGN >::loglike_pert |
T ** ML::ARIMAMemory< T, ALIGN >::m_tmp_batches |
T * ML::ARIMAMemory< T, ALIGN >::m_tmp_dense |
T ** ML::ARIMAMemory< T, ALIGN >::P_batches |
T * ML::ARIMAMemory< T, ALIGN >::P_dense |
T * ML::ARIMAMemory< T, ALIGN >::params_ar |
T * ML::ARIMAMemory< T, ALIGN >::params_beta |
T * ML::ARIMAMemory< T, ALIGN >::params_ma |
T* ML::ARIMAMemory< T, ALIGN >::params_mu |
T * ML::ARIMAMemory< T, ALIGN >::params_sar |
T * ML::ARIMAMemory< T, ALIGN >::params_sigma2 |
T * ML::ARIMAMemory< T, ALIGN >::params_sma |
T * ML::ARIMAMemory< T, ALIGN >::pred |
T ** ML::ARIMAMemory< T, ALIGN >::Ps_batches |
T * ML::ARIMAMemory< T, ALIGN >::Ps_dense |
T ** ML::ARIMAMemory< T, ALIGN >::R_batches |
T * ML::ARIMAMemory< T, ALIGN >::R_dense |
T ** ML::ARIMAMemory< T, ALIGN >::RQ_batches |
T * ML::ARIMAMemory< T, ALIGN >::RQ_dense |
T ** ML::ARIMAMemory< T, ALIGN >::RQR_batches |
T * ML::ARIMAMemory< T, ALIGN >::RQR_dense |
T ** ML::ARIMAMemory< T, ALIGN >::RQRs_batches |
T * ML::ARIMAMemory< T, ALIGN >::RQRs_dense |
size_t ML::ARIMAMemory< T, ALIGN >::size |
T ** ML::ARIMAMemory< T, ALIGN >::T_batches |
T * ML::ARIMAMemory< T, ALIGN >::T_dense |
T ** ML::ARIMAMemory< T, ALIGN >::TP_batches |
T * ML::ARIMAMemory< T, ALIGN >::TP_dense |
T * ML::ARIMAMemory< T, ALIGN >::Tparams_ar |
T * ML::ARIMAMemory< T, ALIGN >::Tparams_ma |
T * ML::ARIMAMemory< T, ALIGN >::Tparams_sar |
T * ML::ARIMAMemory< T, ALIGN >::Tparams_sigma2 |
T * ML::ARIMAMemory< T, ALIGN >::Tparams_sma |
T ** ML::ARIMAMemory< T, ALIGN >::Ts_batches |
T * ML::ARIMAMemory< T, ALIGN >::Ts_dense |
T ** ML::ARIMAMemory< T, ALIGN >::v_tmp_batches |
T * ML::ARIMAMemory< T, ALIGN >::v_tmp_dense |
T * ML::ARIMAMemory< T, ALIGN >::x_pert |
T * ML::ARIMAMemory< T, ALIGN >::y_diff |
T** ML::ARIMAMemory< T, ALIGN >::Z_batches |
T * ML::ARIMAMemory< T, ALIGN >::Z_dense |