#include <matrix.h>
Inheritance diagram for SignalTypes::Matrix:
Public Member Functions | |
const uint | height () const |
Matrix (const uint width=1, const uint height=1, const float frequency=0, const float pitchWidth=0, const float pitchHeight=0) | |
const float | pitchHeight () const |
const float | pitchWidth () const |
const uint | width () const |
Protected Attributes | |
uint | theHeight |
Height of the represented matrix in elements. | |
float | thePitchHeight |
Pitch height of the represented matrix. | |
float | thePitchWidth |
Pitch width of the represented matrix. | |
uint | theWidth |
Width of the represented matrix in elements. |
SignalTypes::Matrix::Matrix | ( | const uint | width = 1 , |
|
const uint | height = 1 , |
|||
const float | frequency = 0 , |
|||
const float | pitchWidth = 0 , |
|||
const float | pitchHeight = 0 | |||
) | [inline] |
Constrictor for a new matrix whose row size is equal to column size.
width | The number of columns. | |
height | The number of rows. | |
frequency | The number of matrices that are required to represent a second of signal time. | |
pitchWidth | The theoretical number of elements in a row that would represent a second in signal time. Of course this property may be left as its default (0) if it makes no sense for the data. | |
pitchHeight | The theoretical number of elements in a column that would represent a second in signal time. Of course this property may be left as its default (0) if it makes no sense for the data. |
const uint SignalTypes::Matrix::width | ( | ) | const [inline] |
Get the number of columns in the matrix this object represents.
const uint SignalTypes::Matrix::height | ( | ) | const [inline] |
Get the number of rows in the matrix this object represents.
const float SignalTypes::Matrix::pitchWidth | ( | ) | const [inline] |
Get the frequency represented by the progression of elements in a row.
const float SignalTypes::Matrix::pitchHeight | ( | ) | const [inline] |
Get the frequency represented by the progression of elements in a column.