sparse_display_test
sparse_display_test,
a C++ code which
calls sparse_display(), which
can read information defining a matrix of numbers and display
the sparsity pattern or location of the nonzero elements using
gnuplot. This operation is already available in the built-in
MATLAB "spy" command.
Licensing:
The computer code and data files made available on this
web page are distributed under
the MIT license
Related Data and Programs:
sparse_display,
a C++ code which
reads information defining a matrix of numbers and display
the sparsity pattern or location of the nonzero elements using
gnuplot. This operation is already available in the built-in
matlab "spy" command.
Source Code:
-
wathen_ge_data.txt,
data defining the location of the nonzero entries of the Wathen
matrix.
-
wathen_ge_commands.txt,
gnuplot commands to display the data.
-
wathen_ge.png,
an image of the sparsity pattern for the Wathen matrix.
-
before_data.txt,
data defining the location of the nonzero entries of a matrix,
as created by DEAL.II.
-
before_commands.txt,
gnuplot commands to display the data.
-
before.png,
an image of the sparsity pattern for the before matrix.
-
after_data.txt,
data defining the location of the nonzero entries of a matrix,
as created by DEAL.II (after reordering of variables).
-
after_commands.txt,
gnuplot commands to display the data.
-
after.png,
an image of the sparsity pattern for the after matrix.
-
30x20_data.txt,
data defining the location of the nonzero entries of the 30x20
matrix.
-
30x20_commands.txt,
gnuplot commands to display the data.
-
30x20.png,
an image of the sparsity pattern for the 30x20 matrix.
Last revised on 14 April 2020.