24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 39 SHEAF_DLL_SPEC
bool svd_decompose(
double* xa,
double* xs,
double* xv,
40 int xnrows,
int xncols);
51 SHEAF_DLL_SPEC
bool svd_reduce(
double* xa,
double* xw,
double* xv,
53 double* ltemp,
double& lnorm);
61 double* xtemp,
double lnorm);
66 SHEAF_DLL_SPEC
double same_sign(
double xa,
double xb);
71 SHEAF_DLL_SPEC
double svd_pythag(
double xa,
double xb);
76 #endif // ifndef SVD_H SHEAF_DLL_SPEC bool svd_diagonalize(double *xa, double *xw, double *xv, int nrows, int ncols, double *xtemp, double lnorm)
Diagonalization of the bidiagonal form. Convenience function.
SHEAF_DLL_SPEC double svd_pythag(double xa, double xb)
Pthagorean theorem calculation.
SHEAF_DLL_SPEC bool svd_reduce(double *xa, double *xw, double *xv, int nrows, int ncols, double *ltemp, double &lnorm)
Householder reduction to bidiagonal form. Convenience function.
SHEAF_DLL_SPEC bool svd_decompose(double *xa, double *xs, double *xv, int xnrows, int xncols)
Perform single value decomposition.
SHEAF_DLL_SPEC double same_sign(double xa, double xb)
Convert xa to have the same sign as xb.
Namespace for the fiber_bundles component of the sheaf system.