cotangent_laplacian
cotangent_laplacian(V, F)
Builds the (pos. def.) cotangent Laplacian for a triangle mesh.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
V |
(n,d) numpy array
|
vertex list of a triangle mesh |
required |
F |
(m,3) numpy int array
|
face index list of a triangle mesh |
required |
Returns:
Name | Type | Description |
---|---|---|
L |
(n,n) scipy csr_matrix
|
cotangent Laplacian |
Examples:
# Mesh in V,F
from gpytoolbox import cotangent_laplacian
L = cotangent_laplacian(V,F)
Source code in src/gpytoolbox/cotangent_laplacian.py
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
|