2#include "gsl/gsl_cblas.h"
11 void AMultB(
int n,
int m,
int k,
const double *
A,
const double *
B,
double *
C) {
12 cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
n,
m, k, 1.0,
A, k,
B,
m, 0.0,
C,
m);
15 void ATMultB(
int n,
int m,
int k,
const double *
A,
const double *
B,
double *
C) {
16 cblas_dgemm(CblasRowMajor, CblasTrans, CblasNoTrans,
n,
m, k, 1.0,
A,
n,
B,
m, 0.0,
C,
m);
Namespace for new Math classes and functions.
void AMultB(int n, int m, int k, const double *A, const double *B, double *C)
void ATMultB(int n, int m, int k, const double *A, const double *B, double *C)