New matrix: 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:3616:36, 17 October 2025 Davrot talk contribs 5,162 bytes −15 No edit summary Tag: Visual edit
  • curprev 12:3312:33, 17 October 2025 Davrot talk contribs 5,177 bytes +5,177 Created page with "== The goal == Making a new matrix… Questions to [mailto:davrot@uni-bremen.de David Rotermund] Using '''import numpy as np''' is the standard. == Simple example – new [https://numpy.org/doc/stable/reference/generated/numpy.zeros.html np.zeros()] == Define the size of your new matrix with a tuple, e.g.<syntaxhighlight lang="python">M = numpy.zeros((DIM_0, DIM_1, DIM_2, …))​</syntaxhighlight> === 1d === <syntaxhighlight lang="python">import numpy as np M = np...." Tag: Visual edit