MathUtilities 1.1.15
Common math functions shared across compiled apps at NML-NHP.
Loading...
Searching...
No Matches
Linear Algebra

Functions for linear algebra operations. More...

Functions

void matrixMultiply (double *B, double *A, double *x, size_t N, size_t M, size_t k)
 Perform matrix multiplication: B = A * x.
 

Detailed Description

Functions for linear algebra operations.

Function Documentation

◆ matrixMultiply()

void matrixMultiply ( double * B,
double * A,
double * x,
size_t N,
size_t M,
size_t k )

Perform matrix multiplication: B = A * x.

Parameters
BPointer to the result matrix B.
APointer to the matrix A (N rows by M columns).
xPointer to the matrix x (M rows by k columns).
NNumber of rows in matrix A.
MNumber of columns in matrix A (and rows in matrix x).
kNumber of columns in matrix x.