diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-10-09 21:55:15 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-10-09 22:26:33 +0300 |
commit | 8159718fafc57cfbc9da7f706e599a91caccfa42 (patch) | |
tree | 4ddfa59687a8b4d048aafc0cdf66deb27acf5e0b /source/blender/blenlib/BLI_math_solvers.h | |
parent | ad5f6a95dd8c76773306b4e7f891b6e97fbbcd20 (diff) |
BLI: add SVD solver for mat3 (using eigen3).
Diffstat (limited to 'source/blender/blenlib/BLI_math_solvers.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_solvers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_solvers.h b/source/blender/blenlib/BLI_math_solvers.h index ec9ba5538e2..810c84cc830 100644 --- a/source/blender/blenlib/BLI_math_solvers.h +++ b/source/blender/blenlib/BLI_math_solvers.h @@ -46,6 +46,7 @@ extern "C" { bool BLI_eigen_solve_selfadjoint_m3(const float m3[3][3], float r_eigen_values[3], float r_eigen_vectors[3][3]); +void BLI_svd_m3(const float m3[3][3], float r_U[3][3], float r_S[], float r_V[3][3]); /**************************** Inline Definitions ******************************/ #if 0 /* None so far. */ |