TTK
Loading...
Searching...
No Matches
Functions
ttk::Laplacian Namespace Reference

Functions

void preconditionTriangulation (AbstractTriangulation &triangulation)
 Triangulation precondition function.
 
template<typename T , class TriangulationType = AbstractTriangulation, typename SparseMatrixType >
int discreteLaplacian (SparseMatrixType &output, const Debug &dbg, const TriangulationType &triangulation)
 Compute the Laplacian matrix of the graph.
 
template<typename T , class TriangulationType = AbstractTriangulation, typename SparseMatrixType >
int cotanWeights (SparseMatrixType &output, const Debug &dbg, const TriangulationType &triangulation)
 Compute the Laplacian matrix of the graph using the cotangente weights method.
 

Function Documentation

◆ cotanWeights()

template<typename T , class TriangulationType = AbstractTriangulation, typename SparseMatrixType >
int ttk::Laplacian::cotanWeights ( SparseMatrixType &  output,
const Debug dbg,
const TriangulationType &  triangulation 
)

Compute the Laplacian matrix of the graph using the cotangente weights method.

Parameters
[out]outputLaplacian matrix
[in]dbgDebug instance
[in]triangulationAccess to neighbor vertices, should be already preprocessed
Returns
0 in case of success

◆ discreteLaplacian()

template<typename T , class TriangulationType = AbstractTriangulation, typename SparseMatrixType >
int ttk::Laplacian::discreteLaplacian ( SparseMatrixType &  output,
const Debug dbg,
const TriangulationType &  triangulation 
)

Compute the Laplacian matrix of the graph.

Parameters
[out]outputLaplacian matrix
[in]dbgDebug instance
[in]triangulationAccess to neighbor vertices, should be already preprocessed
Returns
0 in case of success

◆ preconditionTriangulation()

void ttk::Laplacian::preconditionTriangulation ( AbstractTriangulation triangulation)
inline

Triangulation precondition function.

Definition at line 12 of file Laplacian.h.