Macaulay2 Engine
Loading...
Searching...
No Matches
aring-qq.hpp File Reference

Tiny dispatcher header that picks the default ARingQQ from among the QQ aring implementations. More...

#include "aring-qq-flint.hpp"
#include "aring-qq-gmp.hpp"

Go to the source code of this file.

Namespaces

namespace  M2

Typedefs

typedef ARingQQGMP M2::ARingQQ

Detailed Description

Tiny dispatcher header that picks the default ARingQQ from among the QQ aring implementations.

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

Pulls in both aring-qq-flint.hpp and aring-qq-gmp.hpp, forward-declares ARingQQFlint and ARingQQGMP, and aliases the default ARingQQ to ARingQQGMP. The GMP default is historical: FLINT-backed QQ is now faster in most cases but the typedef has not been flipped to avoid disturbing existing engine code paths. Both concrete classes remain fully functional and accessible by name; ARingQQ exists so consumers like DMat<ARingQQ> and mat-linalg.hpp template specialisations can say "the QQ aring" without committing to a backend.

Switching the engine-wide default is a one-line edit to this file. The same pattern shows up in schreyer-resolution/res-moninfo.hpp for dense vs. sparse ResMonoid.

See also
aring-qq-flint.hpp
aring-qq-gmp.hpp
aring.hpp

Definition in file aring-qq.hpp.