Closed lpatiny closed 6 months ago
We try to have too many options in this method and I think it should be split in 2 methods. The current code is pretty complex.
https://github.com/mljs/spectra-processing/blob/220f6ce69fb0caaba131d26f1899de7b14ce5ce6/src/x/xSequentialFill.ts#L23-L26
xSequentialFillFromTo(from, to, size, {ArrayConstructor})
xSequentialFillFromStep(from, step, size, {ArrayConstructor})
Both methods will return a Float64Array or the output if it has been provided.
Closed by: https://github.com/mljs/spectra-processing/commit/5cac64531ea77ee0b204c60eaca315a98e3c2c74
We try to have too many options in this method and I think it should be split in 2 methods. The current code is pretty complex.
https://github.com/mljs/spectra-processing/blob/220f6ce69fb0caaba131d26f1899de7b14ce5ce6/src/x/xSequentialFill.ts#L23-L26
xSequentialFillFromTo(from, to, size, {ArrayConstructor})
xSequentialFillFromStep(from, step, size, {ArrayConstructor})
Both methods will return a Float64Array or the output if it has been provided.