[SML Overview]

# Class SMLXTmpMatrix: public SMLXMatrix

    #include "smlxmatrix.h"

Class SMLXTmpMatrix is derived from SMLTMatrix. This class is used in intermediate matrix calculations.

SMLXTmpMatrix();

#### Discussion

Default SMLXTmpMatrix object constructor.

#### Parameters

No.

[top]

SMLLIBENTRY SMLXTmpMatrix& operator+(const SMLXMatrix& A);

#### Discussion

Method is an overloaded operator-function. It computes sum of two matrices.

#### Parameters

A - reference to constant object SMLXTmpMatrix which is added to this matrix.

#### Return Value

Reference to object SMLXTmpMatrix which is sum of this matrix and matrix A.

[top]

SMLLIBENTRY SMLXTmpMatrix& operator-(const SMLXMatrix& A);

#### Discussion

Method is an overloaded operator-function. It computes difference of two matrices.

#### Parameters

A - reference to matrix subtracted from this one.

#### Return Value

Reference to object SMLXTmpMatrix which is the difference of this matrix and matrix A.

[top]

SMLLIBENTRY SMLXTmpMatrix& operator*(float scale);

#### Discussion

Method is an overloaded operator-function. It defines a standard operation of multiplication of matrix by number scale.

#### Parameters

scale - multiplier.

#### Return Value

Reference to SMLXTmpMatrix object which is equal to product of matrix and number scale.

[top]