PBQP matrix that carries solver‐specific metadata.

Synopsis

Declared in <llvm/CodeGen/PBQP/Math.h>

template<typename Metadata>
class MDMatrix
    : public Matrix

Base Classes

Name

Description

Matrix

PBQP Matrix class

Member Functions

Name

Description

MDMatrix [constructor]

Constructors

getColAsVector

Returns the given column as a vector.

getCols

Return the number of cols in this matrix.

getMetadata

Return the metadata associated with this matrix.

getRowAsVector

Returns the given row as a vector.

getRows

Return the number of rows in this matrix.

operator+

Return the sum of this matrix and another.

operator+=

Add the given matrix to this one.

operator[]

Matrix element access.

transpose

Matrix transpose.

operator==

Comparison operator.

Non-Member Functions

Name

Description

hash_value

Return a hash_code for the given metadata matrix.

hash_value

Return a hash_code for the given matrix.

Created with MrDocs