|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RealVectorChangingVisitor
This interface defines a visitor for the entries of a vector. Visitors implementing this interface may alter the entries of the vector being visited.
Method Summary | |
---|---|
double |
end()
End visiting a vector. |
void |
start(int dimension,
int start,
int end)
Start visiting a vector. |
double |
visit(int index,
double value)
Visit one entry of the vector. |
Method Detail |
---|
void start(int dimension, int start, int end)
dimension
- the size of the vectorstart
- the index of the first entry to be visitedend
- the index of the last entry to be visited (inclusive)double visit(int index, double value)
index
- the index of the entry being visitedvalue
- the value of the entry being visited
double end()
RealVector.walkInDefaultOrder(RealVectorChangingVisitor)
,
RealVector.walkInDefaultOrder(RealVectorChangingVisitor, int, int)
,
RealVector.walkInOptimizedOrder(RealVectorChangingVisitor)
or
RealVector.walkInOptimizedOrder(RealVectorChangingVisitor, int, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |