Class Index | File Index

Classes


Class MatrixGenerator

MatrixGenerator
Defined in: MatrixGenerator.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Generates random matrix with characters from A-F and numbers.
Method Summary
Method Attributes Method Name and Description
<inner>  
Returns a random string of given length.
 
init(int_height, int_width)
Initialize the MatrixGenerator.
 
Returns the complete matrix.
 
Returns the complete matrix.
 
Returns the complete matrix.
Class Detail
MatrixGenerator(type)
Generates random matrix with characters from A-F and numbers.
Parameters:
type
Method Detail
<inner> {string} getRandomString(length)
Returns a random string of given length.
Parameters:
{Number} length
- length of the string.
Returns:
{string} random string of given length.

init(int_height, int_width)
Initialize the MatrixGenerator.
Parameters:
{Number} int_height
- height of the matrix to generate.
{Number} int_width
- width of the matrix to generate.

{ArrayOfArray} test_getMatrix()
Returns the complete matrix.
Returns:
{ArrayOfArray} mat_testMatrix - An array of array representing the matrix.

{Array} test_getMatrixColumnLabels()
Returns the complete matrix.
Returns:
{Array} arr_rowLabels - An array of column labels.

{Array} test_getMatrixRowLabels()
Returns the complete matrix.
Returns:
{Array} arr_rowLabels - An array of row labels.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 09 2012 00:23:53 GMT+0200 (CEST)