Macaulay2 Engine
Loading...
Searching...
No Matches
CoefficientRingR::Element Class Reference

Managed scalar value: an M2::ElementImpl<ring_elem> that initialises itself through the parent CoefficientRingR. More...

#include <coeffrings.hpp>

Inheritance diagram for CoefficientRingR::Element:
M2::ElementImpl< ElementType > our_new_delete

Public Member Functions

 Element (const CoefficientRingR &ring)
 Element (const CoefficientRingR &ring, const ElementType &value)
Public Member Functions inherited from M2::ElementImpl< ElementType >
 operator const ElementType & () const
 operator ElementType & ()
const ElementType & value () const
ElementType & value ()

Additional Inherited Members

Static Public Member Functions inherited from our_new_delete
static void * operator new (size_t size)
static void * operator new[] (size_t size)
static void operator delete (void *obj)
static void operator delete[] (void *obj)
static void * operator new (size_t size, void *existing_memory)
static void * operator new[] (size_t size, void *existing_memory)
static void operator delete (void *obj, void *existing_memory)
static void operator delete[] (void *obj, void *existing_memory)
Protected Member Functions inherited from M2::ElementImpl< ElementType >
 ElementImpl ()=default
 ElementImpl (const ElementType &value)
 ElementImpl (ElementType &&value)
 ElementImpl (const ElementImpl &other) noexcept=default
 ElementImpl (ElementImpl &&other) noexcept=default
ElementImploperator= (const ElementImpl &other) noexcept=default
ElementImploperator= (ElementImpl &&other) noexcept=default
 ~ElementImpl () noexcept=default
Protected Attributes inherited from M2::ElementImpl< ElementType >
ElementType mValue

Detailed Description

Managed scalar value: an M2::ElementImpl<ring_elem> that initialises itself through the parent CoefficientRingR.

Note
AI-generated documentation. Verify against the source before relying on it.

Holds the wrapped ring_elem so callers do not have to call init / clear by hand. Constructors initialise to zero or copy from an existing element via the ring.

Definition at line 277 of file coeffrings.hpp.


The documentation for this class was generated from the following file: