TradingView
RicardoSantos
٧ أيلول سبتمبر ٢٠٢٠ ١٠:٤٦
Function: Multi Dimension Indexer
OANDA:NAS100USD
5
US Nas 100
OANDA
الوصف
⋅
٧ أيلول سبتمبر ٢٠٢٠ ١٠:٤٦
Description:
A Function that returns the flat index of a N dimensions array.
Inputs:
_indices: Array containing dimension indices.¹
_limits: Array containing dimension size.¹
Note:
¹: _indices and _limits size must match. indices must be within dimension size.
Outputs:
_offset: the flat 1D index.
Resources:
eli.thegreenplace.net/2015/memory-layout-of-multi-dimensional-arrays
ملاحظات الأخبار
⋅
١٦ نيسان أبريل ٢٠٢١ ١٣:٢٣
added functions for 2d/3d for lightweight indexing, better examples.
ملاحظات الأخبار
⋅
١٦ نيسان أبريل ٢٠٢١ ١٣:٣٩
removed some extra redundant stuff.
Oscillators
experimental
mdim
array
function
المزيد