AbstractLinAlgPack_VectorStdOps.cpp File Reference

#include <assert.h>
#include "AbstractLinAlgPack_VectorStdOps.hpp"
#include "AbstractLinAlgPack_VectorSpace.hpp"
#include "AbstractLinAlgPack_VectorMutable.hpp"
#include "AbstractLinAlgPack_AssertOp.hpp"
#include "AbstractLinAlgPack_SpVectorClass.hpp"
#include "AbstractLinAlgPack_SpVectorView.hpp"
#include "RTOp_ROp_dot_prod.h"
#include "RTOp_ROp_max_abs_ele.h"
#include "RTOp_ROp_sum.h"
#include "RTOp_TOp_add_scalar.h"
#include "RTOp_TOp_axpy.h"
#include "RTOp_TOp_ele_wise_divide.h"
#include "RTOp_TOp_ele_wise_prod.h"
#include "RTOpPack_TOpRandomize.hpp"
#include "RTOp_TOp_scale_vector.h"
#include "RTOp_TOp_sign.h"
#include "RTOpPack_RTOpC.hpp"
#include "Teuchos_TestForException.hpp"

Include dependency graph for AbstractLinAlgPack_VectorStdOps.cpp:

Go to the source code of this file.

Functions

AbstractLinAlgPack::value_type AbstractLinAlgPack::sum (const Vector &v_rhs)
 result = sum( v_rhs(i), i = 1,,,dim )
AbstractLinAlgPack::value_type AbstractLinAlgPack::dot (const Vector &v_rhs1, const Vector &v_rhs2)
 result = v_rhs1' * v_rhs2
AbstractLinAlgPack::value_type AbstractLinAlgPack::dot (const Vector &v_rhs1, const SpVectorSlice &sv_rhs2)
 result = v_rhs1' * sv_rhs2
void AbstractLinAlgPack::max_abs_ele (const Vector &v, value_type *max_v_j, index_type *max_j)
 Compute the maximum element in a vector.
void AbstractLinAlgPack::Vp_S (VectorMutable *v_lhs, const value_type &alpha)
 v_lhs += alpha
void AbstractLinAlgPack::Vt_S (VectorMutable *v_lhs, const value_type &alpha)
 v_lhs *= alpha
void AbstractLinAlgPack::Vp_StV (VectorMutable *v_lhs, const value_type &alpha, const Vector &v_rhs)
 v_lhs = alpha * v_rhs + v_lhs
void AbstractLinAlgPack::Vp_StV (VectorMutable *v_lhs, const value_type &alpha, const SpVectorSlice &sv_rhs)
 v_lhs = alpha * sv_rhs + v_lhs
void AbstractLinAlgPack::ele_wise_prod (const value_type &alpha, const Vector &v_rhs1, const Vector &v_rhs2,VectorMutable *v_lhs)
 v_lhs(i) += alpha * v_rhs1(i) * v_rhs2(i), i = 1,,,dim.
void AbstractLinAlgPack::ele_wise_divide (const value_type &alpha, const Vector &v_rhs1, const Vector &v_rhs2,VectorMutable *v_lhs)
 v_lhs(i) = alpha * v_rhs1(i) / v_rhs2(i), i = 1,,,dim.
void AbstractLinAlgPack::seed_random_vector_generator (unsigned int)
 Seed the random number generator.
void AbstractLinAlgPack::random_vector (value_type l, value_type u, VectorMutable *v)
 Generate a random vector with elements uniformly distrubuted elements.
void AbstractLinAlgPack::sign (const Vector &v,VectorMutable *z)
 Compute the sign of each element in an input vector.

Variables

static RTOpPack::RTOpC sum_op
static Teuchos::RCP< RTOpPack::ReductTarget > sum_targ
static RTOpPack::RTOpC dot_prod_op
static Teuchos::RCP< RTOpPack::ReductTarget > dot_prod_targ
static RTOpPack::RTOpC num_bounded_op
static Teuchos::RCP< RTOpPack::ReductTarget > num_bounded_targ
static RTOpPack::RTOpC add_scalar_op
static RTOpPack::RTOpC scale_vector_op
static RTOpPack::RTOpC axpy_op
static RTOpPack::TOpRandomize<
AbstractLinAlgPack::value_type
random_vector_op
static RTOpPack::RTOpC ele_wise_divide_op
static RTOpPack::RTOpC ele_wise_prod_op
init_rtop_server_t init_rtop_server


Variable Documentation

RTOpPack::RTOpC sum_op [static]

Definition at line 54 of file AbstractLinAlgPack_VectorStdOps.cpp.

Teuchos::RCP<RTOpPack::ReductTarget> sum_targ [static]

Definition at line 55 of file AbstractLinAlgPack_VectorStdOps.cpp.

RTOpPack::RTOpC dot_prod_op [static]

Definition at line 57 of file AbstractLinAlgPack_VectorStdOps.cpp.

Teuchos::RCP<RTOpPack::ReductTarget> dot_prod_targ [static]

Definition at line 58 of file AbstractLinAlgPack_VectorStdOps.cpp.

RTOpPack::RTOpC num_bounded_op [static]

Definition at line 60 of file AbstractLinAlgPack_VectorStdOps.cpp.

Teuchos::RCP<RTOpPack::ReductTarget> num_bounded_targ [static]

Definition at line 61 of file AbstractLinAlgPack_VectorStdOps.cpp.

RTOpPack::RTOpC add_scalar_op [static]

Definition at line 63 of file AbstractLinAlgPack_VectorStdOps.cpp.

RTOpPack::RTOpC scale_vector_op [static]

Definition at line 65 of file AbstractLinAlgPack_VectorStdOps.cpp.

RTOpPack::RTOpC axpy_op [static]

Definition at line 67 of file AbstractLinAlgPack_VectorStdOps.cpp.

RTOpPack::TOpRandomize<AbstractLinAlgPack::value_type> random_vector_op [static]

Definition at line 70 of file AbstractLinAlgPack_VectorStdOps.cpp.

RTOpPack::RTOpC ele_wise_divide_op [static]

Definition at line 72 of file AbstractLinAlgPack_VectorStdOps.cpp.

RTOpPack::RTOpC ele_wise_prod_op [static]

Definition at line 74 of file AbstractLinAlgPack_VectorStdOps.cpp.

init_rtop_server_t init_rtop_server [static]

Definition at line 103 of file AbstractLinAlgPack_VectorStdOps.cpp.


Generated on Tue Jul 13 09:31:59 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7