|
__device__ int | sign (real x) |
| Get sign of floating point variable. More...
|
|
__device__ int | stressIndex (int particleIndex, int row, int col) |
| map [i][j] to [i*DIM*DIM+j] for the tensors More...
|
|
__device__ void | copyMatrix (real src[DIM][DIM], real dst[DIM][DIM]) |
| Deep copy of matrix. More...
|
|
__device__ void | transposeMatrix (real m[DIM][DIM]) |
| Transpose matrix. More...
|
|
__device__ void | multiplyMatrix (real A[DIM][DIM], real B[DIM][DIM], real C[DIM][DIM]) |
|
__device__ void | multiply (real A[][DIM], real B[][DIM], real C[][DIM]) |
|
__device__ void | identityMatrix (real A[DIM][DIM]) |
| Return identity matrix. More...
|
|
__device__ int | maxMatrix (real M[DIM][DIM], int *e, int *f, real *elmax) |
| Returns the indices of the greatest non-diagonal element of the matrix M . More...
|
|
__device__ void | rotateMatrix (volatile real m[DIM][DIM], volatile real c, volatile real s, volatile int e, volatile int f) |
| Rotate matrix. More...
|
|
__device__ int | calculateAllEigenvalues (real M[DIM][DIM], real eigenvalues[DIM], real v[DIM][DIM]) |
| Computes all eigenvalues and eigenvectors of the symmetric matrix M . More...
|
|
__device__ real | calculateMaxEigenvalue (real M[DIM][DIM]) |
| Computes the eigenvalues of the symmetric matrix M . More...
|
|
__device__ real | det2x2 (real a, real b, real c, real d) |
| Determinant of a 2x2 matrix. More...
|
|
__device__ int | invertMatrix (real *m, real *inverted) |
| Invert matrix. More...
|
|