Release | Name | Date | Integral developments |
---|---|---|---|
3.2.0 | Eigenname | 2022-04-01 | Eigenvalues, eigenvectors and polynomials |
3.1.1 | Ondes bugfix 1 | 2022-01-09 | fixes for derivatives |
3.1.0 | Ondes | 2022-01-01 | Completions in analysis |
3.0.0 | Illumination | 2021-12-01 | implementation of Fraction , Gauss-features for matrices |
2.0.0 | Repensé | 2021-10-24 | independence of math module with Taylor-series, matrix features |
2.0.0-b2 | Repensé beta 2 | 2021-09-19 | not yet stable version of 2.0.0 |
1.2.0 | Amitié | 2021-09-10 | coordination of elements |
1.1.0 | First release | 2021-09-01 | Angle class in former geo |
1.0.0 | Initial avmath | 2021-09-01 | Upload to GitHub |
Not yet published
algebra
Vector
- new method
orthogonal
- transposes given vectors to orthogonal vectors of
self
- transposes given vectors to orthogonal vectors of
- new method
Matrix
- new method
qr
- executes qr decomposition
- new method
eigenvalues
- returns the eigenvalues of a matrix
- new method
eigenvector
- returns the eigenvector of a matrix and a given eigenvalue
- new method
analysis
- new class
Polynomial
- methods for the implementation of polynomials
- new class
__init__
algebra
Matrix
append
- fixed column append (#5)
- PEP8 compatible line length 79
analysis
Function
derivative
- h calculation does not fail if f(x) = 0
__init__
- added
sgn
function toscope
- removed
Fraction
scope because of errors inFunction.derivative
andintegral
sinh
andcosh
:- x values with |x| > 710 cause
ArgumentError
- x values with |x| > 710 cause
- constants got typehints
pi
e
phi
gamma
- added
analysis
Function
- The methods
num_dif
,second_num_dif
andnum_int
are abandoned forderivative
,second_derivative
andintegral
yet are still usable
- The methods
Polynom
is cancelled
__init__
Fraction
__init__
- fractions can be used for initialisation
complex
method to convert Fraction to complex
analysis
Function
- new method
newton_method_extrema
- uses newton method with differentiations for the calculation of extrema
- new method
derivative
- new method for function derivatives
- preferred over
numd_dif
- new method
second_derivative
- method for second derivative
- preferred over
second_num_dif
- new method
integral
- calculates numerical integral
- in default case uses rectangular rule
option="trapeze"
instructs to use trapeze rule- preferred over
num_int
- new method
__rtruediv__
for reversed division - new method
tangent
- constructs a tangent on a function at a given x
- returns a linear
Function
(y = a * x + b)
- new method
normal
- constructs a normal on a function at a given x
- returns a linear
Function
(y = a * x + b)
- new method
__init__
Fraction
__truediv__
- formula fixes
__add__
supports complex__sub__
supports complex
arcsin
- exception fixed for values < -1
analysis
Function
max
-method uses newton method and is much faster and more accuratenumdif
developments for accuracyreplace
-method does not crash while handling x with no parameter__mul__
can handle REAL argument__truediv__
can handle REAL argument__rtruediv__
can handle REAL argumentnewton_method
takes a1e-2
step if the derivative is 0
algebra
Structure
area
- fixes for angles > 180°
__init__
- redesigned function
avmath.pi()
to constantavmath.pi
- redesigned function
avmath.e()
to constantavmath.e
_FLOAT_EQ
- Deletion
_Point
- Deletion
DimensionError
- moved from
algebra
- moved from
- redesigned function
algebra
Angle
- Deletion
Vector
avmath.algebra.Vector.angle()
returns float- changed location of vector product from
__pow__
tocross
pow
returns vector multiplied n times by itself
Straight
- Deletion
Point
->Tuple
- renamed
Point
toTuple
- renamed
AmountOfDimensionsError
- Deletion
DimensionError
gets called instead.
MatrixMultiplicationError
- Deletion
MatrixError
gets called instead
Matrix
row
- returns
Vector
type
- returns
column
- returns
Vector
type
- returns
Structure
circ
->circumference
- renamed
circ
tocircumference
- renamed
analysis
f
->Function
- renamed
f
toFunction
- renamed
__all__
for__init__.py
,algebra.py
andanalysis.py
__init__
- imports time module
- new constant
_TAYLOR_DIFFERENCE
as minimal difference between results for taylor-loops with value1e-16
- new constant
_MAX_CALCULATION_TIME
for maximum calculation time in taylor-loops with value 5 seconds fac
- parameter
opt
for double faculty
- parameter
- new function
_check_types
- checks if all members of tuple are of specified types
- new constant
phi
- for golden ratio
- new constant
gamma
- for Euler-Mascheroni constant
- new function
sgn
- for signum function
- new function
is_prime
- checks whether integer is a prime
- new constant
two_digit_primes
- contains all two digit primes
- new function
gcd
- returns the greatest common divisor of two integers
- new function
lcm
- returns the least common multiply of two integers
- new class
Fraction
- handling of fractions, particularly in linear algebra
- see Documentation for all methods
analysis
Function
- new function
newton_method
- for Newton's method from given x_n
- new function
root
- returns all roots of the function in given domain
- new function
replace
- allows
^
as power and coefficients
- allows
- new method
second_num_dif
- numerical second differentiation
- new function
algebra
Tuple
- new method
truediv
- returns tuple divided by scalar for less float inaccuracies
- new method
no_fractions
- returns copy of
Tuple
with no fractions
- returns copy of
- new method
Vector
- new method
truediv
- see
Tuple
- see
- new method
no_fractions
- see
Tuple
- see
- new method
Matrix
- new method
truediv
- see
Tuple
- see
- new method
no_fractions
- see
Tuple
- see
- new method
ref
- returns row echelon form
- new method
rank
- returns rank of the matrix
- new method
rref
- returns reduced row echelon form of the matrix
- new method
__init__
fac
- checks if input can be interpreted as integer
ln
works properly and much faster- trigonometric functions use
while
-loops and_TAYLOR_DIFFERENCE
to calculate to the best return value possible cos
works properly with negative values
algebra
Matrix
inverse
- works more accurately due to fractions
arsinh
- works in negative domain due to correct spelling of formula
artanh
- does not allow value 1 only to crash afterwards
tanh
- surpassing a value of 20 simply returns 1 instead of calculating (and crashing)
arcsin
- new structure for formula
- does not crash at 710, but is stopped by the maximal time control
Avmath 2.0 ended the former dependency to the math module. All mathematical problems are now solved independently. There have been changes in function names and parameters because of necessary syntax changes. Also, a function implementation was made. The Taylor-functions sometimes lack of speed and accuracy.
avmath.sin()
takes only x argumentavmath.pi()
takes no argumentsavmath.e()
takes no arguments- renamed
avmath.arcsinh
toavmath.arsinh
- renamed
avmath.arccosh
toavmath.arcosh
- renamed
avmath.arctanh
toavmath.artanh
- renamed
avmath.geo
toavmath.algebra
- renamed
avmath.funtions
toavmath.analysis
- All functions use Taylor series instead of
math
-module avmath.scope
dictionary with avmath functions foreval
localsavmath._Point
prototype for points in submodulesavmath.analysis
:avmath.analysis.Point
class for point valuesavmath.f.__neg__()
for negative functionavmath.f.at()
usesavmath.scope
for localsavmath.f.set_scope()
to set scope to different dictionaryavmath.f.append_scope()
to append dictionary to scopeavmath.f.max()
to find maximum of a function in a certain spaceavmath.f.min()
to find minimum of a function in a certain spaceavmath.f.numdif()
to find numerical differentiation at an x valueavmath.f.numint()
to find numerical integral in a certain spaceavmath.Point
inherits fromavmath._Point
prototype
avmath.algebra
:avmath.algebra.Point
inherits fromavmath._Point
avmath.Matrix.__contains__()
function createdavmath.Matrix.__setitem__()
function createdavmath.Matrix.__round__()
function created
- renamed
avmath.geo
->avmath.lina
- renamed
avmath.functions
->avmath.ana
- deletion of
avmath.lina.Vector.__ne__()
avmath.lina
:avmath._FLOAT_EQ
to compare float valuesavmath.lina.Angle.__eq__()
method usesavmath._FLOAT_EQ
avmath.lina.Angle.__eq__()
method usesavmath._FLOAT_EQ
avmath.line.Vector.__eq__()
method usesavmath._FLOAT_EQ
avmath.lina.Matrix
:__init__()
size
,rows
,columns
removed__init__()
can transform Vector to Matrix__repr__()
uses brackets for better view__repr__()
better algorithm for spaces__eq__()
usesavmath._FLOAT_EQ
__pow__()
with ^-1 leads toinverse()
size()
method returns size in format[m, n]
at()
method returns element of given indexremove()
method returns a matrix with removed row or columndet()
method returns the determinant of a matrixcof()
method returns cofactor matrixadj()
method returns cofactor matrixinverse()
method returns inverted matrix
avmath.lina.SLE
system of linear equations inherited from matrix:__init__()
method creates matrix with parameters and resultssolve
method returns matrix with all unknownsx()
method returns unknown of given index
- Github-PyPi coordination
- valid metadata
- link and documentation fixes
- Angle class
- Modes DEG, RAD, GRA
- Angle.get() method
Upload to gitHub.
When the evmath project was uploaded to github, its version number was reset to 1.0.0 . Previously it was on version number 1.8.0 , but lacking a valid changelog.