Description Usage Arguments Value Examples
A helper function which determines the optimal cost for a given subsignal
1 | optimal.cost(Q.vec, S.vec, start.index, end.index)
|
Q.vec |
The cumulative sum of squares for the full signal |
S.vec |
The cumulative sum for the full signal |
start.index |
The first index in the subsignal, inclusive |
end.index |
The last index in the subsignal, inclusive |
The optimal cost for the subsignal
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.