You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > MaxMin Method > Vector.MaxMin Method (out double, out int, out double, out int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.MaxMin Method (out double, out int, out double, out int)

Calculates the maximum and minimum value of all calling object elements.

Syntax
C#
Visual Basic
public void MaxMin(out double AMax, out int MaxIdx, out double AMin, out int MinIdx);

Maximum value is returned in AMax parameter, minimum value in AMin parameter. The MaxIdx parameter returns the index of maximum value. The MinIdx parameter returns the index of minimum value. An exception is raised if calling object Complex property is true.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!