mirror of
https://github.com/Z3Prover/z3
synced 2025-04-11 11:43:36 +00:00
35 lines
596 B
C++
35 lines
596 B
C++
/*++
|
|
Copyright (c) 2012 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
api_polynomial.h
|
|
|
|
Abstract:
|
|
|
|
Polynomial manager and caches for the external API.
|
|
|
|
Author:
|
|
|
|
Leonardo de Moura (leonardo) 2012-12-08
|
|
|
|
Notes:
|
|
|
|
--*/
|
|
#pragma once
|
|
|
|
#include "math/polynomial/polynomial.h"
|
|
|
|
namespace api {
|
|
|
|
class pmanager final {
|
|
unsynch_mpz_manager m_nm;
|
|
polynomial::manager m_pm;
|
|
// TODO: add support for caching expressions -> polynomial and back
|
|
public:
|
|
pmanager(reslimit& lim) : m_pm(lim, m_nm) {}
|
|
polynomial::manager & pm() { return m_pm; }
|
|
};
|
|
|
|
}
|