org.spaceroots.mantissa.functions.vectorial
Interface SampledFunctionIterator
-
- All Known Implementing Classes:
- BasicSampledFunctionIterator, EnhancedSimpsonIntegratorSampler, RiemannIntegratorSampler, TrapezoidIntegratorSampler
public interface SampledFunctionIteratorThis interface provides iteration services over vectorial functions samples.- See Also:
SampledFunction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intgetDimension()Get the dimension of the vectorial values of the function.booleanhasNext()Check if the iterator can provide another point.VectorialValuedPairnextSamplePoint()Get the next point of a sampled function.
-
-
-
Method Detail
-
getDimension
int getDimension()
Get the dimension of the vectorial values of the function.- Returns:
- dimension
-
hasNext
boolean hasNext()
Check if the iterator can provide another point.- Returns:
- true if the iterator can provide another point.
-
nextSamplePoint
VectorialValuedPair nextSamplePoint() throws ExhaustedSampleException, FunctionException
Get the next point of a sampled function.- Returns:
- the next point of the sampled function
- Throws:
ExhaustedSampleException- if the sample has been exhaustedFunctionException- if the underlying function throws one
-
-
DataMelt 3.0 © DataMelt by jWork.ORG