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

◆ getElement< M2::ARingQQFlint >()

template<>
void getElement< M2::ARingQQFlint > ( const M2::ARingQQFlint & R,
int index,
M2::ARingQQFlint::ElementType & result )

Definition at line 47 of file ARingQQFlintTest.cpp.

50{
51 if (index < 50)
52 R.set_from_long(result, index - 25);
53 else
54 {
55 R.random(result);
56 }
57}
void random(ElementType &result) const
void set_from_long(ElementType &result, long a) const
VALGRIND_MAKE_MEM_DEFINED & result(result)

References M2::ARingQQFlint::random(), result(), and M2::ARingQQFlint::set_from_long().