RHEOS.jl icon indicating copy to clipboard operation
RHEOS.jl copied to clipboard

Introduce in-place operations for data processing

Open akabla opened this issue 3 years ago • 1 comments

For instance: stressfunction!(d,step) smooth!(d,2)

Although RheoDataTime/Freq objects are immutable, arrays can be manipulated with push!, pop! and append! and already allocated values changed.

There would be marginal differences in computational costs since array data is already managed efficiently (i.e. not deep copied). It is just about the syntax and making it consistent with a typical workflow.

akabla avatar Aug 20 '21 06:08 akabla

This has been done for data generation. Pushed to next version for in-place processing.

akabla avatar Jan 05 '23 11:01 akabla