This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NB. Parpool.ijs | |
NB. =================================== | |
NB. Attempt to make a J parpool | |
NB. ---------------------------- | |
NB. Todo's: | |
NB. - Spin up tasks | |
NB. - Use net/clientserver's jsss/jssc for workers resp master | |
NB. - Figure out how to automatically find data from sentence and send to each worker if needed | |
NB. - keep old data? or discard after return? | |
NB. - exploit rank (IRS) write parfor / blockprocessing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NB. Signal Processing in J | |
NB. ======================== | |
NB. Mainly written as exercise, so no guarantees | |
NB. cocurrent <'jimproc' | |
NB. Assumptions : 1-cell = 1 sample of dimensionsionality $ samp | |
NB. set of samples in 2-cell | |
NB. Monad mean y | |
NB. Mean of data samples in y | |
mean =: +/ % # |