View source: R/weighted_stiffness.R
| weighted_stiffness | R Documentation |
Uses a piecewise linear positive coefficient on each mesh edge. The coefficient integral on an edge is its length times the mean of its two endpoint values.
weighted_stiffness(edges, lengths, weights)
edges |
Two-column integer matrix of mesh edge endpoints. |
lengths |
Positive mesh edge lengths, in the same order as rows of edges. |
weights |
Positive coefficient values at mesh nodes. |
A symmetric sparse positive-semidefinite stiffness matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.