MorphoGraphX  2.0-1-227
Public Types | Public Member Functions | List of all members
mgx::DMatrix Class Reference

#include <DistMatrix.hpp>

Public Types

typedef DistNhbdT DNhbd
 
typedef DistVertex< DistNhbdT, MatrixT > DVertex
 
typedef DistEdge< DistNhbdT, MatrixT > DEdge
 
typedef DNhbd::Vertex Vertex
 
typedef DNhbd::Edge Edge
 

Public Member Functions

 DMatrix (DVertex &vobj, DEdge &eobj)
 
 ~DMatrix ()
 
DistNhbdTnhbd ()
 
DistVertex< DistNhbdT, MatrixT > & vobj ()
 
DistEdge< DistNhbdT, MatrixT > & eobj ()
 
void alloc ()
 
void write ()
 
void read ()
 
void operator= (DMatrix &m)
 
void operator= (ScalarT a)
 
void operator= (DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &v)
 
void operator= (MSMultOp< DistNhbdT, MatrixT, VectorT, ScalarT > op)
 
void operator+= (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &mat)
 
void operator-= (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &mat)
 
void operator*= (ScalarT a)
 
void operator/= (ScalarT a)
 
void operator= (MMAddOp< DistNhbdT, MatrixT, VectorT, ScalarT > op)
 
void operator= (MMSubOp< DistNhbdT, MatrixT, VectorT, ScalarT > op)
 
double addToDiagonal (double a)
 

Detailed Description

Distributed matrix class. This class allows the graph to be used like a matrix, with the operations performed on the GPU. It uses

Definition at line 21 of file DistMatrix.hpp.

Member Typedef Documentation

◆ DEdge

Definition at line 366 of file DistMatrix.hpp.

◆ DNhbd

Definition at line 362 of file DistMatrix.hpp.

◆ DVertex

Definition at line 364 of file DistMatrix.hpp.

◆ Edge

typedef DNhbd::Edge mgx::DMatrix::Edge

Definition at line 370 of file DistMatrix.hpp.

◆ Vertex

typedef DNhbd::Vertex mgx::DMatrix::Vertex

Definition at line 368 of file DistMatrix.hpp.

Constructor & Destructor Documentation

◆ DMatrix()

mgx::DMatrix::DMatrix ( DVertex vobj,
DEdge eobj 
)
inline

Definition at line 379 of file DistMatrix.hpp.

◆ ~DMatrix()

mgx::DMatrix::~DMatrix ( )
inline

Definition at line 382 of file DistMatrix.hpp.

Member Function Documentation

◆ addToDiagonal()

double mgx::DMatrix::addToDiagonal ( double  a)
inline

Definition at line 482 of file DistMatrix.hpp.

◆ alloc()

void mgx::DMatrix::alloc ( )
inline

Definition at line 394 of file DistMatrix.hpp.

◆ eobj()

DistEdge<DistNhbdT, MatrixT>& mgx::DMatrix::eobj ( )
inline

Definition at line 391 of file DistMatrix.hpp.

◆ nhbd()

DistNhbdT& mgx::DMatrix::nhbd ( )
inline

Definition at line 385 of file DistMatrix.hpp.

◆ operator*=()

void mgx::DMatrix::operator*= ( ScalarT  a)
inline

Definition at line 454 of file DistMatrix.hpp.

◆ operator+=()

void mgx::DMatrix::operator+= ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  mat)
inline

Definition at line 440 of file DistMatrix.hpp.

◆ operator-=()

void mgx::DMatrix::operator-= ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  mat)
inline

Definition at line 447 of file DistMatrix.hpp.

◆ operator/=()

void mgx::DMatrix::operator/= ( ScalarT  a)
inline

Definition at line 461 of file DistMatrix.hpp.

◆ operator=() [1/6]

void mgx::DMatrix::operator= ( DMatrix m)
inline

Definition at line 413 of file DistMatrix.hpp.

◆ operator=() [2/6]

void mgx::DMatrix::operator= ( DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &  v)
inline

Definition at line 427 of file DistMatrix.hpp.

◆ operator=() [3/6]

void mgx::DMatrix::operator= ( MMAddOp< DistNhbdT, MatrixT, VectorT, ScalarT >  op)
inline

Definition at line 468 of file DistMatrix.hpp.

◆ operator=() [4/6]

void mgx::DMatrix::operator= ( MMSubOp< DistNhbdT, MatrixT, VectorT, ScalarT >  op)
inline

Definition at line 475 of file DistMatrix.hpp.

◆ operator=() [5/6]

void mgx::DMatrix::operator= ( MSMultOp< DistNhbdT, MatrixT, VectorT, ScalarT >  op)
inline

Definition at line 433 of file DistMatrix.hpp.

◆ operator=() [6/6]

void mgx::DMatrix::operator= ( ScalarT  a)
inline

Definition at line 420 of file DistMatrix.hpp.

◆ read()

void mgx::DMatrix::read ( )
inline

Definition at line 408 of file DistMatrix.hpp.

◆ vobj()

DistVertex<DistNhbdT, MatrixT>& mgx::DMatrix::vobj ( )
inline

Definition at line 388 of file DistMatrix.hpp.

◆ write()

void mgx::DMatrix::write ( )
inline

Definition at line 401 of file DistMatrix.hpp.


The documentation for this class was generated from the following file: