Macaulay2 Engine
Loading...
Searching...
No Matches
DMatZZpTest.cpp File Reference

gtest coverage for DMat<M2::ARingZZp> — dense matrices over Z/p. More...

#include <memory>
#include <gtest/gtest.h>
#include "DMatTest.hpp"
#include "aring-zzp.hpp"
#include "aring-glue.hpp"

Go to the source code of this file.

Functions

 TEST (DMatZZp, create)
 TEST (DMatZZp, submatrix)

Detailed Description

gtest coverage for DMat<M2::ARingZZp> — dense matrices over Z/p.

Note
AI-generated documentation. Verify against the source before relying on it.

Hosts TEST(DMatZZp, create) and TEST(DMatZZp, submatrix) over DMat<M2::ARingZZp> instances at Z/101. create pins down construction with (ring, rows, cols), single-entry get / set round-trips through M.entry(i, j), and the M.ring() accessor; submatrix covers submatrix assignment, in-place += and *=, and MatrixOps::isZero on subblock zeros. aring-glue.hpp is pulled in alongside the ARingZZp header so the legacy Ring surface the F4 engine routes through is exercised in the same pass.

Companion files MatrixIOTest.cpp and PolyRingTest.cpp (same file-dmat-matrix-tests markdown) cover the matrix / polynomial-list I/O machinery and the polynomial-ring constructors DMat-based code sits on top of.

See also
DMatTest.hpp
aring-zzp.hpp
aring-glue.hpp
NewF4Test.cpp

Definition in file DMatZZpTest.cpp.