Advanced Multi-Physics (AMP)
On-Line Documentation
Static Public Member Functions | List of all members
AMP::LinearAlgebra::MatrixOperationsDefault Struct Reference

#include <MatrixOperationsDefault.h>

Static Public Member Functions

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.
 
static void matMatMult (MatrixData const &A, MatrixData const &B, MatrixData &C)
 Compute the product of two matrices.
 

Detailed Description

Definition at line 9 of file MatrixOperationsDefault.h.

Member Function Documentation

◆ axpy()

static void AMP::LinearAlgebra::MatrixOperationsDefault::axpy ( AMP::Scalar  alpha,
const MatrixData X,
MatrixData Y 
)
static

Compute the linear combination of two matrices.

Parameters
[in]alphascalar
[in]Xmatrix
[out]YThe output matrix

Compute \(\mathbf{Y} = \alpha\mathbf{X} + \mathbf{Y}\)

◆ copy()

static void AMP::LinearAlgebra::MatrixOperationsDefault::copy ( const MatrixData X,
MatrixData Y 
)
static

Set this matrix with the same non-zero and distributed structure as x and copy the coefficients.

Parameters
[in]Xmatrix data to copy from
[in]Ymatrix data to copy to

◆ matMatMult()

static void AMP::LinearAlgebra::MatrixOperationsDefault::matMatMult ( MatrixData const &  A,
MatrixData const &  B,
MatrixData C 
)
static

Compute the product of two matrices.

Parameters
[in]ALeft multiplicand
[in]BRight multiplicand
[in]CThe product \(\mathbf{AB}\).

The documentation for this struct was generated from the following file:



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:42.
Comments on this page