numerics
Loading...
Searching...
No Matches
num::backends::omp Namespace Reference

Functions

void scale (Vector &v, real alpha)
 
void axpy (real alpha, const Vector &x, Vector &y)
 
real dot (const Vector &x, const Vector &y)
 
void matmul (const Matrix &A, const Matrix &B, Matrix &C)
 
void matvec (const Matrix &A, const Vector &x, Vector &y)
 
void matadd (real alpha, const Matrix &A, real beta, const Matrix &B, Matrix &C)
 

Function Documentation

◆ axpy()

void num::backends::omp::axpy ( real  alpha,
const Vector x,
Vector y 
)

Definition at line 19 of file vector.cpp.

References num::backends::seq::axpy(), num::ipow(), and num::BasicVector< T >::size().

Referenced by num::axpy().

◆ dot()

real num::backends::omp::dot ( const Vector x,
const Vector y 
)

Definition at line 29 of file vector.cpp.

References num::backends::seq::dot(), num::ipow(), and num::BasicVector< T >::size().

Referenced by num::dot().

◆ matadd()

void num::backends::omp::matadd ( real  alpha,
const Matrix A,
real  beta,
const Matrix B,
Matrix C 
)

Definition at line 56 of file matrix.cpp.

References num::beta(), num::ipow(), and num::backends::seq::matadd().

Referenced by num::matadd().

◆ matmul()

void num::backends::omp::matmul ( const Matrix A,
const Matrix B,
Matrix C 
)

Definition at line 14 of file matrix.cpp.

References num::ipow(), and num::backends::seq::matmul().

Referenced by num::matmul().

◆ matvec()

void num::backends::omp::matvec ( const Matrix A,
const Vector x,
Vector y 
)

Definition at line 42 of file matrix.cpp.

References num::ipow(), and num::backends::seq::matvec().

Referenced by num::matvec().

◆ scale()

void num::backends::omp::scale ( Vector v,
real  alpha 
)

Definition at line 9 of file vector.cpp.

References num::ipow(), num::backends::seq::scale(), and num::BasicVector< T >::size().

Referenced by num::scale().