You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxInt Class > TMtxInt Constructor > TMtxInt.TMtxInt Constructor ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxInt.TMtxInt Constructor ()

Create a new TMtxInt object.

Syntax
C#
Visual Basic
public TMtxInt(SerializationInfo Info, StreamingContext Context); public TMtxInt();

Creates a new TMtxInt object. You should use the MtxVec.CreateIt where possible and avoid using the Create constructor, but only in cases when the object is created and destroy within the same routine.

var A: TMtxInt; begin A := TMtxInt.Create; try A.Size(20,20); finally A.Free; // takes about 500 CPU cycles end; CreateIt(A); try A.Size(20,20,false); finally FreeIt(A); // takes only about 40 CPU cycles end; end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!