Go to the source code of this file.
embed a matrix within a larger matrix of zeros.
[in] | a | A matrix object. |
[in] | factor | Increase rows and columns by this factor. |
Compare two matrices for equality.
[in] | a | A matrix object. |
[in] | b | A matrix object. |
ORIGINAL Attempt to generalize matrix multiplication and make this really a facade for the lapack library dgemm and zgemm
MATRIX multiplyAlphaABplusC | ( | char | TransA, | |
char | TransB, | |||
MATRIX | A, | |||
MATRIX | B, | |||
double | alpha, | |||
double | beta, | |||
MATRIX | C | |||
) |
Attempt to generalize matrix multiplication and make this really a facade for the lapack library dgemm and zgemm
Multiply a matrix, m, by a diagonal matrix represented by its diagonal elements in vector, d
Pad a matrix with a scalar value, i.e. expand and fill the matrix with a specific value.
[in] | a | A matrix object. |
[in] | newRow | Number of rows in expanded matrix. |
[in] | newCol | Number of columns in expanded matrix. |
[in] | value | Numeric value for empty elements. |
Multiply all elements of non-scatterer by factor.
[in] | K | A MATRIX, usually K |
[in] | factor | A scalar value |
[in] | scatterer | The scatterer of interest. All elements (rows and columns) for this scatterer are untouched. All other elements are scaled by the factor. |
[in] | Nz | the Nz dimension of the kernels |
[in] | NBeta | the number of scatterers. |
Multiply all elements (maps and Nz's) of scatterer by a scale factor.
[in] | K | The MATRIX, to scale. |
[in] | factor | A scalar value. |
[in] | scatterer | The scatterer of interest. All elements (rows and columns) for this scatterer are scaled. |
[in] | Nz | the Nz dimension of the kernels. |
[in] | NBeta | the number of scatterers. |
unsigned int setRandomSeed | ( | unsigned int | seed | ) |
Not used
unsigned int setRandomSeedToTime | ( | ) |
Set seed for random number generator to system time
int testTranspose | ( | ) |
Set all elements for scatterer to zero.
[in] | K | A MATRIX, usually Theta (a matrix defining the overlap). |
[in] | scatterer | The scatterer of interest. All elements (rows and columns) for this scatterer are set to zero. |
[in] | Nz | the Nz dimension of the kernels |
[in] | NBeta | the number of scatterers. |