Julia Programming Language
How to map a function over the given axis of a multi-dimension array and return another array?
General Usage
arrays
,
splitapplycombine
,
mapslices
StevenWhitaker
July 1, 2022, 1:16pm
4
You could use
mapslices
:
result = mapslices(rotl90, images; dims = (2, 3))
5 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Function like numpy.stack
General Usage
question
2
888
May 13, 2020
Apply function array over data array
New to Julia
question
1
3321
December 3, 2017
Converting Python Numpy program to Julia
New to Julia
question
11
6216
July 6, 2017
Making mapslices drop dimensions for scalars results automatially
General Usage
question
,
mapslices
3
792
October 22, 2019
Apply reduction along specific axes
New to Julia
14
4205
May 3, 2017