class_docstr: Handles the various pricing functions for asian options.
class_docstr_tok: ["Handles","the","various","pricing","functions","for","asian","options","."]
docstr: Calculates pricing integrand (eq. (23), (24) from the referenced paper).
      
docstr_tok: ["Calculates","pricing","integrand","(","eq",".","(","23",")",",","(","24",")","from","the","referenced","paper",")","."]
code: def integrand(self, x):
      """Calculates pricing integrand (eq. (23), (24) from the referenced paper)."""
      x = tf.cast(x, self.dtype)
      w = tf.zeros_like(x)
  
      term_1 = self.phi(1 + x * 1j, w) - self.strikes * self.phi(
          x * 1j, w
      )
      term_2 = tf.math.exp(-1j * x * tf.math.log(self.strikes)) / (
          x * 1j
      )
  
      return tf.math.real(term_1 * term_2)
  
file_path: tf-quant-finance/tf_quant_finance/models/heston/approximations/asian_prices.py
imports: import numpy
  import tensorflow.compat.v2
  from tf_quant_finance import types
  from tf_quant_finance import utils
  from tf_quant_finance.black_scholes import AveragingFrequency
  from tf_quant_finance.black_scholes import AveragingType
  from tf_quant_finance.math import integration
label_desc: Use image node_id 8 for calling the _AsianPricesHandler obj's underlying member method code with example usage: obj.integrand(x) and returns: tf