LLVM: llvm::PBQP::MDMatrix< Metadata > Class Template Reference (original) (raw)

#include "[llvm/CodeGen/PBQP/Math.h](Math%5F8h%5Fsource.html)"

Inheritance diagram for llvm::PBQP::MDMatrix< Metadata >:

Public Member Functions
MDMatrix (const Matrix &m)
MDMatrix (Matrix &&m)
const Metadata & getMetadata () const
Public Member Functions inherited from llvm::PBQP::Matrix
Matrix (unsigned Rows, unsigned Cols)
Construct a PBQP Matrix with the given dimensions.
Matrix (unsigned Rows, unsigned Cols, PBQPNum InitVal)
Construct a PBQP Matrix with the given dimensions and initial value.
Matrix (const Matrix &M)
Copy construct a PBQP matrix.
Matrix (Matrix &&M)
Move construct a PBQP matrix.
bool operator== (const Matrix &M) const
Comparison operator.
unsigned getRows () const
Return the number of rows in this matrix.
unsigned getCols () const
Return the number of cols in this matrix.
PBQPNum * operator[] (unsigned R)
Matrix element access.
const PBQPNum * operator[] (unsigned R) const
Matrix element access.
Vector getRowAsVector (unsigned R) const
Returns the given row as a vector.
Vector getColAsVector (unsigned C) const
Returns the given column as a vector.
Matrix transpose () const
Matrix transpose.
Matrix & operator+= (const Matrix &M)
Add the given matrix to this one.
Matrix operator+ (const Matrix &M)

Detailed Description

template<typename Metadata>
class llvm::PBQP::MDMatrix< Metadata >

Definition at line 261 of file Math.h.

Constructor & Destructor Documentation

MDMatrix() [1/2]

MDMatrix() [2/2]

Member Function Documentation

getMetadata()


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