I am not sure if this is the correct place to ask this question!

Is there a data set such as the University of Florida Sparse Matrix Collection which is produced from stencil operations?

Or is there a way to generate such sparse matrices, maybe using Matlab?


I assume that you are looking for matrices that come from, e.g., finite differences applied to a PDE.

You may try the matrix market. There you can search for matrices from common PDE applications.

In Matlab there is the function del2 that returns a matrix representing a discrete Laplace operator.

| cite | improve this answer | |
  • $\begingroup$ I am really not sure what is the origin of stencil operations! $\endgroup$ – The Hiary Nov 23 '13 at 16:23
  • $\begingroup$ In the field of numerical analysis, I know the stencil as an illustration of the geometric arrangement of the nodes that are used to approximate a differential operator e.g. via finite differences. See the Wikipedia article although it is not very extensive. $\endgroup$ – Jan Nov 23 '13 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.