Class PenaltyFunction

    • Constructor Detail

      • PenaltyFunction

        public PenaltyFunction()
    • Method Detail

      • dimensionOfRange

        public int dimensionOfRange()
        Description copied from interface: Function
        Get the dimension of the range space of the function. For example, for a Rn->Rm function, the dimension of the range is m.
        Specified by:
        dimensionOfRange in interface Function<Vector,​Double>
        Returns:
        the dimension of the range