Advanced Multi-Physics (AMP)
On-Line Documentation
MatrixOperationsDefault.h
Go to the documentation of this file.
1#ifndef included_MatrixOperationsDefault_H_
2#define included_MatrixOperationsDefault_H_
3
4#include "AMP/vectors/Scalar.h"
5
6namespace AMP::LinearAlgebra {
7
8class MatrixData;
15 static void matMatMult( MatrixData const &A, MatrixData const &B, MatrixData &C );
16
23 static void axpy( AMP::Scalar alpha, const MatrixData &X, MatrixData &Y );
24
30 static void copy( const MatrixData &X, MatrixData &Y );
31};
32
33} // namespace AMP::LinearAlgebra
34
35#endif
#define X(C)
Scalar is a class used to store a scalar variable that may be different types/precision.
Definition Scalar.h:21
static void matMatMult(MatrixData const &A, MatrixData const &B, MatrixData &C)
Compute the product of two matrices.
static void axpy(AMP::Scalar alpha, const MatrixData &X, MatrixData &Y)
Compute the linear combination of two matrices.
static void copy(const MatrixData &X, MatrixData &Y)
Set this matrix with the same non-zero and distributed structure as x and copy the coefficients.



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:40.
Comments on this page