Dew MtxVec NET
TMtx.Create Method
Summary
Create a new TMtx object.

Class
TMtx

Declaration
Constructor Create;

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

Example 1

var A: TMtx; begin A := TMtx.Create; try A.Size(20,20,false); 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 2008 Dew Research
http://www.dewresearch.com