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

◆ random()

ring_elem Tower::random ( ) const
virtual

Reimplemented from Ring.

Definition at line 246 of file tower.cpp.

247{
248 TowerPolynomial f;
249 D->set_zero(f);
250 D->set_random(f);
251 return TOWER_RINGELEM(f);
252}
DRing * D
Definition tower.hpp:66
#define TOWER_RINGELEM(a)
Definition ringelem.hpp:214

References D, and TOWER_RINGELEM.

Referenced by getElement< Tower >(), and TEST().