Source: tests/sparse/Pattern.cpp
16 #include <tests/myratest.h> 20 ADD_TEST(
"Pattern",
"[sparse]")
23 myra::out() <<
"A = " << A << std::endl;
static Pattern identity(int IJ)
Generates an identity Pattern of specified size.
Definition: Pattern.cpp:289
Range/Iterator types associated with Pattern.
Container class for a sparse nonzero pattern, used in reordering/symbolic analysis.
Results: [PASS]
A = size 10 by 10 Pattern:
[ x - - - - - - - - - ]
[ - x - - - - - - - - ]
[ - - x - - - - - - - ]
[ - - - x - - - - - - ]
[ - - - - x - - - - - ]
[ - - - - - x - - - - ]
[ - - - - - - x - - - ]
[ - - - - - - - x - - ]
[ - - - - - - - - x - ]
[ - - - - - - - - - x ]
Go back to Summary of /test
programs.