Description Usage Arguments Details
Process an lvec in chunks
1 |
x |
the |
init |
initialisation function. This function should accept an
|
update |
update function. Called for each chunk of data. Receives the current value of the state as its first argument and the next chunk of data as its second argument. Should return an updated state. This function can be called multiple times. |
final |
finaliser function. Is called after processing the complete lvec. Receives the final state as its first argument. Should return the end result. |
... |
optional arguments passed on to the supplied functions. |
For examples of its use see mean.lvec
and
sum.lvec
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.