Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *Rem(TMtxVec *X, TMtxVec *Y) const; | The Reminder after division X/Y. |
| 2 | TMtxVec *Rem(TMtxVec *X, TMtxVec *Y, int XIndex, int YIndex, int Index, int Len) const; | Calculates reminder after division X/Y according to formula: z[i] = X[xi]-y[yi]*Trunc(X[xi]/y[yi]), where i in [Index..Index+Len], xi in [XIndex..XIndex+Len], yi in [YIndex..YIndex+Len]. |
| 3 | TMtxVec *Rem(TMtxVec *X, double Y) const; | Calculates reminder after division X/Y according to formula X[i]-y*Trunc(X[i]/y). X must be a real. The results will be saved to the calling Matrix. |
| 4 | TMtxVec *Rem(TMtxVec *X, double Y, int XIndex, int Index, int Len) const; | Calculates reminder after division X/Y according to formula: z[i] = X[xi]-y*Trunc(X[xi]/y), where i in [Index..Index+Len], xi in [XIndex..XIndex+Len]. |
Overload 1: TMtxVec *Rem(TMtxVec *X, TMtxVec *Y) const;
The Reminder after division X/Y.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | TMtxVec * |
Calculates reminder after division according to formula: X[i]-y[i]*Trunc(X[i]/y[i]). The results will be saved to the calling Matrix. X and Y must be a real and have the same length. Size and Matrix::Complex properties of the calling Matrix are set implicitly to match the X object.
Overload 2: TMtxVec *Rem(TMtxVec *X, TMtxVec *Y, int XIndex, int YIndex, int Index, int Len) const;
Calculates reminder after division X/Y according to formula: z[i] = X[xi]-y[yi]*Trunc(X[xi]/y[yi]), where i in [Index..Index+Len], xi in [XIndex..XIndex+Len], yi in [YIndex..YIndex+Len].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | TMtxVec * | |
| 3 | XIndex | int | |
| 4 | YIndex | int | |
| 5 | Index | int | |
| 6 | Len | int |
The results will be saved to the calling Matrix. X must be a real. An exception will be raised if Matrix::ConditionCheck is True and array borders are overrun.
Overload 3: TMtxVec *Rem(TMtxVec *X, double Y) const;
Calculates reminder after division X/Y according to formula X[i]-y*Trunc(X[i]/y). X must be a real. The results will be saved to the calling Matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | double |
Size and Matrix::Complex properties of the calling Matrix are set implicitly to match the X object.
Overload 4: TMtxVec *Rem(TMtxVec *X, double Y, int XIndex, int Index, int Len) const;
Calculates reminder after division X/Y according to formula: z[i] = X[xi]-y*Trunc(X[xi]/y), where i in [Index..Index+Len], xi in [XIndex..XIndex+Len].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | double | |
| 3 | XIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
X must be a real. The results will be saved to the calling Matrix. An exception will be raised if Matrix::ConditionCheck is True and array borders are overrun.