Class Index

    • Field Detail

      • i

        protected final int i
    • Constructor Detail

      • Index

        public Index​(int i)
        Constructs an Index.
        Parameters:
        i - the array index
    • Method Detail

      • calculate

        public double calculate​(double... values)
        Description copied from interface: Term
        Calculates the result of this Term.
        Specified by:
        calculate in interface Term
        Parameters:
        values - the values
        Returns:
        the result