![]() |
![]()
| ![]() |
![]()
NAMEsc::SCVector - The SCVector class is the abstract base class for double valued vectors. SYNOPSIS#include <abstract.h> Inherits sc::DescribedClass. Inherited by sc::BlockedSCVector, sc::DistSCVector, sc::LocalSCVector, and sc::ReplSCVector. Public Member FunctionsSCVector (const RefSCDimension &,
SCMatrixKit *)
Public Member Functions inherited from sc::DescribedClass
Public Member Functions inherited from sc::RefCount
Public Member Functions inherited from sc::Identity
Protected AttributesRefSCDimension d
Additional Inherited MembersProtected Member Functions inherited from sc::RefCount
Detailed DescriptionThe SCVector class is the abstract base class for double valued vectors. Member Function Documentationvirtual void sc::SCVector::accumulate (const SCMatrix * m) [pure virtual]Sum m into this. One of m's dimensions must be 1. Implemented in sc::BlockedSCVector, sc::LocalSCVector, sc::ReplSCVector, and sc::DistSCVector. virtual void sc::SCVector::accumulate (const SCVector * v) [pure virtual]Sum v into this. Implemented in sc::BlockedSCVector, sc::DistSCVector, sc::LocalSCVector, and sc::ReplSCVector. virtual void sc::SCVector::accumulate_element (int, double) [pure virtual]Add val to element i. Implemented in sc::BlockedSCVector, sc::DistSCVector, sc::LocalSCVector, and sc::ReplSCVector. virtual Ref< SCMatrixSubblockIter > sc::SCVector::all_blocks (SCMatrixSubblockIter::Access) [pure virtual]Returns iterators for the all blocks used in this vector. Implemented in sc::BlockedSCVector, sc::DistSCVector, sc::LocalSCVector, and sc::ReplSCVector. void sc::SCVector::assign (SCVector * v) [inline]Make this have the same elements as v. The dimensions must match. virtual void sc::SCVector::assign_val (double val) [virtual]Overridden to implement the assign functions. Reimplemented in sc::BlockedSCVector, sc::LocalSCVector, and sc::ReplSCVector. Referenced by assign(). virtual void sc::SCVector::convert (double * v) const [virtual]Assign v[i] to element i for all i. Reimplemented in sc::DistSCVector. virtual void sc::SCVector::convert (SCVector *) [virtual]Convert an SCVector of a different specialization to this specialization and possibly accumulate the data. Reimplemented in sc::DistSCVector. virtual void sc::SCVector::element_op (const Ref< SCElementOp > &) [pure virtual]Perform the element operation op on each element of this. Implemented in sc::BlockedSCVector, sc::DistSCVector, sc::LocalSCVector, and sc::ReplSCVector. virtual double sc::SCVector::get_element (int i) const [pure virtual]Return the value of element i. Implemented in sc::BlockedSCVector, sc::DistSCVector, sc::LocalSCVector, and sc::ReplSCVector. virtual Ref< SCMatrixSubblockIter > sc::SCVector::local_blocks (SCMatrixSubblockIter::Access) [pure virtual]Returns iterators for the local (rapidly accessible) blocks used in this vector. Only one iterator is allowed for a matrix is it has Accum or Write access is allowed. Multiple Read iterators are permitted. Implemented in sc::BlockedSCVector, sc::DistSCVector, sc::LocalSCVector, and sc::ReplSCVector. void sc::SCVector::print (std::ostream & o = ExEnv::out0()) const [virtual]Print out the vector. Reimplemented from sc::DescribedClass. virtual void sc::SCVector::save (StateOut &) [virtual]Save and restore this in an implementation independent way. Reimplemented in sc::BlockedSCVector. virtual double sc::SCVector::scalar_product (SCVector *) [pure virtual]Return the dot product. Implemented in sc::BlockedSCVector, sc::DistSCVector, sc::LocalSCVector, and sc::ReplSCVector. virtual void sc::SCVector::set_element (int i, double val) [pure virtual]Set element i to val. Implemented in sc::BlockedSCVector, sc::DistSCVector, sc::LocalSCVector, and sc::ReplSCVector. AuthorGenerated automatically by Doxygen for MPQC from the source code.
|