Boolean matricies and logic functions: Revision history

From Master of Neuroscience Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

17 October 2025

  • curprev 16:4116:41, 17 October 2025 Davrot talk contribs 8,619 bytes −15 No edit summary Tag: Visual edit
  • curprev 12:4512:45, 17 October 2025 Davrot talk contribs 8,634 bytes +8,634 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