예제 #1
0
 def power2_inverse_power2_decreasing(self, vals):
     """
     #TODO: Missing doc
     :param vals:
     :return:
     """
     return power2_inverse_power2_decreasing(
         vals, edges=[0.0, self.__dict__["max_csm"]])
예제 #2
0
    def power2_inverse_power2_decreasing(self, vals):
        """Get the evaluation of the ratio function f(x)=(x-1)^2 / x^2.

        The values (i.e. "x"), are scaled to the "max" parameter.

        :param vals: Values for which the ratio function has to be evaluated.
        :return: Result of the ratio function applied to the values.
        """
        return power2_inverse_power2_decreasing(vals, edges=[0.0, self.__dict__["max"]])
예제 #3
0
 def power2_inverse_power2_decreasing(self, vals):
     return power2_inverse_power2_decreasing(vals, edges=[0.0, self.__dict__['max_csm']])
예제 #4
0
 def power2_inverse_power2_decreasing(self, vals):
     return power2_inverse_power2_decreasing(
         vals, edges=[0.0, self.__dict__['max_csm']])