27 #ifndef PPRZ_MATRIX_DECOMP_FLOAT_H
28 #define PPRZ_MATRIX_DECOMP_FLOAT_H
58 void pprz_qr_float(
float **Q,
float **R,
float **in,
int m,
int n);
104 void pprz_svd_solve_float(
float **x,
float **u,
float *w,
float **v,
float **b,
int m,
int n,
int l);
135 void fit_linear_model_prior(
float *targets,
int D,
float (*samples)[D],
uint16_t count,
bool use_bias,
float *priors,
float *params,
float *fit_error);
void fit_linear_model_prior(float *targets, int D, float(*samples)[D], uint16_t count, bool use_bias, float *priors, float *params, float *fit_error)
Fit a linear model from samples to target values with a prior.
void pprz_cholesky_float(float **out, float **in, int n)
Cholesky decomposition.
void pprz_qr_float(float **Q, float **R, float **in, int m, int n)
QR decomposition.
void pprz_svd_solve_float(float **x, float **u, float *w, float **v, float **b, int m, int n, int l)
SVD based linear solver.
int pprz_svd_float(float **a, float *w, float **v, int m, int n)
SVD decomposition.
void fit_linear_model(float *targets, int D, float(*samples)[D], uint16_t count, bool use_bias, float *params, float *fit_error)
Fit a linear model from samples to target values.