类 Correlate1D


  • public class Correlate1D
    extends Object
    • 构造器详细资料

      • Correlate1D

        public Correlate1D​(org.meteoinfo.ndarray.Array weights,
                           ExtendMode mode)
        Constructor
        参数:
        weights - Weights
        mode - Extend mode
      • Correlate1D

        public Correlate1D​(org.meteoinfo.ndarray.Array weights)
        Constructor
        参数:
        weights - Weights
      • Correlate1D

        public Correlate1D()
        Constructor
    • 方法详细资料

      • getWeights

        public org.meteoinfo.ndarray.Array getWeights()
        Get weights
        返回:
        Weights
      • setWeights

        public void setWeights​(org.meteoinfo.ndarray.Array value)
        Set weights
        参数:
        value - Weights
      • getMode

        public ExtendMode getMode()
        Get extend mode
        返回:
        Extend mode
      • setMode

        public void setMode​(ExtendMode value)
        Set extend mode
        参数:
        value - Extend mode
      • getAxis

        public int getAxis()
        Get axis
        返回:
        Axis
      • setAxis

        public void setAxis​(int value)
        Set axis
        参数:
        value - Axis
      • getCValue

        public double getCValue()
        Get constant value
        返回:
        Constant value
      • setCValue

        public void setCValue​(double value)
        Set constant value
        参数:
        value - Constant value
      • correlate

        public org.meteoinfo.ndarray.Array correlate​(org.meteoinfo.ndarray.Array a)
                                              throws org.meteoinfo.ndarray.InvalidRangeException
        Calculate a 1-D correlation along the given axis. The lines of the array along the given axis are correlated with the given weights.
        参数:
        a - The input array
        返回:
        Correlation result
        抛出:
        org.meteoinfo.ndarray.InvalidRangeException