PBQP Matrix class.
More...
#include "llvm/CodeGen/PBQP/Math.h"
PBQP Matrix class.
Definition at line 121 of file Math.h.
◆ Matrix() [1/4]
llvm::PBQP::Matrix::Matrix |
( |
unsigned |
Rows, |
|
|
unsigned |
Cols |
|
) |
| |
|
inline |
◆ Matrix() [2/4]
llvm::PBQP::Matrix::Matrix |
( |
unsigned |
Rows, |
|
|
unsigned |
Cols, |
|
|
PBQPNum |
InitVal |
|
) |
| |
|
inline |
Construct a PBQP Matrix with the given dimensions and initial value.
Definition at line 133 of file Math.h.
◆ Matrix() [3/4]
Copy construct a PBQP matrix.
Definition at line 140 of file Math.h.
References copy, and M.
◆ Matrix() [4/4]
llvm::PBQP::Matrix::Matrix |
( |
Matrix && |
M | ) |
|
|
inline |
Move construct a PBQP matrix.
Definition at line 147 of file Math.h.
References M.
◆ getColAsVector()
Vector llvm::PBQP::Matrix::getColAsVector |
( |
unsigned |
C | ) |
const |
|
inline |
◆ getCols()
unsigned llvm::PBQP::Matrix::getCols |
( |
| ) |
const |
|
inline |
Return the number of cols in this matrix.
Definition at line 167 of file Math.h.
References assert().
◆ getRowAsVector()
Vector llvm::PBQP::Matrix::getRowAsVector |
( |
unsigned |
R | ) |
const |
|
inline |
◆ getRows()
unsigned llvm::PBQP::Matrix::getRows |
( |
| ) |
const |
|
inline |
◆ operator+()
◆ operator+=()
◆ operator==()
bool llvm::PBQP::Matrix::operator== |
( |
const Matrix & |
M | ) |
const |
|
inline |
◆ operator[]() [1/2]
PBQPNum* llvm::PBQP::Matrix::operator[] |
( |
unsigned |
R | ) |
|
|
inline |
◆ operator[]() [2/2]
const PBQPNum* llvm::PBQP::Matrix::operator[] |
( |
unsigned |
R | ) |
const |
|
inline |
◆ 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