Update to the latest version 3.2.5 for better performance
This module is a tool for basic operations of calculus on mathematical expressions of all kinds .
>>>from dscal import calculus
or
>>>import dscal
>>>expr=dscal.calculus()
This class creates an object upon which you can carry out operations.
Arguments :
style : This is the type of layout of the graphs obtained by plot() and plot3d() methods [ defaults to 'ggplot' style] .
To find the available styles ,
>>>import matplotlib.style
>>>matplotlib.style.available
limit : This is a list/tuple of length 2 , depicting the domain of graph intended [ defaults to [-10,10] ].
wrt : This refers to variable with respect to which all calculus operations are being carried out. Default value is 'x' , only other value allowed is 'y'.
colormap : This argument refers to the color mapping being used for the 3D graph to differentiate between depths of the plotted surface. To know more about colormaps follow the link here.
*The above parameters can be passed at the time of creation of the instance or at the respective method they are related to.
This method returns the derivative of the expressions of the associated instance .
Arguments :
wrt : This refers to variable with respect to which all calculus operations are being carried out. Default value is 'x' , only other value allowed is 'y'.
This method returns the integration of the expressions of the associated instance .
Arguments :
wrt : This refers to variable with respect to which all calculus operations are being carried out. Default value is 'x' , only other value allowed is 'y'.
interval : This is an optional argument . It refers to the domain of definite integral [returning the overall value] . If the argument is not passed indefinite integral is returned .
This method returns a string indicating the nature of the expressions ['increasing' , 'decreasing' or neither of these ]
This method accepts only explicit expressions [contains only variable 'x' ].
Arguments :
interval : This is an optional argument . It refers to the domain . If the argument is not passed expression is checked for real set of numbers .
This method returns the factorized form of the expression . This method accepts only explicit expressions [contains only variable 'x' ].
Arguments :
wrt : This refers to variable with respect to which all calculus operations are being carried out. Default value is 'x' , only other value allowed is 'y'.
This method plots the graph for explicit expression(s) on a 2D plane .
Arguments :
style : This is the type of layout of the graphs obtained by plot() and plot3d() methods [ defaults to 'ggplot' style] .
To find the available styles ,
>>>import matplotlib.style
>>>matplotlib.style.available
limit : This is a list/tuple of length 2 , depicting the domain of graph intended [ defaults to [-10,10] ].
This method surface plots the expression(s) in 3D . All expressions are acceptable here [explicit or implicit ]
Arguments :
style : This is the type of layout of the graphs obtained by plot() and plot3d() methods [ defaults to 'ggplot' style] .
To find the available styles ,
>>>import matplotlib.style
>>>matplotlib.style.available
limit : This is a list/tuple of length 2 , depicting the domain of graph intended [ defaults to [-10,10] ].
colormap : This argument refers to the color mapping being used for the 3D graph to differentiate between depths of the plotted surface. To know more about colormaps follow the link here.
Previous issues from 3.2.4 have been resolved.
Here comes a fresh new update to deal with some useful mathematical functions , manipulations etc. Functions defined here are :
'ceil', 'cos', 'cosec', 'cot', 'degrees', 'double_factorial', 'e [euler's constant]', 'factor', 'factorial', 'floor', 'hcf', 'lcm', 'log', 'log10', 'log2',
'pi [π]', 'prime', 'prime_factorize', 'radians', 'sec', 'sin', 'sub_factorial', 'tan', 'P [permutation]', 'C[combination]'
plot3d() function output
plot() function output