Skip to content

Add reshapeInput function wrapper#156

Merged
lostella merged 1 commit intoJuliaFirstOrder:masterfrom
hakkelt:add-reshape-input-function
Mar 17, 2026
Merged

Add reshapeInput function wrapper#156
lostella merged 1 commit intoJuliaFirstOrder:masterfrom
hakkelt:add-reshape-input-function

Conversation

@hakkelt
Copy link
Contributor

@hakkelt hakkelt commented Feb 2, 2026

This calculus-type function is useful when the norm is already implemented, but it requires a specifically shaped input. For example, I work with 4D image arrays (3D medical images that change over time in the fourth dimension), and if I want to apply the proximal operator of the nuclear norm, I need to reshape them into a matrix before the operation.

@hakkelt hakkelt force-pushed the add-reshape-input-function branch from 3a52102 to c380b31 Compare February 3, 2026 19:15
@hakkelt hakkelt marked this pull request as ready for review February 3, 2026 19:40
@hakkelt
Copy link
Contributor Author

hakkelt commented Mar 16, 2026

Hi @lostella, could you look at this PR?

@lostella
Copy link
Member

@hakkelt thanks for the reminder! The wrapper looks quite generally useful and simple. Tests look good!

@lostella
Copy link
Member

If there are no additional changes you would like to add, I would merge this

@hakkelt
Copy link
Contributor Author

hakkelt commented Mar 17, 2026

Thanks, I don't want to add anything else.

@lostella lostella merged commit 287e9b4 into JuliaFirstOrder:master Mar 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants