using `lambda` in `num_int()`
Open
pedagogy
- Dominant language
- Jupyter Notebook
- Stars
- 12
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
``` python
def x_square(x):
return x * x
num_int_0(x_square, -10, +10, 100, b_verbose=False)
```
vs
```
num_int_0(lambda x: x*x, -10, +10, 100, b_verbose=False)
```
The results would be the same.
Which code is easier to understand?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.