JWS C Library
C language utility library
|
Definitions for multivariate probability density functions. More...
#include <jwsc/config.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <inttypes.h>
#include "jwsc/base/error.h"
#include "jwsc/math/constants.h"
#include "jwsc/math/lapack.h"
#include "jwsc/vector/vector.h"
#include "jwsc/vector/vector_math.h"
#include "jwsc/matrix/matrix.h"
#include "jwsc/matrix/matrix_math.h"
#include "jwsc/prob/pdf.h"
#include "jwsc/prob/mv_pdf.h"
Go to the source code of this file.
Functions | |
sample_standard_mv_gaussian_pdf | |
Draws a random sample from the standard multivariate Gaussian pdf. | |
void | sample_standard_mv_gaussian_pdf_f (Vector_f **x_out, uint32_t D) |
Draws a single precision random sample from the standard multivariate Gaussian pdf. | |
void | sample_standard_mv_gaussian_pdf_d (Vector_d **x_out, uint32_t D) |
Draws a double precision random sample from the standard multivariate Gaussian pdf. | |
set_sample_standard_mv_gaussian_pdf | |
Draws a set of random samples from the standard multivariate Gaussian pdf. | |
void | set_sample_standard_mv_gaussian_pdf_f (Matrix_f **x_out, uint32_t N, uint32_t D) |
Draws a set of single precision random samples from the standard multivariate Gaussian pdf. | |
void | set_sample_standard_mv_gaussian_pdf_d (Matrix_d **x_out, uint32_t N, uint32_t D) |
Draws a set of double precision random samples from the standard multivariate Gaussian pdf. |
Definitions for multivariate probability density functions.
Definition in file mv_pdf.c.
void sample_standard_mv_gaussian_pdf_f | ( | Vector_f ** | x_out, |
uint32_t | D | ||
) |
Draws a single precision random sample from the standard multivariate Gaussian pdf.
x_out | Result parameter. Contains the D-dimensional sample. |
D | Dimension of the variate to sample. |
void sample_standard_mv_gaussian_pdf_d | ( | Vector_d ** | x_out, |
uint32_t | D | ||
) |
Draws a double precision random sample from the standard multivariate Gaussian pdf.
x_out | Result parameter. Contains the D-dimensional sample. |
D | Dimension of the variate to sample. |
void set_sample_standard_mv_gaussian_pdf_f | ( | Matrix_f ** | x_out, |
uint32_t | N, | ||
uint32_t | D | ||
) |
Draws a set of single precision random samples from the standard multivariate Gaussian pdf.
x_out | Result parameter. Contains the set of D-dimensional samples. |
N | Number of samples in the set. |
D | Dimension of the variate to sample. |
void set_sample_standard_mv_gaussian_pdf_d | ( | Matrix_d ** | x_out, |
uint32_t | N, | ||
uint32_t | D | ||
) |
Draws a set of double precision random samples from the standard multivariate Gaussian pdf.
x_out | Result parameter. Contains the set of D-dimensional samples. |
N | Number of samples in the set. |
D | Dimension of the variate to sample. |