Public Member Functions | |
CGNPPLib (float64_t *vector_y, CKernel *kernel, int32_t num_data, float64_t reg_const) | |
~CGNPPLib () | |
int8_t | gnpp_mdm (float64_t *diag_H, float64_t *vector_c, float64_t *vector_y, int32_t dim, int32_t tmax, float64_t tolabs, float64_t tolrel, float64_t th, float64_t *alpha, int32_t *ptr_t, float64_t *ptr_aHa11, float64_t *ptr_aHa22, float64_t **ptr_History, int32_t verb) |
int8_t | gnpp_imdm (float64_t *diag_H, float64_t *vector_c, float64_t *vector_y, int32_t dim, int32_t tmax, float64_t tolabs, float64_t tolrel, float64_t th, float64_t *alpha, int32_t *ptr_t, float64_t *ptr_aHa11, float64_t *ptr_aHa22, float64_t **ptr_History, int32_t verb) |
Protected Member Functions | |
float64_t * | get_col (int64_t a, int64_t b) |
Protected Attributes | |
float64_t ** | kernel_columns |
float64_t * | cache_index |
int32_t | first_kernel_inx |
int64_t | Cache_Size |
int32_t | m_num_data |
float64_t | m_reg_const |
float64_t * | m_vector_y |
CKernel * | m_kernel |
Definition at line 27 of file gnpplib.h.
CGNPPLib::CGNPPLib | ( | float64_t * | vector_y, | |
CKernel * | kernel, | |||
int32_t | num_data, | |||
float64_t | reg_const | |||
) |
constructor
vector_y | vector y | |
kernel | kernel | |
num_data | number of data | |
reg_const | reg const |
Definition at line 32 of file gnpplib.cpp.
CGNPPLib::~CGNPPLib | ( | ) |
Definition at line 60 of file gnpplib.cpp.
float64_t * CGNPPLib::get_col | ( | int64_t | a, | |
int64_t | b | |||
) | [protected] |
int8_t CGNPPLib::gnpp_imdm | ( | float64_t * | diag_H, | |
float64_t * | vector_c, | |||
float64_t * | vector_y, | |||
int32_t | dim, | |||
int32_t | tmax, | |||
float64_t | tolabs, | |||
float64_t | tolrel, | |||
float64_t | th, | |||
float64_t * | alpha, | |||
int32_t * | ptr_t, | |||
float64_t * | ptr_aHa11, | |||
float64_t * | ptr_aHa22, | |||
float64_t ** | ptr_History, | |||
int32_t | verb | |||
) |
-------------------------------------------------------------- QP solver based on improved MDM algorithm (u fixed v optimized)
Usage: exitflag = gnpp_imdm( diag_H, vector_c, vector_y, dim, tmax, tolabs, tolrel, th, &alpha, &t, &aHa11, &aHa22, &History ); --------------------------------------------------------------
Definition at line 340 of file gnpplib.cpp.
int8_t CGNPPLib::gnpp_mdm | ( | float64_t * | diag_H, | |
float64_t * | vector_c, | |||
float64_t * | vector_y, | |||
int32_t | dim, | |||
int32_t | tmax, | |||
float64_t | tolabs, | |||
float64_t | tolrel, | |||
float64_t | th, | |||
float64_t * | alpha, | |||
int32_t * | ptr_t, | |||
float64_t * | ptr_aHa11, | |||
float64_t * | ptr_aHa22, | |||
float64_t ** | ptr_History, | |||
int32_t | verb | |||
) |
-------------------------------------------------------------- QP solver based on MDM algorithm.
Usage: exitflag = gnpp_mdm(diag_H, vector_c, vector_y, dim, tmax, tolabs, tolrel, th, &alpha, &t, &aHa11, &aHa22, &History ); --------------------------------------------------------------
Definition at line 75 of file gnpplib.cpp.
float64_t* CGNPPLib::cache_index [protected] |
int64_t CGNPPLib::Cache_Size [protected] |
int32_t CGNPPLib::first_kernel_inx [protected] |
float64_t** CGNPPLib::kernel_columns [protected] |
CKernel* CGNPPLib::m_kernel [protected] |
int32_t CGNPPLib::m_num_data [protected] |
float64_t CGNPPLib::m_reg_const [protected] |
float64_t* CGNPPLib::m_vector_y [protected] |