Skip to content

mapslices, map interpret dims differently #34840

Open
@JeffreySarnoff

Description

@JeffreySarnoff

from @ssfrr on Slack: mapslices(f, x; dims=d) and map(f, eachslice(x; dims=d)) take interpret dims in perpendicular ways (mapslices expects the slice dimensions and eachslice takes the dimensions the slices are iterated over). It seems like those two things are similar enough that they should be combined. (for v2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrays[a, r, r, a, y, s]

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions