Math Operations#
- efficalc.a_brackets(*args)#
Returns angle brackets Operation instance (wraps passed argument to angle brackets)
- Parameters:
args (Variable|Expression|Operation) – 1 objects for angle brackets ( ⟨arg⟩ )
- efficalc.absolute(*args)#
Returns absolute value Operation instance
- Parameters:
args (Variable(s)|Expression(s)|Operation(s)) – 1 objects for absolute value ( |arg0| )
- efficalc.add(*args)#
Returns addition Operation instance
- Parameters:
args (Variable(s)|Expression(s)|Operation(s)) – 2 or more objects for summation ( arg0 + arg1 + … + argLast)
- efficalc.brackets(*args)#
Alias for
r_brackets()
- efficalc.c_brackets(*args)#
Returns curly brackets Operation instance (wraps passed argument to curly brackets)
- Parameters:
args (Variable|Expression|Operation) – 1 objects for curly brackets ( {arg} )
- efficalc.cos(*args)#
Returns cosinus Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for cosinus ( cos(arg) )
- efficalc.cosh(*args)#
Returns hyperbolic cosinus Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for hyperbolic cosinus ( cos(arg) )
- efficalc.div(*args)#
Returns division Operation instance (in LaTeX marked by \frac{…}{…})
- Parameters:
args (Variable(s)|Expression(s)|Operation(s)) – 2 objects for division ( arg0 / arg1)
- efficalc.div2(*args)#
Returns floor division Operation instance (in LaTeX marked by \frac{…}{…} within a floor operation)
- Parameters:
args (Variable(s)|Expression(s)|Operation(s)) – 2 objects for floor division ( arg0 // arg1)
- efficalc.exp(*args)#
Returns exp Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for exp ( exp(arg)=e^arg )
- efficalc.ln(*args)#
Returns natural logarithm Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for natural logarithm ( ln(arg) )
- efficalc.log(*args)#
Returns logarithm Operation instance
- Parameters:
args (Variable|Expression|Operation) – 2 objects for logarithm ( log_arg0(arg1) = ln(arg1)/ln(arg0) )
- efficalc.log10(*args)#
Returns decadic logarithm Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for decadic logarithm ( log_10(arg) )
- efficalc.maximum(*args)#
Returns max Operation instance
- Parameters:
args (Variable(s)|Expression(s)|Operation(s)) – 2 objects for max ( max(arg0,arg1,…,argN) )
- efficalc.minimum(*args)#
Returns min Operation instance
- Parameters:
args (Variable(s)|Expression(s)|Operation(s)) – 2 objects for min ( min(arg0,arg1,…,argN) )
- efficalc.mul(*args)#
Returns multiplication Operation instance
- Parameters:
args (Variable(s)|Expression(s)|Operation(s)) – 2 or more objects for multiplication ( arg0 * arg1 * … * argLast )
- efficalc.neg(*args)#
Returns negation Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for negation ( -arg0)
- efficalc.plus(*args)#
Alias for
sum_elements()
- efficalc.pos(*args)#
Returns the “positivition” (which does nothing actually) Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 object
- efficalc.power(*args)#
Returns power Operation instance
- Parameters:
args (Variable(s)|Expression(s)|Operation(s)) – 2 objects for power ( arg0 ^ arg1)
- efficalc.r_brackets(*args)#
Returns round brackets Operation instance (wraps passed argument to round brackets)
- Parameters:
args (Variable|Expression|Operation) – 1 objects for round brackets ( (arg) )
- efficalc.root(*args)#
Returns root Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for square root ( arg1^(1/arg0) )
- efficalc.s_brackets(*args)#
Returns square brackets Operation instance (wraps passed argument to square brackets)
- Parameters:
args (Variable|Expression|Operation) – 1 objects for square brackets ( [arg] )
- efficalc.sin(*args)#
Returns sinus Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for sinus ( sin(arg) )
- efficalc.sinh(*args)#
Returns hyperbolic sinus Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for hyperbolic sinus ( sin(arg) )
- efficalc.sqr(*args)#
Returns square Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for square ( arg ^ 2)
- efficalc.sqrt(*args)#
Returns square root Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for square root ( sqrt(arg) )
- efficalc.sub(*args)#
Returns subtraction Operation instance
- Parameters:
args (Variable(s)|Expression(s)|Operation(s)) – 2 objects for subtraction ( arg0 - arg1)
- efficalc.tan(*args)#
Returns tangent Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for tangent ( tan(arg) )
- efficalc.tanh(*args)#
Returns hyperbolic tangent Operation instance
- Parameters:
args (Variable|Expression|Operation) – 1 objects for hyperbolic tangent ( tan(arg) )