Format cleanup
This commit is contained in:
parent
36835216f5
commit
e61edd0db9
13 changed files with 52 additions and 52 deletions
|
@ -1,4 +1,4 @@
|
|||
export const monotonicInterpolate = function (xs, ys) {
|
||||
export function monotonicInterpolate(xs, ys) {
|
||||
let i,
|
||||
length = xs.length;
|
||||
// Deal with length issues
|
||||
|
@ -101,4 +101,4 @@ export const monotonicInterpolate = function (xs, ys) {
|
|||
diffSq = diff * diff;
|
||||
return ys[i] + c1s[i] * diff + c2s[i] * diffSq + c3s[i] * diff * diffSq;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue