|
Macaulay2 Engine
|
#include <dmat.hpp>
Public Types | |
| typedef ACoeffRing | CoeffRing |
| typedef ACoeffRing::ElementType | ElementType |
| typedef ACoeffRing::Element | Element |
Public Member Functions | |
| DMat () | |
| DMat (const ACoeffRing &R, size_t nrows, size_t ncols) | |
| DMat (const DMat< ACoeffRing > &M) | |
| ~DMat () | |
| void | swap (DMat< ACoeffRing > &M) |
| const ACoeffRing & | ring () const |
| size_t | numRows () const |
| size_t | numColumns () const |
| ElementType & | entry (size_t row, size_t column) |
| const ElementType & | entry (size_t row, size_t column) const |
| void | resize (size_t new_nrows, size_t new_ncols) |
| const ElementType * | rowMajorArray () const |
| ElementType *& | rowMajorArray () |
| const ElementType * | unsafeArray () const |
| ElementType *& | unsafeArray () |
Private Attributes | |
| const ACoeffRing * | mRing |
| size_t | mNumRows |
| size_t | mNumColumns |
| ElementType * | mArray |
| std::vector< ElementType * > | mRowPointers |