PeriDyno
1.0.0
Loading...
Searching...
No Matches
D:
Peridyno
peridyno
src
Core
Matrix
MatrixFunc.h
Go to the documentation of this file.
1
#pragma once
2
#include "Platform.h"
3
#include "
Matrix.h
"
4
5
namespace
dyno
6
{
7
#ifdef CUDA_BACKEND
8
template
<
typename
Real,
int
Dim>
9
DYN_FUNC
void
polarDecomposition
(
const
SquareMatrix<Real, Dim>
& A,
SquareMatrix<Real, Dim>
& R,
SquareMatrix<Real, Dim>
& U,
SquareMatrix<Real, Dim>
& D,
SquareMatrix<Real, Dim>
&
V
);
10
#endif
// CUDA_BACKEND
11
12
template
<
typename
Real,
int
Dim>
13
DYN_FUNC
void
polarDecomposition
(
const
SquareMatrix<Real, Dim>
&A,
SquareMatrix<Real, Dim>
&R,
SquareMatrix<Real, Dim>
&U,
SquareMatrix<Real, Dim>
&D);
14
15
template
<
typename
Real,
int
Dim>
16
DYN_FUNC
void
polarDecomposition
(
const
SquareMatrix<Real, Dim>
&
M
,
SquareMatrix<Real, Dim>
&R,
Real
tolerance);
17
}
18
19
#include "
MatrixFunc.inl
"
Matrix.h
MatrixFunc.inl
Real
double Real
Definition
Typedef.inl:23
dyno::SquareMatrix
Definition
SquareMatrix.h:8
V
#define V(a, b, c)
dyno
This is an implementation of AdditiveCCD based on peridyno.
Definition
Array.h:25
dyno::polarDecomposition
DYN_FUNC void polarDecomposition(const SquareMatrix< Real, Dim > &A, SquareMatrix< Real, Dim > &R, SquareMatrix< Real, Dim > &U, SquareMatrix< Real, Dim > &D)
M
#define M(X, Y)
Definition
vgMath.h:291
Generated by
1.13.2