49 SetLabel(
"Epetra::IntSerialDenseVector");
56 SetLabel(
"Epetra::IntSerialDenseVector");
63 SetLabel(
"Epetra::IntSerialDenseVector");
90 os <<
"Data access mode: Copy" << std::endl;
92 os <<
"Data access mode: View" << std::endl;
94 os <<
"A_Copied: yes" << std::endl;
96 os <<
"A_Copied: no" << std::endl;
97 os <<
"Length(M): " <<
M_ << std::endl;
99 os <<
"(vector is empty, no values to display)";
101 for(
int i = 0; i <
M_; i++)
102 os << (*
this)(i) <<
" ";
int MakeViewOf(const Epetra_IntSerialDenseVector &Source)
Reset an existing IntSerialDenseVector to point to another Vector.
Epetra_IntSerialDenseVector: A class for constructing and using dense vectors.
virtual void SetLabel(const char *const Label)
Epetra_Object Label definition using char *.
int Random()
Set matrix values to random numbers.
int Random()
Set vector values to random numbers.
Epetra_IntSerialDenseVector & operator=(const Epetra_IntSerialDenseVector &Source)
Copy from one vector to another.
Epetra_IntSerialDenseVector()
Default constructor; defines a zero size object.
Epetra_IntSerialDenseMatrix: A class for constructing and using general dense integer matrices...
virtual ~Epetra_IntSerialDenseVector()
Epetra_IntSerialDenseVector destructor.
virtual void Print(std::ostream &os) const
Print service methods; defines behavior of ostream << operator.
Epetra_IntSerialDenseMatrix & operator=(const Epetra_IntSerialDenseMatrix &Source)
Copy from one matrix to another.
int MakeViewOf(const Epetra_IntSerialDenseMatrix &Source)
Reset an existing IntSerialDenseMatrix to point to another Matrix.