CubbyFlow v0.71
Core
Math
SVD.h
Go to the documentation of this file.
1
/*************************************************************************
2
> File Name: SVD.h
3
> Project Name: CubbyFlow
4
> Author: Chan-Ho Chris Ohk
5
> Purpose: Singular value decomposition (SVD).
6
> Created Time: 2017/11/19
7
> Copyright (c) 2018, Chan-Ho Chris Ohk
8
*************************************************************************/
9
#ifndef CUBBYFLOW_SVD_H
10
#define CUBBYFLOW_SVD_H
11
12
#include <
Core/Matrix/Matrix2x2.h
>
13
#include <
Core/Matrix/Matrix3x3.h
>
14
#include <
Core/Matrix/Matrix4x4.h
>
15
#include <
Core/Matrix/MatrixMxN.h
>
16
#include <
Core/Vector/VectorN.h
>
17
18
namespace
CubbyFlow
19
{
32
template
<
typename
T>
33
void
SVD
(
const
MatrixMxN<T>& a, MatrixMxN<T>& u, VectorN<T>& w, MatrixMxN<T>& v);
34
47
template
<
typename
T,
size_t
M,
size_t
N>
48
void
SVD
(
const
Matrix<T, M, N>& a, Matrix<T, M, N>& u, Vector<T, N>& w, Matrix<T, N, N>& v);
49
}
50
51
#include <
Core/Math/SVD-Impl.h
>
52
53
#endif
Matrix3x3.h
SVD-Impl.h
Matrix4x4.h
CubbyFlow
Definition:
pybind11Utils.h:24
Matrix2x2.h
VectorN.h
MatrixMxN.h
CubbyFlow::SVD
void SVD(const MatrixMxN< T > &a, MatrixMxN< T > &u, VectorN< T > &w, MatrixMxN< T > &v)
Singular value decomposition (SVD).
Definition:
SVD-Impl.h:50
Generated on Sun Apr 22 2018 23:43:20 for CubbyFlow by
1.8.14