Replacing an inner for loop with apply along axis: 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:5416:54, 17 October 2025 Davrot talk contribs 4,260 bytes −15 No edit summary Tag: Visual edit
  • curprev 13:5013:50, 17 October 2025 Davrot talk contribs 4,275 bytes +4,275 Created page with "== The goal == Questions to [mailto:davrot@uni-bremen.de David Rotermund] '''This is an optional topic!''' == [https://numpy.org/doc/stable/reference/generated/numpy.apply_along_axis.html numpy.apply_along_axis] == <syntaxhighlight lang="python">numpy.apply_along_axis(func1d, axis, arr, *args, **kwargs)</syntaxhighlight><blockquote>Apply a function to 1-D slices along the given axis. Execute func1d(a, *args, **kwargs) where func1d operates on 1-D arrays and a is a 1-D..." Tag: Visual edit