LLVM: llvm::PBQP::Matrix Class Reference (original) (raw)
#include "[llvm/CodeGen/PBQP/Math.h](Math%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| 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) |
Definition at line 110 of file Math.h.
◆ Matrix() [1/4]
◆ Matrix() [2/4]
Construct a PBQP Matrix with the given dimensions and initial value.
Definition at line 122 of file Math.h.
◆ Matrix() [3/4]
◆ Matrix() [4/4]
| llvm::PBQP::Matrix::Matrix ( Matrix && M) | inline |
|---|
◆ getColAsVector()
◆ getCols()
| unsigned llvm::PBQP::Matrix::getCols ( ) const | inline |
|---|
Return the number of cols in this matrix.
Definition at line 156 of file Math.h.
References assert().
◆ getRowAsVector()
◆ getRows()
| unsigned llvm::PBQP::Matrix::getRows ( ) const | inline |
|---|
◆ operator+()
◆ operator+=()
◆ operator==()
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ transpose()
| Matrix llvm::PBQP::Matrix::transpose ( ) const | inline |
|---|
◆ hash_value
The documentation for this class was generated from the following file:
- include/llvm/CodeGen/PBQP/Math.h