Jet  v1.3.3
svd.h
Go to the documentation of this file.
1 // Copyright (c) 2018 Doyub Kim
2 //
3 // I am making my contributions/submissions to this project solely in my
4 // personal capacity and am not conveying any rights to any intellectual
5 // property of any third parties.
6 
7 #ifndef INCLUDE_JET_SVD_H_
8 #define INCLUDE_JET_SVD_H_
9 
10 #include <jet/matrix2x2.h>
11 #include <jet/matrix3x3.h>
12 #include <jet/matrix4x4.h>
13 #include <jet/matrix_mxn.h>
14 
15 namespace jet {
16 
29 template <typename T>
30 void svd(const MatrixMxN<T>& a, MatrixMxN<T>& u, VectorN<T>& w,
31  MatrixMxN<T>& v);
32 
45 template <typename T, size_t M, size_t N>
47  Matrix<T, N, N>& v);
48 
49 } // namespace jet
50 
51 #include "detail/svd-inl.h"
52 
53 #endif // INCLUDE_JET_SVD_H_
jet::MatrixMxN
M x N matrix class.
Definition: matrix_mxn.h:26
matrix3x3.h
jet::VectorN
General purpose dynamically-sizedN-D vector class.
Definition: vector_n.h:30
jet::svd
void svd(const MatrixMxN< T > &a, MatrixMxN< T > &u, VectorN< T > &w, MatrixMxN< T > &v)
Singular value decomposition (SVD).
matrix_mxn.h
jet::Matrix
Static-sized M x N matrix class.
Definition: matrix.h:29
jet::Vector
Generic statically-sized N-D vector class.
Definition: vector.h:31
jet
Definition: advection_solver2.h:18
matrix4x4.h
matrix2x2.h