<-- Previous || Up || Next -->

Sum Of Squares Function
Math Statistics Class

Public Function SumOfSquares( _
    ParamArray vValues() As Variant _
    ) As Variant

Sum of squares of numeric arguments.

Examples:
    SumOfSquares(12, 34, 56) = 4436
    SumOfSquares(SampleData) = 1989646
See also:
    SumOfSquaresArray Function
    Product Function
    Sum Function
    StatVarType Property
    SUMSQ Function (Microsoft Excel)
vValues: The values whose squares are to be added together. Can be numbers, one-dimensional numeric arrays, one-dimensional Variant arrays, one-dimensional Variant arrays with embedded arrays, or any combination of these. The current setting of the StatVarType Property determines which numeric data types are recognized by this function.
Return value: Function returns the sum of the squares of the numeric values. Function returns Null if none of the arguments are numeric.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.