Skip to content

Instantly share code, notes, and snippets.

View czgdp1807's full-sized avatar
🏠
Working from home

ਗਗਨਦੀਪ ਸਿੰਘ (Gagandeep Singh) czgdp1807

🏠
Working from home
View GitHub Profile
@czgdp1807
czgdp1807 / CNNMatMul.py
Created October 18, 2020 21:01
Convolution as Matrix Multiplication
from __future__ import division
from sympy import *
x, y, z, t = symbols('x y z t')
k, m, n = symbols('k m n', integer=True)
f, g, h = symbols('f g h', cls=Function)
init_printing()
a, b, c, d, e, f, g, h, i, v, x, y, z = symbols('a, b, c, d, e, f, g, h, i, v, x, y, z', real=True)
M = Matrix([[a, b, c], [d, e, f], [g, h, i]])
K = Matrix([[v, x], [y, z]])
diff --git a/sympy/stats/sampling/tests/test_sample_continuous_rv.py b/sympy/stats/sampling/tests/test_sample_continuous_rv.py
index 7f13b4061e..46993145cb 100644
--- a/sympy/stats/sampling/tests/test_sample_continuous_rv.py
+++ b/sympy/stats/sampling/tests/test_sample_continuous_rv.py
@@ -1,6 +1,7 @@
+from sympy import exp, Interval, oo, Symbol
from sympy.external import import_module
from sympy.stats import Beta, Chi, Normal, Gamma, Exponential, LogNormal, Pareto, ChiSquared, Uniform, sample, \
- BetaPrime, Cauchy, GammaInverse, GaussianInverse, StudentT
+ BetaPrime, Cauchy, GammaInverse, GaussianInverse, StudentT, Weibull, density, ContinuousRV
```
-- The CXX compiler identification is GNU 7.4.0
-- The C compiler identification is GNU 7.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
@czgdp1807
czgdp1807 / GSoC_2019_Report_Gagandeep_Statistics.md
Last active December 12, 2019 08:17
GSoC 2019 Report Gagandeep : Statistics

GSoC 2019 Report Gagandeep : Enhancement of Statistics Module

This report summarizes the work done in my GSoC 2019 project, Enhancement of Statistics Module wth SymPy. My mentors were, Francesco Bonazzi and Sidhant Nagpal. A step by step development of the project is available at czgdp1807.github.io.

About Me

I am, Gagandeep Singh, a third year Bachelor of Technology student at Indian Institute of Technology, Jodhpur in the department of Computer Science and Engineering.

Project Outline