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

Maximum value.

Syntax
C#
Visual Basic
public double Max(); public void Max(out double AMax, out int AIndex);

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: Matrix; b: double; begin a.SetIt(2,2,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!