You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
TMtxVecInt Class
>
TMtxVecInt Methods
>
Max Method
>
TMtxVecInt.Max Method (out int)
Dew Math for .NET
Example
TMtxVecInt.Max Method (out int)
using
Dew.Math
;
using
Dew.Math.Units
;
namespace
Dew.Examples() {
void
Example() {
TVecInt
a;
int
ind; MtxVecInt.CreateIt(
out
a);
try
{ a.SetIt(
new
int
[] {1,2,3,4)
int
max = a.Max(
out
ind);
//max=3, ind = 3
}
finally
{ MtxVecInt.FreeIt(
ref
a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home