MtxVec VCL
|
Matrix class for operator overloading in D2006 and later.
Declare Matrix instead of TMtx to take advantage of operator overloading in D2006 and later. Be carefull to declare Matrix only for local variables with short lifetime. Call the Create method for Matrix, if the variable is a global variable or a variable with a longer life. It also makes sense to continue to use TMtx for global vars. If the Create method (constuctor) is not called, the Matrix record obtains TMtx object from object cache (fast create). If the Create mehod is called, the TMtx object is created (slower) for use by Matrix record. Object cache has limited size.
Calling the Create method (constructor) is not mandatory.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|