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

Maximum value.

Syntax
C#
Visual Basic
public int Max();

The maximum value of all calling object elements. The result is an integer value.

Max

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TMtxInt a; MtxVecInt.CreateIt(out a); try { a.SetIt(false, new double[] {1,2,3,4}); int b = a.Max(); // 4 } finally { MtxVecInt.FreeIt(ref a); } } }
Copyright (c) 1999-2022 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!