Constructors:
AvAPI_Matrix(nRow, vals)
Vector Constructor
Returns:Object
Parameters:
intnRow- Number of rows of data
list of double or complex vals - Data values column wise
AvAPI_Matrix(nRow, nCol, vals)
Dense column wise Constructor
Returns:Object pointer
Parameters:
int nRow- Number of rows of data
int nCol - Number of columns of data
list of double or complex vals - Data values column wise
AvAPI_Matrix(vals, nRow, nCol)
Dense row wise Constructor
Returns:Object pointer
Parameters:
int nRow- Number of rows of data
int nCol - Number of columns of data
list of double or complex vals - Data values row wise
AvAPI_Matrix(nSlot, nRow, nCol, vals)
Dense 3D Constructor
Returns:Object pointer
Parameters:
int nSlot- Number of slots of data
int nRow- Number of rows of data
int nCol - Number of columns of data
list of double or complex vals - Data values slot wise column wise
Methods:
double Value(row)
Value at location [row,0]
Returns:double- Value of the matrix location[row,0]
Parameters:int row- Row number
double Value(row, col)
Value at location [row, col]
Returns:double- Value of the matrix location[row,col]
Parameters:
int row- Row number
int col - Column number
double Value(slot, row, col)
Value at location [row, col] for matrix at the specified slot number
Returns:double- Value of the matrix location [row,col] ] for matrix at specified slot number
Parameters:
int slot- Slot number
int row- Row number
int col - Column number
AvAPI_Complex ValueC(row, col)
Value at location [row, col]
Returns:AvAPI_Complex- Value of the matrix location[row,col]
Parameters:
int row- Row number
int col - Column number
AvAPI_Complex ValueC(slot, row, col)
Value at location
Returns:AvAPI_Complex- Value at location [row,col] for matrix at specified slot number
Parameters:
int slot - Slot number
int row- Row number
int col - Column number
int Size(dim)
Matrix dimension
Returns: int - size of the matrix int the given dimension
Parameters:
int dim- Dimension to get the size 0, 1, or 2
list MultMv(vector)
Multiply the vector by the matrix
Returns: list - output vector
Parameters:
list vector- List of double or complex values