|
template<typename LO , typename GO , typename GS , typename Node > |
const Teuchos::RCP< const Tpetra::Map< LO, GO, Node > > | Amesos2::Util::getGatherMap (const Teuchos::RCP< const Tpetra::Map< LO, GO, Node > > &map) |
| Gets a Tpetra::Map described by the EDistribution. More...
|
|
template<typename LO , typename GO , typename GS , typename Node > |
const Teuchos::RCP< const Tpetra::Map< LO, GO, Node > > | Amesos2::Util::getDistributionMap (EDistribution distribution, GS num_global_elements, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, GO indexBase=0, const Teuchos::RCP< const Tpetra::Map< LO, GO, Node > > &map=Teuchos::null) |
|
template<typename Scalar , typename GlobalOrdinal , typename GlobalSizeT > |
void | Amesos2::Util::transpose (ArrayView< Scalar > vals, ArrayView< GlobalOrdinal > indices, ArrayView< GlobalSizeT > ptr, ArrayView< Scalar > trans_vals, ArrayView< GlobalOrdinal > trans_indices, ArrayView< GlobalSizeT > trans_ptr) |
|
template<typename Scalar1 , typename Scalar2 > |
void | Amesos2::Util::scale (ArrayView< Scalar1 > vals, size_t l, size_t ld, ArrayView< Scalar2 > s) |
| Scales a 1-D representation of a multivector. More...
|
|
template<typename Scalar1 , typename Scalar2 , class BinaryOp > |
void | Amesos2::Util::scale (ArrayView< Scalar1 > vals, size_t l, size_t ld, ArrayView< Scalar2 > s, BinaryOp binary_op) |
| Scales a 1-D representation of a multivector. More...
|
|
void | Amesos2::Util::printLine (Teuchos::FancyOStream &out) |
| Prints a line of 70 "-"s on std::cout. More...
|
|
template<typename Scalar , typename GlobalOrdinal , typename GlobalSizeT > |
void | Amesos2::Util::transpose (Teuchos::ArrayView< Scalar > vals, Teuchos::ArrayView< GlobalOrdinal > indices, Teuchos::ArrayView< GlobalSizeT > ptr, Teuchos::ArrayView< Scalar > trans_vals, Teuchos::ArrayView< GlobalOrdinal > trans_indices, Teuchos::ArrayView< GlobalSizeT > trans_ptr) |
|
template<typename Scalar1 , typename Scalar2 > |
void | Amesos2::Util::scale (Teuchos::ArrayView< Scalar1 > vals, size_t l, size_t ld, Teuchos::ArrayView< Scalar2 > s) |
|
template<typename Scalar1 , typename Scalar2 , class BinaryOp > |
void | Amesos2::Util::scale (Teuchos::ArrayView< Scalar1 > vals, size_t l, size_t ld, Teuchos::ArrayView< Scalar2 > s, BinaryOp binary_op) |
|
template<typename Scalar1 , typename Scalar2 >
void Amesos2::Util::scale |
( |
ArrayView< Scalar1 > |
vals, |
|
|
size_t |
l, |
|
|
size_t |
ld, |
|
|
ArrayView< Scalar2 > |
s |
|
) |
| |
Scales a 1-D representation of a multivector.
- Parameters
-
| [in/out] | vals The values of the multi-vector. On exit will contain the scaled values. |
[in] | l | The length of each vector in the multivector |
[in] | ld | The leading dimension of the multivector |
[in] | s | Contains the scaling factors of the diagonal scaling matrix |
The first vector will be scaled by s
[0] , the second vector by s
[1] , etc.
Referenced by Amesos2::Superlumt< Matrix, Vector >::solve_impl().