hi,
i'm currently trying to efficiently code the sparsity pattern of a matrix as postscript or pdf code, but i'm not sure what would be the preferred way to do so.
the problem is the following:
suppose you have a 1000x1000 matrix with 5 non-zero entries in each row. what you want is a graphical representation (in pdf) of where these non-zero entries are located (for example indicated by a small black square, while all the rest -- the zeros -- remain white background).
i'm not very fluent in pdf, so i'd like to know if there exists a common way to code something like efficiently.
cheers,
nico
i'm currently trying to efficiently code the sparsity pattern of a matrix as postscript or pdf code, but i'm not sure what would be the preferred way to do so.
the problem is the following:
suppose you have a 1000x1000 matrix with 5 non-zero entries in each row. what you want is a graphical representation (in pdf) of where these non-zero entries are located (for example indicated by a small black square, while all the rest -- the zeros -- remain white background).
i'm not very fluent in pdf, so i'd like to know if there exists a common way to code something like efficiently.
cheers,
nico