libigl v2.5.0
Loading...
Searching...
No Matches
polar_dec.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_POLAR_DEC
9#define IGL_POLAR_DEC
10#include "igl_inline.h"
11#include <Eigen/Core>
12
13namespace igl
14{
26 template <
27 typename DerivedA,
28 typename DerivedR,
29 typename DerivedT,
30 typename DerivedU,
31 typename DerivedS,
32 typename DerivedV>
34 const Eigen::PlainObjectBase<DerivedA> & A,
35 bool includeReflections,
36 Eigen::PlainObjectBase<DerivedR> & R,
37 Eigen::PlainObjectBase<DerivedT> & T,
38 Eigen::PlainObjectBase<DerivedU> & U,
39 Eigen::PlainObjectBase<DerivedS> & S,
40 Eigen::PlainObjectBase<DerivedV> & V);
42 template <
43 typename DerivedA,
44 typename DerivedR,
45 typename DerivedT>
47 const Eigen::PlainObjectBase<DerivedA> & A,
48 const bool includeReflections,
49 Eigen::PlainObjectBase<DerivedR> & R,
50 Eigen::PlainObjectBase<DerivedT> & T);
53 template <
54 typename DerivedA,
55 typename DerivedR,
56 typename DerivedT,
57 typename DerivedU,
58 typename DerivedS,
59 typename DerivedV>
61 const Eigen::PlainObjectBase<DerivedA> & A,
62 Eigen::PlainObjectBase<DerivedR> & R,
63 Eigen::PlainObjectBase<DerivedT> & T,
64 Eigen::PlainObjectBase<DerivedU> & U,
65 Eigen::PlainObjectBase<DerivedS> & S,
66 Eigen::PlainObjectBase<DerivedV> & V);
68 template <
69 typename DerivedA,
70 typename DerivedR,
71 typename DerivedT>
73 const Eigen::PlainObjectBase<DerivedA> & A,
74 Eigen::PlainObjectBase<DerivedR> & R,
75 Eigen::PlainObjectBase<DerivedT> & T);
76}
77#ifndef IGL_STATIC_LIBRARY
78# include "polar_dec.cpp"
79#endif
80#endif
81
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void polar_dec(const Eigen::PlainObjectBase< DerivedA > &A, bool includeReflections, Eigen::PlainObjectBase< DerivedR > &R, Eigen::PlainObjectBase< DerivedT > &T, Eigen::PlainObjectBase< DerivedU > &U, Eigen::PlainObjectBase< DerivedS > &S, Eigen::PlainObjectBase< DerivedV > &V)
Computes the polar decomposition (R,T) of a matrix A.