Macaulay2 Engine
Loading...
Searching...
No Matches

◆ from_ComplexInterval()

template<class RingType>
virtual bool M2::ConcreteRing< RingType >::from_ComplexInterval ( gmp_CCi z,
ring_elem & result ) const
inlinevirtual

Reimplemented from Ring.

Definition at line 192 of file aring-glue.hpp.

193 {
194 Element a(*R);
195 bool ret = get_from_ComplexInterval(*R, a , z);
196 if (ret) R->to_ring_elem(result, a);
197 return ret;
198 }
std::unique_ptr< RingType > R
RingType::Element Element
bool get_from_ComplexInterval(const RT &R, typename RT::ElementType &a, gmp_CCi b)