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

◆ text_out()

template<typename RT>
void SLEvaluatorConcrete< RT >::text_out ( buffer & o) const
virtual

Implements SLEvaluator.

Definition at line 304 of file SLP-imp.hpp.

305{
306 if(isCompiled) {
307 o << "compiled SLEvaluator("
308 << nInputs << " inputs, "
309 << nOutputs << " outputs, "
310 << nParams << " parameters, mRing = ";
311 ring().text_out(o);
312 o << ")" << newline;
313 } else {
314 o << "SLEvaluator(slp = ";
315 slp->text_out(o);
316 o << ", mRing = ";
317 ring().text_out(o);
318 o << ")" << newline;
319 }
320}
SLProgram * slp
Definition SLP-defs.hpp:282
const RT & ring() const
Definition SLP-defs.hpp:319
void text_out(buffer &o) const
Definition SLP-imp.hpp:304

References isCompiled, newline, nInputs, nOutputs, nParams, ring(), and SLEvaluator::slp.