1#ifndef included_AMP_DenseSerialMatrix
2#define included_AMP_DenseSerialMatrix
4#include "AMP/matrices/Matrix.h"
5#include "AMP/vectors/Vector.h"
39 virtual std::string
type()
const override {
return "DenseSerialMatrix"; }
An concrete class for dealing with dense serial matrices.
Vector::shared_ptr createOutputVector() const override
Get a left vector( For , is a left vector )
virtual std::string type() const override
Return the type of the matrix.
virtual ~DenseSerialMatrix()
Destructor.
DenseSerialMatrix & operator=(const DenseSerialMatrix &)=delete
DenseSerialMatrix(const DenseSerialMatrix &)=delete
Vector::shared_ptr createInputVector() const override
Get a right vector( For , is a right vector )
shared_ptr transpose() const override
Return a new matrix that is the transpose of this one.
DenseSerialMatrix(std::shared_ptr< MatrixParametersBase > params)
Constructor.
void multiply(shared_ptr other_op, shared_ptr &result) override
Multiply two matrices and store in a third.
Vector::shared_ptr extractDiagonal(Vector::shared_ptr buf=Vector::shared_ptr()) const override
Extract the diagonal from a matrix.
shared_ptr clone() const override
Return a matrix with the same non-zero and distributed structure.
DenseSerialMatrix()
Unimplemented constructor.
DenseSerialMatrix(std::shared_ptr< MatrixData > data)
Constructor.
An abstract interface for using and manipulating matrices.
std::shared_ptr< Matrix > shared_ptr
Convenience typedef.
std::shared_ptr< Vector > shared_ptr
Shorthand for shared pointer to Vector.