Navigation
API > API/Plugins > API/Plugins/Learning > API/Plugins/Learning/TMultiArray
Description
Checks if a slice range [Index, Index+InNum) is in dimension range. Length is 0 is allowed on empty dimensions; Index must be 0 in that case.
| Name | SliceRangeCheck |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/Learning/Public/MultiArray.h |
| Include Path | #include "MultiArray.h" |
void SliceRangeCheck
(
uint8 Dimension,
int64 Index,
int64 InNum
) const
Parameters
| Name | Remarks |
|---|---|
| Dimension | Dimension of the array. |
| Index | Starting index of the slice. |
| InNum | Length of the slice. |