Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
oltre 9 anni fa
Risolto
Weighted average
Given two lists of numbers, determine the weighted average.
Example
[1 2 3] and [10 15 20]
should result in
33.333...
oltre 9 anni fa
Risposto Replacing NaN with nearest neighbor
A quick and dirty* way is to get the indices of the NaN values and replace them with their immediate neighbors (to the left or r...
Generic Fractal Generator
Generates a multi/monofractal point distribution from user supplied or build-in template matrix.
oltre 10 anni fa | 2 download |
3.5 / 5
Risposto Batch inside a Batch
It seems like you are not allowed to change the pool size on the cluster. You can see the effect of the number of cores by chang...