aux.fisch | R Documentation |
Poisson equation is one of most well-known elliptic partial differential equations. In order to
give a concrete example, a discrete Poisson matrix is generated, assuming we have N
number of
grid points for each dimension under square domain. fisch is a German word for Poisson.
aux.fisch(N, sparse = FALSE)
N |
the number of grid points for each direction. |
sparse |
a logical; |
an (N^2 \times N^2)
matrix having block banded structure.
Golub, G. H. and Van Loan, C. F. (1996) Matrix Computations, 3rd Ed., pages 177–180.
## generate dense and sparse Poisson matrix of size 25 by 25.
A = aux.fisch(5, sparse=FALSE)
B = aux.fisch(5, sparse=TRUE)
(all(A==B)) # TRUE if two matrices are equal.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.