org.jscience.mathematics.analysis
Interface SampledMappingIterator

All Known Implementing Classes:
BasicSampledMappingIterator, EnhancedSimpsonIntegratorSampler, EnhancedSimpsonNDIntegratorSampler, RiemannIntegratorSampler, RiemannNDIntegratorSampler, TrapezoidIntegratorSampler, TrapezoidNDIntegratorSampler

public interface SampledMappingIterator

This class is a simple wrapper allowing to iterate over a SampledFunction.

The basic implementation of the iteration interface does not perform any transformation on the sample, it only handles a loop over the underlying sampled function.

See Also:
SampledMapping

Method Summary
 SampledMapping getSampledMapping()
          DOCUMENT ME!
 boolean hasNext()
          Check if the iterator can provide another point.
 ValuedPair next()
          Get the next point of a sampled function.
 void remove()
          DOCUMENT ME!
 

Method Detail

getSampledMapping

SampledMapping getSampledMapping()
DOCUMENT ME!

Returns:
DOCUMENT ME!

hasNext

boolean hasNext()
Check if the iterator can provide another point.

Returns:
true if the iterator can provide another point.

next

ValuedPair next()
                throws ExhaustedSampleException,
                       MappingException
Get the next point of a sampled function.

Returns:
the next point of the sampled function
Throws:
ExhaustedSampleException - if the sample has been exhausted
MappingException - if the underlying function throws one

remove

void remove()
DOCUMENT ME!