ExaTN
Public Member Functions | Friends | List of all members
exatn::numerics::Subspace Class Reference

Public Member Functions

 Subspace (const VectorSpace *vector_space, DimOffset lower_bound, DimOffset upper_bound)
 
 Subspace (const VectorSpace *vector_space, std::pair< DimOffset, DimOffset > bounds)
 
 Subspace (const VectorSpace *vector_space, DimOffset lower_bound, DimOffset upper_bound, const std::string &subspace_name)
 
 Subspace (const VectorSpace *vector_space, std::pair< DimOffset, DimOffset > bounds, const std::string &subspace_name)
 
 Subspace (const Subspace &subspace)=default
 
Subspaceoperator= (const Subspace &subspace)=default
 
 Subspace (Subspace &&subspace) noexcept=default
 
Subspaceoperator= (Subspace &&subspace) noexcept=default
 
void printIt () const
 
DimExtent getDimension () const
 
DimOffset getLowerBound () const
 
DimOffset getUpperBound () const
 
std::pair< DimOffset, DimOffset > getBounds () const
 
const VectorSpacegetVectorSpace () const
 
const std::string & getName () const
 
SubspaceId getRegisteredId () const
 

Friends

class SubspaceRegister
 

Constructor & Destructor Documentation

◆ Subspace() [1/2]

exatn::numerics::Subspace::Subspace ( const VectorSpace vector_space,
DimOffset  lower_bound,
DimOffset  upper_bound 
)

Anonymous subspace of a vector space defined by a subrange of basis vectors.

◆ Subspace() [2/2]

exatn::numerics::Subspace::Subspace ( const VectorSpace vector_space,
DimOffset  lower_bound,
DimOffset  upper_bound,
const std::string &  subspace_name 
)

Named subspace of a vector space defined by a subrange of basis vectors.

Member Function Documentation

◆ getBounds()

std::pair< DimOffset, DimOffset > exatn::numerics::Subspace::getBounds ( ) const

Returns the bounds of the subspace.

◆ getDimension()

DimExtent exatn::numerics::Subspace::getDimension ( ) const

Returns the subspace dimension.

◆ getLowerBound()

DimOffset exatn::numerics::Subspace::getLowerBound ( ) const

Returns the lower bound of the subspace.

◆ getName()

const std::string & exatn::numerics::Subspace::getName ( ) const

Returns the name of the subspace.

◆ getRegisteredId()

SubspaceId exatn::numerics::Subspace::getRegisteredId ( ) const

Returns the registered subspace id.

◆ getUpperBound()

DimOffset exatn::numerics::Subspace::getUpperBound ( ) const

Returns the upper bound of the subspace.

◆ getVectorSpace()

const VectorSpace * exatn::numerics::Subspace::getVectorSpace ( ) const

Returns a pointer to the vector space the subspace is defined in.

◆ printIt()

void exatn::numerics::Subspace::printIt ( ) const

Prints.


The documentation for this class was generated from the following files: