44 #ifndef EPETRA_SERIALDENSEVECTOR_H
45 #define EPETRA_SERIALDENSEVECTOR_H
188 using Epetra_SerialDenseMatrix::operator();
251 double Norm1()
const;
258 double Norm2()
const;
270 int Length()
const {
return(M_);};
283 virtual void Print(std::ostream& os)
const;
291 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
292 if (Index >=
M_ || Index < 0)
299 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
300 if (Index >=
M_ || Index < 0)
307 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
308 if (Index >=
M_ || Index < 0)
315 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
316 if (Index >=
M_ || Index < 0)
virtual double NormInf() const
Computes the Infinity-Norm of the this matrix.
double & operator()(int Index)
Element access function.
int Size(int Length_in)
Set length of a Epetra_SerialDenseVector object; init values to zero.
int Random()
Set matrix values to random numbers.
double * operator[](int ColIndex)
Column access function.
double & operator[](int Index)
Element access function.
Epetra_SerialDenseMatrix: A class for constructing and using real double precision general dense matr...
int Resize(int Length_in)
Resize a Epetra_SerialDenseVector object.
Epetra_SerialDenseVector: A class for constructing and using dense vectors.
std::string toString(const int &x) const
double & operator()(int RowIndex, int ColIndex)
Element access function.
Epetra_SerialDenseMatrix & operator=(const Epetra_SerialDenseMatrix &Source)
Value copy from one matrix to another.
int Reshape(int NumRows, int NumCols)
Reshape a Epetra_SerialDenseMatrix object.
virtual void Print(std::ostream &os) const
Print service methods; defines behavior of ostream << operator.
virtual int ReportError(const std::string Message, int ErrorCode) const
Error reporting method.
double * Values() const
Returns pointer to the values in vector.
int Shape(int NumRows, int NumCols)
Set dimensions of a Epetra_SerialDenseMatrix object; init values to zero.
Epetra_DataAccess CV() const
Returns the data access mode of the this vector.