We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In NormalizInterface we allow this.
Relevant function there is _NmzConePropertyImpl, some code snippets from that:
_NmzConePropertyImpl
template <typename Integer> static Obj _NmzConePropertyImpl(Obj cone, libnormaliz::ConeProperty::Enum p) { Cone<Integer> * C = GET_CONE<Integer>(cone); ConeProperties notComputed; SIGNAL_HANDLER_BEGIN notComputed = C->compute(ConeProperties(p)); SIGNAL_HANDLER_END ... switch (libnormaliz::output_type(p)) { case libnormaliz::OutputType::Matrix: return NmzToGAP(C-> getMatrixConePropertyMatrix(p)); case libnormaliz::OutputType::Vector: return NmzToGAP(C->getVectorConeProperty(p)); case libnormaliz::OutputType::Integer: return NmzToGAP(C->getIntegerConeProperty(p)); case libnormaliz::OutputType::GMPInteger: return NmzToGAP(C->getGMPIntegerConeProperty(p)); case libnormaliz::OutputType::Rational: return NmzToGAP(C->getRationalConeProperty(p)); ... case libnormaliz::OutputType::Complex: // more complex data structures are handled below break; case libnormaliz::OutputType::Void: // throw "cone property is input-only"; return Fail; default: throw "unsupported output_type"; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In NormalizInterface we allow this.
Relevant function there is
_NmzConePropertyImpl
, some code snippets from that:The text was updated successfully, but these errors were encountered: