Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtx *Eye(int ARows, int ACols, bool AComplex, bool aIsDouble) const; | Constructs an eye matrix. |
| 2 | TMtx *Eye(int ARows, int ACols, const TMtxFloatPrecision aFloatPrecision) const; |
Overload 1: TMtx *Eye(int ARows, int ACols, bool AComplex, bool aIsDouble) const;
Constructs an eye matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ARows | int | |
| 2 | ACols | int | |
| 3 | AComplex | bool | |
| 4 | aIsDouble | bool |
Remarks:
Construct an eye matrix. The number of rows and columns of an eye matrix is set by ARows and ACols parameters. The Matrix::Complex property of an eye matrix is set by AComplex parameter.
Examples
#include "MtxExpr.h"
using namespace Dew;
using namespace Dew::Math;
void Example()
{
Matrix A;
A.Eye(3, 3, false, true);
}
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler
Overload 2: TMtx *Eye(int ARows, int ACols, const TMtxFloatPrecision aFloatPrecision) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ARows | int | |
| 2 | ACols | int | |
| 3 | aFloatPrecision | const TMtxFloatPrecision |
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler