Every line of 'exponential operator in python' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
407 @staticmethod 408 def exponential(source): 409 """ 410 Calculates the natural exponential function of `source`. 411 412 :: 413 414 >>> source = ugentools.DC.ar(source=0.5) 415 >>> operation = Op.exponential(source) 416 >>> print(operation) 417 SynthDef ... { 418 const_0:0.5 -> 0_DC[0:source] 419 0_DC[0] -> 1_UnaryOpUGen:EXPONENTIAL[0:source] 420 } 421 422 Returns ugen graph. 423 """ 424 from supriya import synthdeftools 425 return synthdeftools.UGenMethodMixin._compute_unary_op( 426 source, 427 synthdeftools.UnaryOperator.EXPONENTIAL, 428 )