NumPy Linspace: 이해하기 쉽게 사용 및 수정 방법
np.linspace(): numpy linspace
Creating Ranges of Numbers With Even Spacing
- Using np.linspace()
- 예시:
- Using range() and List Comprehensions
- Using np.arange()
Customizing the Output From np.linspace()
- The start, stop, and num Parameters
- The dtype Parameter for Changing Output Type
- The endpoint and retstep Parameters
- Nonscalar Values for Higher-Dimensional Arrays
- Summary of Input Parameters and Return Values
- Example: A Food Production Conveyor Belt
Representing Mathematical Functions
- Mathematical Functions With np.linspace()
- Example: Superimposing Traveling Waves
- Two-Dimensional Mathematical Functions
Creating Ranges of Numbers With Uneven Spacing
- Logarithmic Spaces
- Other Nonlinear Ranges
- Example: Simulation of an Orbiting Planet