|
typedef double | scalar_type |
|
typedef int | local_ordinal_type |
|
typedef long long | global_ordinal_type |
|
typedef EpetraNode | node_type |
|
typedef double | scalar_type |
|
typedef int | local_ordinal_type |
|
typedef long long | global_ordinal_type |
|
typedef EpetraNode | node_type |
|
virtual | ~Vector () |
| Destructor. More...
|
|
virtual | ~MultiVector () |
| Destructor. More...
|
|
MultiVector< double, int, long long, EpetraNode > & | operator= (const MultiVector< double, int, long long, EpetraNode > &rhs) |
| Assignment operator: Does a deep copy. More...
|
|
virtual void | norm1 (const Teuchos::ArrayView< typename Teuchos::ScalarTraits< double >::magnitudeType > &norms) const=0 |
| Compute 1-norm of each vector in multi-vector. More...
|
|
virtual void | norm2 (const Teuchos::ArrayView< typename Teuchos::ScalarTraits< double >::magnitudeType > &norms) const=0 |
|
virtual void | normInf (const Teuchos::ArrayView< typename Teuchos::ScalarTraits< double >::magnitudeType > &norms) const=0 |
| Compute Inf-norm of each vector in multi-vector. More...
|
|
virtual void | replaceMap (const RCP< const Map< int, long long, EpetraNode > > &map)=0 |
|
virtual void | Xpetra_randomize () |
| Set multi-vector values to random numbers. XPetra implementation. More...
|
|
virtual | ~DistObject () |
| Destructor. More...
|
|
virtual void | doImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)=0 |
| Import data into this object using an Import object ("forward mode"). More...
|
|
virtual void | doExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)=0 |
| Export data into this object using an Export object ("forward mode"). More...
|
|
virtual void | doImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)=0 |
| Import data into this object using an Export object ("reverse mode"). More...
|
|
virtual void | doExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)=0 |
| Export data into this object using an Import object ("reverse mode"). More...
|
|
void | randomize (bool bUseXpetraImplementation=false) |
| Set multi-vector values to random numbers. More...
|
|
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > | getMap () const |
| Implements DistObject interface. More...
|
|
void | doImport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
| Import. More...
|
|
void | doExport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &dest, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
| Export. More...
|
|
void | doImport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
| Import (using an Exporter). More...
|
|
void | doExport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &dest, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
| Export (using an Importer). More...
|
|
void | replaceMap (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map) |
| Replace the underlying Map in place. More...
|
|
| EpetraMultiVectorT (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, size_t NumVectors, bool zeroOut=true) |
| Basic MultiVector constuctor. More...
|
|
| EpetraMultiVectorT (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &source) |
| MultiVector copy constructor. More...
|
|
| EpetraMultiVectorT (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, const Teuchos::ArrayView< const Teuchos::ArrayView< const Scalar > > &ArrayOfPtrs, size_t NumVectors) |
| Set multi-vector values from array of pointers using Teuchos memory management classes. (copy). More...
|
|
virtual | ~EpetraMultiVectorT () |
| MultiVector destructor. More...
|
|
void | replaceGlobalValue (GlobalOrdinal globalRow, size_t vectorIndex, const Scalar &value) |
| Replace value, using global (row) index. More...
|
|
void | sumIntoGlobalValue (GlobalOrdinal globalRow, size_t vectorIndex, const Scalar &value) |
| Add value to existing value, using global (row) index. More...
|
|
void | replaceLocalValue (LocalOrdinal myRow, size_t vectorIndex, const Scalar &value) |
| Replace value, using local (row) index. More...
|
|
void | sumIntoLocalValue (LocalOrdinal myRow, size_t vectorIndex, const Scalar &value) |
| Add value to existing value, using local (row) index. More...
|
|
void | putScalar (const Scalar &value) |
| Set all values in the multivector with the given value. More...
|
|
Teuchos::RCP< const Vector< double, int, long long, EpetraNode > > | getVector (size_t j) const |
| Return a Vector which is a const view of column j. More...
|
|
Teuchos::RCP< Vector< double, int, long long, EpetraNode > > | getVectorNonConst (size_t j) |
| Return a Vector which is a nonconst view of column j. More...
|
|
Teuchos::ArrayRCP< const Scalar > | getData (size_t j) const |
| Const view of the local values in a particular vector of this multivector. More...
|
|
Teuchos::ArrayRCP< Scalar > | getDataNonConst (size_t j) |
| View of the local values in a particular vector of this multivector. More...
|
|
void | dot (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const Teuchos::ArrayView< Scalar > &dots) const |
| Compute the dot product of each corresponding pair of vectors (columns) in A and B. More...
|
|
void | abs (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A) |
| Put element-wise absolute values of input Multi-vector in target: A = abs(this). More...
|
|
void | reciprocal (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A) |
| Put element-wise reciprocal values of input Multi-vector in target, this(i,j) = 1/A(i,j). More...
|
|
void | scale (const Scalar &alpha) |
| Scale in place: this = alpha*this. More...
|
|
void | scale (Teuchos::ArrayView< const Scalar > alpha) |
| Scale the current values of a multi-vector, this[j] = alpha[j]*this[j]. More...
|
|
void | update (const Scalar &alpha, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const Scalar &beta) |
| Update: this = beta*this + alpha*A. More...
|
|
void | update (const Scalar &alpha, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const Scalar &beta, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &B, const Scalar &gamma) |
| Update: this = gamma*this + alpha*A + beta*B. More...
|
|
void | norm1 (const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
| Compute 1-norm of each vector in multi-vector. More...
|
|
void | norm2 (const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
|
void | normInf (const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
| Compute Inf-norm of each vector in multi-vector. More...
|
|
void | meanValue (const Teuchos::ArrayView< Scalar > &means) const |
| Compute mean (average) value of each vector in multi-vector. The outcome of this routine is undefined for non-floating point scalar types (e.g., int). More...
|
|
void | multiply (Teuchos::ETransp transA, Teuchos::ETransp transB, const Scalar &alpha, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &B, const Scalar &beta) |
| Matrix-matrix multiplication: this = beta*this + alpha*op(A)*op(B). More...
|
|
void | elementWiseMultiply (Scalar scalarAB, const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &B, Scalar scalarThis) |
| Multiply a Vector A elementwise by a MultiVector B. More...
|
|
size_t | getNumVectors () const |
| Number of columns in the multivector. More...
|
|
size_t | getLocalLength () const |
| Local number of rows on the calling process. More...
|
|
global_size_t | getGlobalLength () const |
| Global number of rows in the multivector. More...
|
|
| EpetraMultiVectorT (const RCP< Epetra_MultiVector > &vec) |
| EpetraMultiVectorT constructor to wrap a Epetra_MultiVector object. More...
|
|
RCP< Epetra_MultiVector > | getEpetra_MultiVector () const |
| Get the underlying Epetra multivector. More...
|
|
void | setSeed (unsigned int seed) |
| Set seed for Random function. More...
|
|
virtual void | assign (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &rhs) |
| Implementation of the assignment operator (operator=); does a deep copy. More...
|
|