|
Deterministic Gaussian Sampling
|
interface for the gausian mixture to dirac approximation More...
#include <dirac_to_dirac_approx_i.h>
Public Types | |
| using | GSLVectorType = typename GSLTemplateTypeAlias< T >::VectorType |
| using | GSLVectorViewType = typename GSLTemplateTypeAlias< T >::VectorViewType |
| using | GSLMatrixType = typename GSLTemplateTypeAlias< T >::MatrixType |
| using | GSLMatrixViewType = typename GSLTemplateTypeAlias< T >::MatrixViewType |
Public Member Functions | |
| virtual bool | approximate (const T *y, size_t M, size_t L, size_t N, size_t bMax, T *x, const T *wX, const T *wY, GslminimizerResult *result, const ApproximateOptions &options)=0 |
| reduce the data points using raw pointers | |
| virtual void | modified_van_mises_distance_sq (T *distance, const T *y, size_t M, size_t L, size_t N, size_t bMax, T *x, const T *wX, const T *wY)=0 |
| calculate modified van mises distance based on x and y | |
| virtual void | modified_van_mises_distance_sq_derivative (T *gradient, const T *y, size_t M, size_t L, size_t N, size_t bMax, T *x, const T *wX, const T *wY)=0 |
| calculate modified van mises distance based on x and y | |
| virtual bool | approximate (const GSLVectorType *y, size_t L, size_t N, size_t bMax, GSLVectorType *x, const GSLVectorType *wX, const GSLVectorType *wY, GslminimizerResult *result, const ApproximateOptions &options)=0 |
| reduce the data points using gsl vectors | |
| virtual void | modified_van_mises_distance_sq (T *distance, const GSLVectorType *y, size_t L, size_t N, size_t bMax, GSLVectorType *x, const GSLVectorType *wX, const GSLVectorType *wY)=0 |
| calculate modified van mises distance based on x and y | |
| virtual void | modified_van_mises_distance_sq_derivative (GSLMatrixType *gradient, const GSLVectorType *y, size_t L, size_t N, size_t bMax, GSLVectorType *x, const GSLVectorType *wX, const GSLVectorType *wY)=0 |
| calculate modified van mises distance based on x and y | |
| virtual bool | approximate (GSLMatrixType *y, size_t L, size_t bMax, GSLMatrixType *x, const GSLVectorType *wX, const GSLVectorType *wY, GslminimizerResult *result, const ApproximateOptions &options)=0 |
| reduce the data points using gsl matricies where possible | |
| virtual void | modified_van_mises_distance_sq (T *distance, GSLMatrixType *y, size_t L, size_t bMax, GSLMatrixType *x, const GSLVectorType *wX, const GSLVectorType *wY)=0 |
| calculate modified van mises distance based on x and y | |
| virtual void | modified_van_mises_distance_sq_derivative (GSLMatrixType *gradient, GSLMatrixType *y, size_t L, size_t bMax, GSLMatrixType *x, const GSLVectorType *wX, const GSLVectorType *wY)=0 |
| calculate modified van mises distance based on x and y | |
interface for the gausian mixture to dirac approximation
| T | type of the vector (float, double) |
|
pure virtual |
reduce the data points using gsl vectors
| y | input data points |
| L | number of data points for reduction |
| N | dimension of the data |
| bMax | bMax |
| x | first guess for the reduction and return value |
| wX | weights for the x data points |
| wY | weights for the y data points |
| result | minimizer result |
| options | options for minimizer |
Implemented in dirac_to_dirac_approx_short< T >, and dirac_to_dirac_approx_short_thread< T >.
|
pure virtual |
reduce the data points using raw pointers
| y | input data points |
| M | number of input data points |
| L | number of data points for reduction |
| N | dimension of the data |
| bMax | bMax |
| x | first guess for the reduction and return value |
| wX | weights for the x data points |
| wY | weights for the y data points |
| result | minimizer result |
| options | options for minimizer |
Implemented in dirac_to_dirac_approx_short< T >, and dirac_to_dirac_approx_short_thread< T >.
|
pure virtual |
reduce the data points using gsl matricies where possible
| y | input data points |
| L | number of data points for reduction |
| bMax | bMax |
| x | first guess for the reduction and return value |
| wX | weights for the x data points |
| wY | weights for the y data points |
| result | minimizer result |
| options | options for minimizer |
Implemented in dirac_to_dirac_approx_short< T >, and dirac_to_dirac_approx_short_thread< T >.
|
pure virtual |
calculate modified van mises distance based on x and y
| distance | pointer to distance value to be calculated |
| y | input data points |
| L | number of elements in x |
| N | dimension of the data |
| bMax | bMax |
| x | input data points |
| wX | weights for the x data points |
| wY | weights for the y data points |
Implemented in dirac_to_dirac_approx_short< T >, and dirac_to_dirac_approx_short_thread< T >.
|
pure virtual |
calculate modified van mises distance based on x and y
| distance | pointer to distance value to be calculated |
| y | input data points |
| M | number of elements in y |
| L | number of elements in x |
| N | dimension of the data |
| bMax | bMax |
| x | input data points |
| wX | weights for the x data points |
| wY | weights for the y data points |
Implemented in dirac_to_dirac_approx_short< T >, and dirac_to_dirac_approx_short_thread< T >.
|
pure virtual |
calculate modified van mises distance based on x and y
| distance | pointer to distance value to be calculated |
| y | input data points |
| L | number of elements in x |
| bMax | bMax |
| x | input data points |
| wX | weights for the x data points |
| wY | weights for the y data points |
Implemented in dirac_to_dirac_approx_short< T >, and dirac_to_dirac_approx_short_thread< T >.
|
pure virtual |
calculate modified van mises distance based on x and y
| gradient | pointer to gradient to be calculated |
| y | input data points |
| L | number of elements in x |
| N | dimension of the data |
| bMax | bMax |
| x | input data points |
| wX | weights for the x data points |
| wY | weights for the y data points |
Implemented in dirac_to_dirac_approx_short< T >, and dirac_to_dirac_approx_short_thread< T >.
|
pure virtual |
calculate modified van mises distance based on x and y
| gradient | pointer to gradient to be calculated |
| y | input data points |
| L | number of elements in x |
| bMax | bMax |
| x | input data points |
| wX | weights for the x data points |
| wY | weights for the y data points |
Implemented in dirac_to_dirac_approx_short< T >, and dirac_to_dirac_approx_short_thread< T >.
|
pure virtual |
calculate modified van mises distance based on x and y
| gradient | pointer to gradient to be calculated |
| y | input data points |
| M | number of elements in y |
| L | number of elements in x |
| N | dimension of the data |
| bMax | bMax |
| x | input data points |
| wX | weights for the x data points |
| wY | weights for the y data points |
Implemented in dirac_to_dirac_approx_short< T >, and dirac_to_dirac_approx_short_thread< T >.