All Packages Class Hierarchy This Package Previous Next Index
Class sep.operator.SepOperator
java.lang.Object
|
+----sep.operator.SepOperator
- public abstract class SepOperator
- extends Object
- implements Operator
This class implements a lot of often duplicated code.
A subclass need only implement apply() and the constructors.
-
domain
- domain of the operator
-
range
- range of the operator
-
SepOperator()
-
-
SepOperator(SepOperator)
- copy constructor (shallow copy)
-
SepOperator(Space)
-
-
SepOperator(Space, Space)
-
-
addImage(Vector, Vector)
-
-
apply(boolean, Vector, Vector)
- Apply the operator:
ran = this(dom)
-
copy()
-
-
equals(Object)
- Compares two Objects for equality.
-
getDomain()
-
-
getRange()
-
-
image(Vector)
-
-
image(Vector, Vector)
-
-
residual(Vector, Vector, Vector)
-
-
setDomain(Space)
-
-
setRange(Space)
-
domain
protected Space domain
- domain of the operator
range
protected Space range
- range of the operator
SepOperator
public SepOperator()
SepOperator
public SepOperator(Space domain,
Space range)
SepOperator
public SepOperator(Space domainAndRange)
SepOperator
public SepOperator(SepOperator src)
- copy constructor (shallow copy)
apply
protected abstract void apply(boolean add,
Vector dom,
Vector ran)
- Apply the operator:
ran = this(dom)
- Parameters:
- add - if true, perform ran += this(dom) instead of ran = this(dom)
- in - Vector in the domain (will NOT be altered)
- out - Vector in the range (will be altered)
setDomain
protected void setDomain(Space domain)
setRange
protected void setRange(Space range)
equals
public boolean equals(Object obj)
- Compares two Objects for equality.
- Overrides:
- equals in class Object
getDomain
public Space getDomain()
getRange
public Space getRange()
image
public Vector image(Vector d)
image
public void image(Vector d,
Vector r)
addImage
public void addImage(Vector d,
Vector r)
residual
public void residual(Vector d,
Vector b,
Vector r)
All Packages Class Hierarchy This Package Previous Next Index