mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
Spa updates
This commit is contained in:
parent
3b827ddbd8
commit
b596a9f054
@ -20,6 +20,12 @@ function factory (type, config, load, typed) {
|
||||
this._heap = new type.FibonacciHeap();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value for index i.
|
||||
*
|
||||
* @param {Number} i The index
|
||||
* @param {Number | BigNumber | Complex} The value at index i
|
||||
*/
|
||||
Spa.prototype.set = function (i, v) {
|
||||
// check we have a value @ i
|
||||
if (!this._values[i]) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user