Macaulay2 Engine
Loading...
Searching...
No Matches
ntl-debugio.cpp File Reference

Debugger-callable dntl_* printers for NTL mat_ZZ and ZZ values. More...

#include <iostream>
#include "ntl-interface.hpp"

Go to the source code of this file.

Functions

void dntl_matZZ (const NTL::mat_ZZ *A)
void dntl_ZZ (const NTL::ZZ *f)

Detailed Description

Debugger-callable dntl_* printers for NTL mat_ZZ and ZZ values.

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

Defines two short helpers — dntl_matZZ(const NTL::mat_ZZ*) and dntl_ZZ(const NTL::ZZ*) — that send an NTL matrix or big integer to std::cout. They exist solely for interactive debugging: the d prefix matches the convention used in debug.hpp so a developer can call dntl_matZZ(A) from gdb or lldb and see human-readable output without having to set up an iostream formatter manually. The companion file ntl-internal.cpp carries the NTL-namespace-isolated conversions (ntl_ZZ_to_mpz and friends) that bridge to GMP.

See also
ntl-interface.hpp
debug.hpp

Definition in file ntl-debugio.cpp.