Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SResponsiveGridPanel
Description
Given an array of values, re-populate the array such that every contains the partial sums up to that element. i.e. Array[N] = Array.Sum(0 .. N-1)
The resulting array is 1-element longer.
| Name | ComputePartialSums |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SResponsiveGridPanel.h |
| Include Path | #include "Widgets/Layout/SResponsiveGridPanel.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Layout/SResponsiveGridPanel.cpp |
static void ComputePartialSums
(
TArray < float > & TurnMeIntoPartialSums
)