class Matrix
Declaration
class Matrix { /* full declaration omitted */ };
Description
PBQP Matrix class
Declared at: llvm/include/llvm/CodeGen/PBQP/Math.h:121
Method Overview
- public Matrix(unsigned int Rows, unsigned int Cols)
- public Matrix(unsigned int Rows, unsigned int Cols, llvm::PBQP::PBQPNum InitVal)
- public Matrix(const llvm::PBQP::Matrix & M)
- public Matrix(llvm::PBQP::Matrix && M)
- public llvm::PBQP::Vector getColAsVector(unsigned int C) const
- public unsigned int getCols() const
- public llvm::PBQP::Vector getRowAsVector(unsigned int R) const
- public unsigned int getRows() const
- public llvm::PBQP::Matrix transpose() const
Methods
¶Matrix(unsigned int Rows, unsigned int Cols)
Matrix(unsigned int Rows, unsigned int Cols)
Description
Construct a PBQP Matrix with the given dimensions.
Declared at: llvm/include/llvm/CodeGen/PBQP/Math.h:127
Parameters
- unsigned int Rows
- unsigned int Cols
¶Matrix(unsigned int Rows,
unsigned int Cols,
llvm::PBQP::PBQPNum InitVal)
Matrix(unsigned int Rows,
unsigned int Cols,
llvm::PBQP::PBQPNum InitVal)
Description
Construct a PBQP Matrix with the given dimensions and initial value.
Declared at: llvm/include/llvm/CodeGen/PBQP/Math.h:133
Parameters
- unsigned int Rows
- unsigned int Cols
- llvm::PBQP::PBQPNum InitVal
¶Matrix(const llvm::PBQP::Matrix& M)
Matrix(const llvm::PBQP::Matrix& M)
Description
Copy construct a PBQP matrix.
Declared at: llvm/include/llvm/CodeGen/PBQP/Math.h:140
Parameters
- const llvm::PBQP::Matrix& M
¶Matrix(llvm::PBQP::Matrix&& M)
Matrix(llvm::PBQP::Matrix&& M)
Description
Move construct a PBQP matrix.
Declared at: llvm/include/llvm/CodeGen/PBQP/Math.h:147
Parameters
¶llvm::PBQP::Vector getColAsVector(
unsigned int C) const
llvm::PBQP::Vector getColAsVector(
unsigned int C) const
Description
Returns the given column as a vector.
Declared at: llvm/include/llvm/CodeGen/PBQP/Math.h:196
Parameters
- unsigned int C
¶unsigned int getCols() const
unsigned int getCols() const
Description
Return the number of cols in this matrix.
Declared at: llvm/include/llvm/CodeGen/PBQP/Math.h:167
¶llvm::PBQP::Vector getRowAsVector(
unsigned int R) const
llvm::PBQP::Vector getRowAsVector(
unsigned int R) const
Description
Returns the given row as a vector.
Declared at: llvm/include/llvm/CodeGen/PBQP/Math.h:187
Parameters
- unsigned int R
¶unsigned int getRows() const
unsigned int getRows() const
Description
Return the number of rows in this matrix.
Declared at: llvm/include/llvm/CodeGen/PBQP/Math.h:161
¶llvm::PBQP::Matrix transpose() const
llvm::PBQP::Matrix transpose() const
Description
Matrix transpose.
Declared at: llvm/include/llvm/CodeGen/PBQP/Math.h:205