mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-05 12:00:59 +08:00
Initial commit: NOFX AI Trading System
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
This commit is contained in:
14
web/node_modules/d3-interpolate/src/numberArray.js
generated
vendored
Normal file
14
web/node_modules/d3-interpolate/src/numberArray.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default function(a, b) {
|
||||
if (!b) b = [];
|
||||
var n = a ? Math.min(b.length, a.length) : 0,
|
||||
c = b.slice(),
|
||||
i;
|
||||
return function(t) {
|
||||
for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;
|
||||
return c;
|
||||
};
|
||||
}
|
||||
|
||||
export function isNumberArray(x) {
|
||||
return ArrayBuffer.isView(x) && !(x instanceof DataView);
|
||||
}
|
||||
Reference in New Issue
Block a user