26#include <alien/utils/Precomp.h>
Interface for linear algebra.
virtual Arccore::Real norm0(const IVector &x) const =0
Computes norm 0 of a vector.
virtual void mult(const IMatrix &a, const IVector &x, IVector &r) const =0
Computes a matrix vector product.
virtual Arccore::Real dot(const IVector &x, const IVector &y) const =0
Computes the dot product of two vectors.
virtual Arccore::Real norm2(const IVector &x) const =0
Computes norm 2 of a vector.
virtual ~ILinearAlgebra()
Free resources.
virtual Arccore::Real norm1(const IVector &x) const =0
Computes norm 1 of a vector.
virtual void copy(const IVector &x, IVector &r) const =0
Copy a vector.
virtual void axpy(Real alpha, const IVector &x, IVector &y) const =0
Computes y += alpa * x.
Interface for all matrices.
Interface for all vectors.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --