[SML Overview]

void Assign(SMLXMatrix& A, const SMLXMatrix& B);

#### Discussion

Method copies elements of matrix B to matrix A, calls corresponding method from SMLTMatrix class or function GenericAssign.

#### Parameters

A - matrix to be initialized.

B - matrix which is copied.

#### Return Value

No.

[top]

Function void Assign(SMLXMatrix& A, float value)

#### Discussion

void Assign(SMLXMatrix& A, float value);

Method initializes elements of matrix A by value of variable value, calls corresponding method from SMLTMatrix class or function GenericAssign from array AssignValuePool.

#### Parameters

A - matrix to be initialized.

value - variable used for initialization.

#### Return Value

No.

[top]

void __fastcall GenericAssign(SMLXMatrix& A, const SMLXMatrix& B);

#### Discussion

Method copies elements of matrix B to matrix A.

#### Parameters

A - matrix to be initialized.

B - matrix which is copied.

#### Return Value

No.

[top]

Function void GenericAssignValue(SMLXMatrix& A, float value)

#### Discussion

void __fastcall GenericAssignValue(SMLXMatrix& A, float v);

Method initializes elements of matrix A by value of variable value.

#### Parameters

A - matrix to be initialized.

value - variable used for initialization.

#### Return Value

No.

[top]

SMLXTmpMatrix& __fastcall GenericTMat(short nrow, short ncol);

#### Discussion

Method creates object of SMLXTmpMatrix class for matrix with not optimized sizes. SMLXTmpMatrix objects are placed into array pool of SMLXMatrix class. Memory for elements of the matrix is allocated dynamically.

#### Parameters

nrow - number of lines in matrix

ncol - number of columns in matrix.

#### Return Value

Returns reference to object of SMLXTmpMatrix class.

[top]