JuliaRheology / RHEOS.jl

RHEOS - Open Source Rheology data analysis software
MIT License
39 stars 9 forks source link

Introduce in-place operations for data processing #142

Open akabla opened 3 years ago

akabla commented 3 years ago

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 commented 1 year ago

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