#include "mbconfig.h"
#include "submat.h"
#include "spmapmh.h"
Go to the source code of this file.
Definition at line 38 of file subtest.cc.
References FullSubMatrixHandler::AddTo(), FullSubMatrixHandler::AddToT(), FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), FullMatrixHandler::Reset(), SpMapMatrixHandler::Reset(), FullSubMatrixHandler::ResizeReset(), FullSubMatrixHandler::SubFrom(), and FullSubMatrixHandler::SubFromT().
44 FSMH.ResizeReset(2, 2);
46 FSMH.PutRowIndex(1, 3);
47 FSMH.PutRowIndex(2, 4);
49 FSMH.PutColIndex(1, 1);
50 FSMH.PutColIndex(2, 2);
57 std::cout <<
"FSMH: " << std::endl << FSMH << std::endl;
62 std::cout <<
"FMH = FSMH: " << std::endl << FMH << std::endl;
67 std::cout <<
"FMH = -FSMH: " << std::endl << FMH << std::endl;
72 std::cout <<
"FMH = FSMH^T: " << std::endl << FMH << std::endl;
77 std::cout <<
"FMH = -FSMH^T: " << std::endl << FMH << std::endl;
82 std::cout <<
"SMH = FSMH: " << std::endl << SMH << std::endl;
87 std::cout <<
"SMH = -FSMH: " << std::endl << SMH << std::endl;
92 std::cout <<
"SMH = FSMH^T: " << std::endl << SMH << std::endl;
97 std::cout <<
"SMH = -FSMH^T: " << std::endl << SMH << std::endl;