dec_h2inv
dec_h2inv(V, F)
Builds the inverse DEC 2-Hodge-star operator as described, for example, in Crane et al. 2013. "Digital Geometry Processing with Discrete Exterior Calculus".
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 |
---|---|---|
h2inv |
(m,m) scipy csr_matrix
|
inverse of DEC operator h2 |
Examples:
# Mesh in V,F
h2inv = gpy.dec_h2inv(V,F)
Source code in src/gpytoolbox/dec_h2inv.py
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 31 32 33 |
|