| The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |

Home MathPack Matrix Classes TIntMatrix, TMatrix and TMat3D Methods Clone |
|||||||
| See also: CopyFrom | |||||||
Clone |
|||||||
The method Clone resizes the matrix to the dimensions of matrix MatSource and copies the entire contents of MatSource into its own data area (self ). Please note that cloning a matrix does not work if it is a sparse matrix while the source matrix is a normal matrix, and vice versa. In this case the call to Clone is ignored. In order to change the internal matrix organization from a sparse layout to a full array and vice versa, the methods SparseToArray and ArrayToSparse have to be used.
|
|||||||