Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.ColumnStandardDeviation Method

Returns the standard deviation of the numeric values in a column.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function ColumnStandardDeviation(AColumn: Integer; AFromRow: Integer = -1; AToRow: Integer = -1): Double;
double __fastcall ColumnStandardDeviation(int AColumn, int AFromRow = 0xffffffff, int AToRow = 0xffffffff);

Remarks

The same row selection as ColumnSum applies.

Parameters

Name Description
AColumn Zero-based column index.
AFromRow First row to include, or -1 for the whole data range.
AToRow Last row to include, or -1 for the whole data range.

Returns

The square root of the sum of squared deviations from ColumnAverage divided by the counted cell count plus one.