Macaulay2 Engine
Loading...
Searching...
No Matches
◆
from_complex_double()
template<class RingType>
virtual
bool
M2::ConcreteRing
< RingType >::from_complex_double
(
double
re
,
double
im
,
ring_elem
&
result
) const
inline
virtual
Reimplemented from
Ring
.
Definition at line
215
of file
aring-glue.hpp
.
218
{
219
Element
a
(*
R
);
220
bool
ret
=
get_from_complex_double
(*
R
,
a
,
re
,
im
);
221
if
(
ret
)
R
->to_ring_elem(
result
,
a
);
222
return
ret
;
223
}
M2::ConcreteRing::R
std::unique_ptr< RingType > R
Definition
aring-glue.hpp:66
M2::ConcreteRing::Element
RingType::Element Element
Definition
aring-glue.hpp:76
M2::ConcreteRing
Definition
aring-glue.hpp:65
M2::get_from_complex_double
bool get_from_complex_double(const RT &R, typename RT::ElementType &a, double re, double im)
Definition
aring-translate.hpp:109
M2
ConcreteRing
Generated on
for Macaulay2 Engine by
1.15.0