public interface RealVectorChangingVisitorThis interface defines a visitor for the entries of a vector. Visitors implementing this interface may alter the entries of the vector being visited.
void start(int dimension, int start, int end)Start visiting a vector. This method is called once, before any entry of the vector is visited.
dimension- the size of the vector
start- the index of the first entry to be visited
end- the index of the last entry to be visited (inclusive)
double visit(int index, double value)Visit one entry of the vector.
index- the index of the entry being visited
value- the value of the entry being visited
- the new value of the entry being visited
double end()End visiting a vector. This method is called once, after all entries of the vector have been visited.