Macaulay2 Engine
Loading...
Searching...
No Matches

◆ display() [2/2]

void F4GB::MacaulayMatrixStats::display ( buffer & o)

Definition at line 554 of file f4.cpp.

555{
556 if (M2_gbTrace >= 2)
557 {
558 std::ostringstream s;
559
560 s << "Quad matrix sizes" << std::endl;
561 s << "sizes of quad matrix" << std::endl;
562 s << std::setw(11) << " " << std::setw(11) << mTopAndLeft << std::setw(11) << mRight << std::endl;
563 s << std::setw(11) << mTopAndLeft << std::setw(11) << "A" << std::setw(11) << "B" << std::endl;
564 s << std::setw(11) << mBottom << std::setw(11) << "C" << std::setw(11) << "D" << std::endl;
565 s << std::endl;
566
567 if (M2_gbTrace >= 5)
568 {
569 s << "Quad matrix entries (no diagonal on A)" << std::endl;
570 s << std::setw(11) << " " << std::setw(11) << mTopAndLeft << std::setw(11) << mRight << std::endl;
571 s << std::setw(11) << mTopAndLeft << std::setw(11) << mAEntries << std::setw(11) << mBEntries << std::endl;
572 s << std::setw(11) << mBottom << std::setw(11) << mCEntries << std::setw(11) << mDEntries << std::endl;
573 s << std::endl;
574 }
575
576 o << s.str().c_str();
577 }
578}
void size_t s
Definition m2-mem.cpp:271
int M2_gbTrace
Definition m2-types.cpp:52

References M2_gbTrace, mAEntries, mBEntries, mBottom, mCEntries, mDEntries, mRight, mTopAndLeft, and s.

Referenced by display(), and F4GB::macaulayMatrixStats().