Skip to content

Instantly share code, notes, and snippets.

View aktech's full-sized avatar
🏠

Amit Kumar aktech

🏠
View GitHub Profile
@aktech
aktech / debug.py
Last active August 29, 2015 14:24
debug.py
from sympy import *
print atan2(0, sqrt(sqrt(-I)*(1 + I)))
# from sympy import *
# from sympy.abc import n
# f = -I*(I*(2*pi*n - pi/4) + log(sqrt(sqrt(2)*sqrt(-I)/2 + sqrt(2)*I*sqrt(-I)/2)))
@aktech
aktech / Minutes of the Meeting.md
Last active August 29, 2015 14:24
Minutes of the Meeting 1 July

Minutes of the Meeting

1st July 2015

Priorities are mentioned with --> [ ]

  • FiniteSet PR sympy/sympy#9540 (Fix test_partition.py Error) [1]
  • Fix invert_real (Abs(x) - n) [2] (1 week)
  • not_empty_in ({n} .intersection(-oo, 0)) [2] (1 week)

Brief: return invert with the information of the set in which the invert is valid:

@aktech
aktech / FiniteSet dpr.md
Created June 22, 2015 17:44
FiniteSet deprec

We are planning to deprecate the current behavior of FiniteSet , with a flag which is default set to True for the new behavior. to get the old behavior one has to set it to False. See this to know the difference between behaviors.

@aktech
aktech / NotImplementedErrors Matrices
Created June 5, 2015 08:15
NotImplementedErrors Matrices
amit@amit-UDell:~/Desktop/myrepo/sympy/sympy/matrices$ grep -r -H "NotImplementedError"
Binary file expressions/blockmatrix.pyc matches
Binary file expressions/determinant.pyc matches
expressions/tests/test_matrix_exprs.py: raises(NotImplementedError, lambda: 2/B)
expressions/matmul.py: raise NotImplementedError("Can't simplify any further")
expressions/matexpr.py: raise NotImplementedError
expressions/matexpr.py: raise NotImplementedError("Matrix Power not defined")
expressions/matexpr.py: raise NotImplementedError()
expressions/matexpr.py: raise NotImplementedError(
expressions/matpow.py: raise NotImplementedError(("(%d, %d) entry" % (int(i), int(j)))
@aktech
aktech / Solve by LambertW.md
Created March 4, 2015 19:30
Solve by LambertW

This can be solved using properties of LambertW Function.

x + exp(x**2) = 0
1 = -x*exp(-x**2)
squarring both sides
1 = (x**2)*(exp(-2*x**2))
Multiply by -2 on both sides
-2 = (-2*x**2)*(exp(-2*x**2))
Taking LambertW on both sides:
LambertW(-2) = LambertW((-2*x**2)*(exp(-2*x**2)))
@aktech
aktech / solver maxima.md
Last active August 29, 2015 14:15
solver1.pdf Maxima

Note: This file is a machine translation of solver1.pdf.

Acknowlegments: Many persons and institutions contributed considerably to the success of this work. I would like to express my thanks to:

  • Richard Petti and Jeffrey P. Golden of Macsyma, Inc. (USA) for their interest in this work, for supplying Macsyma licenses and the modifcation of the LINSOLVE function,
  • The Center for Microelectronics of the University of Kaiserslautern, in particular Dr. Peter Conradi and Uwe Wassenmüller, for the support of the project,
  • Clemens, Frank and Michael for the first-class WG life and particularly Michael for the