PBQP Vector class.
More...
#include "llvm/CodeGen/PBQP/Math.h"
PBQP Vector class.
Definition at line 25 of file Math.h.
◆ Vector() [1/4]
llvm::PBQP::Vector::Vector |
( |
unsigned |
Length | ) |
|
|
inlineexplicit |
Construct a PBQP vector of the given size.
Definition at line 30 of file Math.h.
◆ Vector() [2/4]
llvm::PBQP::Vector::Vector |
( |
unsigned |
Length, |
|
|
PBQPNum |
InitVal |
|
) |
| |
|
inline |
Construct a PBQP vector with initializer.
Definition at line 34 of file Math.h.
◆ Vector() [3/4]
Copy construct a PBQP vector.
Definition at line 40 of file Math.h.
References copy.
◆ Vector() [4/4]
llvm::PBQP::Vector::Vector |
( |
Vector && |
V | ) |
|
|
inline |
Move construct a PBQP vector.
Definition at line 46 of file Math.h.
◆ getLength()
unsigned llvm::PBQP::Vector::getLength |
( |
| ) |
const |
|
inline |
◆ minIndex()
unsigned llvm::PBQP::Vector::minIndex |
( |
| ) |
const |
|
inline |
Returns the index of the minimum value in this vector.
Definition at line 89 of file Math.h.
References assert().
◆ operator+=()
◆ operator==()
bool llvm::PBQP::Vector::operator== |
( |
const Vector & |
V | ) |
const |
|
inline |
◆ operator[]() [1/2]
PBQPNum& llvm::PBQP::Vector::operator[] |
( |
unsigned |
Index | ) |
|
|
inline |
◆ operator[]() [2/2]
const PBQPNum& llvm::PBQP::Vector::operator[] |
( |
unsigned |
Index | ) |
const |
|
inline |
Const element access.
Definition at line 73 of file Math.h.
References assert().
◆ hash_value
Return a hash_value for the given vector.
Definition at line 100 of file Math.h.
The documentation for this class was generated from the following file:
- include/llvm/CodeGen/PBQP/Math.h