Main public logs
From Master of Neuroscience Wiki
Combined display of all available logs of Master of Neuroscience Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 12:45, 17 October 2025 Davrot talk contribs created page Boolean matricies and logic functions (Created page with "== The goal == Questions to [mailto:davrot@uni-bremen.de David Rotermund] == Boolean matrices == There are different ways to get a Boolean matrix. For example the result of a '''np.isfinite()''' (checks if the values in a matrix are infite values) is a Boolean matrix.<syntaxhighlight lang="python">import numpy as np a = 1.0 / np.arange(0, 6).reshape((2, 3)) print(a) print() print(np.isfinite(a))</syntaxhighlight>Output:<syntaxhighlight lang="python"> inf 1....") Tag: Visual edit