Documentation of 'org.spaceroots.mantissa.functions.vectorial.SampledFunction' Java class
SampledFunction
org.spaceroots.mantissa.functions.vectorial

Interface SampledFunction

    • Method Detail

      • size

        int size()
        Get the number of points in the sample.
        Returns:
        number of points in the sample
      • getDimension

        int getDimension()
        Get the dimension of the vectorial values of the function.
        Returns:
        dimension
      • samplePointAt

        VectorialValuedPair samplePointAt(int index)
                                   throws java.lang.ArrayIndexOutOfBoundsException,
                                          FunctionException
        Get the abscissa and value of the sample at the specified index.
        Parameters:
        index - index in the sample, should be between 0 and size() - 1
        Returns:
        abscissa and value of the sample at the specified index
        Throws:
        java.lang.ArrayIndexOutOfBoundsException - if the index is wrong
        FunctionException - if an eventual underlying function throws one

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.