You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > Max Method > Vector.Max Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.Max Method ()

Maximum value.

Syntax
C#
Visual Basic
public double Max();

Returns the maximum value of all calling object elements. The result is a real value. An exception is raised is calling object Complex is true.

var a: Vector; b: double; begin a.SetIt(False,[1,2,3,4]); b := a.Max; // b = 4 end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!