Macaulay2 Engine
Loading...
Searching...
No Matches
DMat< ACoeffRing > Class Template Reference

#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
ElementTypeentry (size_t row, size_t column)
const ElementTypeentry (size_t row, size_t column) const
void resize (size_t new_nrows, size_t new_ncols)
const ElementTyperowMajorArray () const
ElementType *& rowMajorArray ()
const ElementTypeunsafeArray () const
ElementType *& unsafeArray ()

Private Attributes

const ACoeffRing * mRing
size_t mNumRows
size_t mNumColumns
ElementTypemArray
std::vector< ElementType * > mRowPointers

Detailed Description

template<typename ACoeffRing>
class DMat< ACoeffRing >

Definition at line 61 of file dmat.hpp.


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