Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxInt(); | Create a new TMtxInt object. |
| 2 | TMtxInt(const DewArray<unsigned char> &SrcStream); |
Overload 1: TMtxInt();
Create a new TMtxInt object.
Remarks:
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.
Examples
#include "MtxVecInt.h"
#include "Units.MtxVecInt.h"
using namespace Dew;
using namespace Dew::Math;
using namespace Dew::Math::Units::MtxVecInt;
void Example()
{
TMtxInt* A;
A = new TMtxInt();
A->Size(20, 20);
delete A; // takes about 500 CPU cycles
CreateIt(A);
A->Size(20, 20, TIntPrecision::prInt32);
FreeIt(A); // takes only about 40 CPU cycles
}
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler
Overload 2: TMtxInt(const DewArray<unsigned char> &SrcStream);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SrcStream | const DewArray<unsigned char> & |
Declared in Dew::Math::TMtxInt · Dew.Math/MtxVecInt.h · Cross-compiler