Код: Выделить всё
f(x) = 1, if x
Подробнее здесь: [url]https://stackoverflow.com/questions/79162915/how-to-write-a-function-for-numpy-array-input-whose-action-depends-on-the-input[/url]Код: Выделить всё
f(x) = 1, if x
Подробнее здесь: [url]https://stackoverflow.com/questions/79162915/how-to-write-a-function-for-numpy-array-input-whose-action-depends-on-the-input[/url]