#include <matrix.h>
Inheritance diagram for SignalTypes::SquareMatrix:
Public Member Functions | |
const float | pitch () const |
const uint | size () const |
SquareMatrix (const uint size=1, const float frequency=0., const float pitch=0.) |
This is very similar to the Matrix class except that it describes only data representing *square* martixes; that is the width and the height are equal.
SignalTypes::SquareMatrix::SquareMatrix | ( | const uint | size = 1 , |
|
const float | frequency = 0. , |
|||
const float | pitch = 0. | |||
) | [inline] |
Constrictor for a new matrix whose row size is equal to column size.
size | The number of rows (or columns). | |
frequency | The number of matrices that are required to represent a second of signal time. | |
pitch | 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. |
const float SignalTypes::SquareMatrix::pitch | ( | ) | const [inline] |
Get the frequency represented by the progression of elements in either the row or column.
const uint SignalTypes::SquareMatrix::size | ( | ) | const [inline] |