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

◆ set_var()

void M2::ARingGFFlintBig::set_var ( ElementType & result,
int v ) const
inline

Definition at line 266 of file aring-gf-flint-big.hpp.

267 {
268 if (v != 0) set_from_long(result, 1);
269 std::vector<long> poly = {0, 1};
271 }
void fromSmallIntegerCoefficients(ElementType &result, const std::vector< long > &poly) const
void set_from_long(ElementType &result, long a) const
VALGRIND_MAKE_MEM_DEFINED & result(result)

References fromSmallIntegerCoefficients(), result(), and set_from_long().