Documentation of 'visad.SimpleSet' Java class
SimpleSet
visad

Class SimpleSet

    • Method Detail

      • valueToInterp

        public abstract void valueToInterp(float[][] value,
                                           int[][] indices,
                                           float[][] weights)
                                    throws VisADException
        convert an array of values to arrays of indices and weights for those indices, appropriate for interpolation; the values array is organized as float[domain_dimension][number_of_values]; indices and weights must be passed in as int[number_of_values][] and float[number_of_values][]; on return, quantity( values[.][i] ) can be estimated as the sum over j of weights[i][j] * quantity (sample at indices[i][j]); no estimate possible if indices[i] and weights[i] are null
        Specified by:
        valueToInterp in interface SimpleSetIface
        Parameters:
        value - An array of points. value[i][j] is the i-th coordinate of the j-th points.
        indices - Indices of the neighboring samples in the set. If the j-th points lies within the set, then returned element [i][j] is the index of the i-th neighboring sample in the set; otherwise, returned array [j] is null.
        weights - Weights for interpolating the neighboring samples in the set. If the j-th points lies within the set, then returned element [i][j] is the weight of the i-th neighboring sample in the set; otherwise, returned array [j] is null.
        Throws:
        VisADException - VisAD failure.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.