Macaulay2 Engine
Loading...
Searching...
No Matches
M2::ARingTower::ElementArray Class Reference

Fixed-size, owned array of ElementTypes for the linear-algebra templates that want a flat buffer of tower-polynomial slots. More...

#include <aring-tower.hpp>

Public Member Functions

 ElementArray (const ARingTower &_R, size_t size)
 ~ElementArray ()
ElementTypeoperator[] (size_t idx)
const ElementTypeoperator[] (size_t idx) const
ElementTypedata ()
const ElementTypedata () const

Private Attributes

const ARingTowerR
const int mSize
const std::unique_ptr< ElementType[]> mData

Detailed Description

Fixed-size, owned array of ElementTypes for the linear-algebra templates that want a flat buffer of tower-polynomial slots.

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

Backed by a std::unique_ptr<ElementType[]>. Slots are zero-initialised at construction and cleared through ARingTower::clear in the destructor, so the array owns its tower polynomials.

Definition at line 162 of file aring-tower.hpp.


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