original_docstring: Numpy operations with no acceleration.
docstring: Numpy operations with no acceleration.
docstring_tokens: Numpy operations with no acceleration .
code: def computing_01(A, B, a, b):
      """Numpy operations with no acceleration."""
  
      # Scalar multiplication and addition of matrices.
      Y = a * A + b * B
      # Scalar multiplication and subtraction of matrices.
      Y -= a * A - b * B
      # Element-wise logarithm.
      Y += np.log(A) + np.log(B)
      # Element-wise exponential.
      Y -= np.exp(A) - np.exp(B)
      # Element-wise minimum and maximum.
      Y += (np.maximum(A, B) - np.minimum(A, B)) / 2
      # Element-wise multiplication and division.
      Y -= np.multiply(A, B) - np.divide(A, B)
  
      return Y
code_tokens: def computing_01 ( A , B , a , b ) : Y = a * A + b * B Y -= a * A - b * B Y += np . log ( A ) + np . log ( B ) Y -= np . exp ( A ) - np . exp ( B ) Y += ( np . maximum ( A , B ) - np . minimum ( A , B ) ) / 2 Y -= np . multiply ( A , B ) - np . divide ( A , B ) return Y
short_docstring: Numpy operations with no acceleration.
short_docstring_tokens: Numpy operations with no acceleration .
comment: """Numpy operations with no acceleration."""$SEP$# Scalar multiplication and addition of matrices.$SEP$# Scalar multiplication and subtraction of matrices.$SEP$# Element-wise logarithm.$SEP$# Element-wise exponential.$SEP$# Element-wise minimum and maximum.$SEP$# Element-wise multiplication and division.