일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- 프로그래머스
- 유체역학
- FTCS
- Python
- python3
- Compressible Flow
- 우선순위큐
- Heat Equation
- Boundary Layers
- 파이썬
- regression
- Statistics
- 힙
- Fluids
- projecteuler
- 이중우선순위큐
- Crank-Nicolson
- Finite Difference Method
- Fluid Dynamics
- 예제
- Navier-Stokes
- Turbulent
- 프로젝트오일러
- 회귀
- 통계학
- 디스크 컨트롤러
- Blasius
- heap
- programmers
- Laminar
- Today
- Total
목록Programming/python (3)
Sudal's Garage
반복자에 관한 함수들이 들어있는 모듈: itertools Source: https://docs.python.org/3.7/library/itertools.html#itertools.groupby 무한 반복자:반복자인수결과예count()start, [step]start, start+step, start+2*step, …count(10) --> 10 11 12 1314 ...cycle()pp0, p1, … plast, p0, p1, …cycle('ABCD') --> A B C DA B C D ...repeat()elem [,n]elem, elem, elem, … endlessly or up to n timesrepeat(10, 3) --> 10 10 10Iterators terminating on the s..
Calendar 모듈은 파이썬에서 달력을 볼 수 있게 해준다. Calendar(n): n년도의 달력을 반환한다. >> print(calendar.calendar(2019)) 2019 January February MarchMo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 3 4 5 6 1 2 3 1 2 3 7 8 9 10 11 12 13 4 5 6 7 8 9 10 4 5 6 7 8 9 1014 15 16 17 18 19 20 11 12 13 14 15 16 17 11 12 13 14 15 16 1721 22 23 24 25 26 27 18 19 20 21 22 23 24 18 19 20 21 22 23 2428 29 30 31 25 2..
프로젝트 오일러 문제들 중 소수, prime number, 가 등장하는 문제들이 제법 많다.검색 좀 하다가 유용한 method를 sympy 모듈에서 발견하여사용되는 method를 사용 할 때마다 여기에 적자! 출처: https://docs.sympy.org/latest/modules/ntheory.html Number Theory sympy.ntheory.generate.Sieve: An infinite list of prime numbers, implemented as a dynamically growing sieve of Eratosthenes. When a lookup is requested involving an odd number that has not been sieved, the sieve ..