|
Deterministic Gaussian Sampling
|
Public Types | |
| using | MatrixType = typename std::conditional< std::is_same< T, double >::value, gsl_matrix, gsl_matrix_float >::type |
| using | MatrixViewType = typename std::conditional< std::is_same< T, double >::value, gsl_matrix_view, gsl_matrix_float_view >::type |
| using | VectorType = typename std::conditional< std::is_same< T, double >::value, gsl_vector, gsl_vector_float >::type |
| using | VectorViewType = typename std::conditional< std::is_same< T, double >::value, gsl_vector_view, gsl_vector_float_view >::type |
Static Public Member Functions | |
| static VectorViewType | vector_view_from_array (const T *data, size_t size) |
| static VectorViewType | vector_view_from_array (T *data, size_t size) |
| static VectorViewType | flatten_matrix_to_vector (MatrixType *m) |
| static VectorViewType | flatten_matrix_to_vector (const MatrixType *m) |
| static VectorType * | allocate_vector (size_t size) |
| static void | free_vector (VectorType *v) |
| static MatrixViewType | matrix_view_from_array (const T *data, size_t size1, size_t size2) |
| static MatrixViewType | matrix_view_from_array (T *data, size_t size1, size_t size2) |
| static MatrixType * | allocate_matrix (size_t rows, size_t cols) |
| static void | free_matrix (MatrixType *m) |