Displaying 2 results from an estimated 2 matches for "cmatprod".
Did you mean:
matprod
2008 Apr 05
2
Adding a Matrix Exponentiation Operator
...== 0) ? 1 : 0);
if (e == 0) {
; // return identity matrix
}
else
while (e > 0) {
if (e & 1) {
if (mode == REALSXP)
matprod(REAL(matrix), nrows, ncols,
REAL(x_), nrows, ncols, REAL(tmp));
else
cmatprod(COMPLEX(tmp), nrows, ncols,
COMPLEX(x_), nrows, ncols, COMPLEX(matrix));
copyMatrixData(tmp, matrix, nrows, ncols, mode);
e--;
}
if (mode == REALSXP)
matprod(REAL(x_), nrows, ncols,
REAL(x_), nrows, ncols, REA...
2006 Feb 22
2
How can I see how %*% is implemented?
I would like to see how the matrix multiplication operator %*% is implemented (because I want to see which external Fortran/C routines are used). How can I do so?
Best
S??ren