SkelCL
SkelCL is a high level multi GPU skeleton library developed at the university of Münster, Germany.
|
This class defines a two dimensional size for a Matrix. More...
#include <Matrix.h>
Public Types | |
typedef size_t | size_type |
Public Member Functions | |
MatrixSize (size_type rowCount, size_type columnCount) | |
Create a new MatrixSize object with the given number of rows and number of columns. More... | |
size_type | elemCount () const |
Returns the total number of elements. I.e. rowCount() * columnCount(). More... | |
size_type | rowCount () const |
Returns the number of rows. More... | |
size_type | columnCount () const |
Returns the number of columns. More... | |
bool | operator== (const MatrixSize &rhs) const |
Compares two MatrixSizes for equality. More... | |
bool | operator!= (const MatrixSize &rhs) const |
Compares two MatrixSizes for inequality. More... | |
bool | operator> (const MatrixSize &rhs) const |
Compares if this is greater than rhs. More... | |
bool | operator< (const MatrixSize &rhs) const |
Compares if this is less than rhs. More... | |
bool | operator>= (const MatrixSize &rhs) const |
Compares if this is greater than rhs. More... | |
bool | operator<= (const MatrixSize &rhs) const |
Compares if this is less than rhs. More... | |
This class defines a two dimensional size for a Matrix.
The number of rows and the number of columns are stored. Objects of this type can be compared against each other.
skelcl::MatrixSize::MatrixSize | ( | size_type | rowCount, |
size_type | columnCount | ||
) |
Create a new MatrixSize object with the given number of rows and number of columns.
rowCount | The number of rows. |
columnCount | The number of columns. |
Definition at line 46 of file MatrixSize.cpp.
MatrixSize::size_type skelcl::MatrixSize::columnCount | ( | ) | const |
Returns the number of columns.
Definition at line 61 of file MatrixSize.cpp.
MatrixSize::size_type skelcl::MatrixSize::elemCount | ( | ) | const |
Returns the total number of elements. I.e. rowCount() * columnCount().
Definition at line 51 of file MatrixSize.cpp.
bool skelcl::MatrixSize::operator!= | ( | const MatrixSize & | rhs | ) | const |
Compares two MatrixSizes for inequality.
rhs | The MatrixSize to compare with. |
Definition at line 72 of file MatrixSize.cpp.
bool skelcl::MatrixSize::operator< | ( | const MatrixSize & | rhs | ) | const |
Compares if this is less than rhs.
rhs | The MatrixSize to compare with. |
Definition at line 90 of file MatrixSize.cpp.
bool skelcl::MatrixSize::operator<= | ( | const MatrixSize & | rhs | ) | const |
Compares if this is less than rhs.
rhs | The MatrixSize to compare with. |
Definition at line 116 of file MatrixSize.cpp.
bool skelcl::MatrixSize::operator== | ( | const MatrixSize & | rhs | ) | const |
Compares two MatrixSizes for equality.
rhs | The MatrixSize to compare with. |
Definition at line 66 of file MatrixSize.cpp.
bool skelcl::MatrixSize::operator> | ( | const MatrixSize & | rhs | ) | const |
Compares if this is greater than rhs.
rhs | The MatrixSize to compare with. |
Definition at line 77 of file MatrixSize.cpp.
bool skelcl::MatrixSize::operator>= | ( | const MatrixSize & | rhs | ) | const |
Compares if this is greater than rhs.
rhs | The MatrixSize to compare with. |
Definition at line 103 of file MatrixSize.cpp.
MatrixSize::size_type skelcl::MatrixSize::rowCount | ( | ) | const |
Returns the number of rows.
Definition at line 56 of file MatrixSize.cpp.