const int kk = this->n_cols();
const number alpha = 1.;
const number beta = (adding ? 1. : 0.);
- const number null = 0.;
gemm("N", "N", &mm, &nn, &kk, &alpha, &this->values[0], &mm, &B.values[0],
&kk, &beta, &C.values[0], &mm);
const int kk = this->n_cols();
const number alpha = 1.;
const number beta = (adding ? 1. : 0.);
- const number null = 0.;
// since FullMatrix stores the matrix in transposed order compared to this
// matrix, compute B^T * A^T = (A * B)^T
const int kk = B.n_rows();
const number alpha = 1.;
const number beta = (adding ? 1. : 0.);
- const number null = 0.;
gemm("T", "N", &mm, &nn, &kk, &alpha, &this->values[0], &kk, &B.values[0],
&kk, &beta, &C.values[0], &mm);
const int kk = B.n_rows();
const number alpha = 1.;
const number beta = (adding ? 1. : 0.);
- const number null = 0.;
// since FullMatrix stores the matrix in transposed order compared to this
// matrix, compute B^T * A = (A^T * B)^T
const int kk = B.n_cols();
const number alpha = 1.;
const number beta = (adding ? 1. : 0.);
- const number null = 0.;
gemm("N", "T", &mm, &nn, &kk, &alpha, &this->values[0], &mm, &B.values[0],
&nn, &beta, &C.values[0], &mm);
const int kk = B.n_cols();
const number alpha = 1.;
const number beta = (adding ? 1. : 0.);
- const number null = 0.;
// since FullMatrix stores the matrix in transposed order compared to this
// matrix, compute B * A^T = (A * B^T)^T
const int kk = B.n_cols();
const number alpha = 1.;
const number beta = (adding ? 1. : 0.);
- const number null = 0.;
gemm("T", "T", &mm, &nn, &kk, &alpha, &this->values[0], &kk, &B.values[0],
&nn, &beta, &C.values[0], &mm);
const int kk = B.n_cols();
const number alpha = 1.;
const number beta = (adding ? 1. : 0.);
- const number null = 0.;
// since FullMatrix stores the matrix in transposed order compared to this
// matrix, compute B * A = (A^T * B^T)^T