| 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 SaveToStream |
|||||||||||
| See also: LoadFromStream, StoreOnFile, StoreSparseMat, LoadFromFile, LoadSparseMat | |||||||||||
SaveToStream |
![]() |
||||||||||
The procedure SaveToStream appends the values of the matrix elements to the stream OutStream. Version [1] works with memory streams, version [2] with file streams. In version [1] OutStream may be set to nil in which case a new memory stream is created, in version [2] the file stream has to exist before calling SaveToStream. The parameters LoR HiR LoC, and HiC define the area of the matrix to be be stored on the file. Example: The statement reslt := Mat.SaveToStream (MyStream, 2,1,5,10 ); creates the stream MyStream (if MyStream is nil) and stores all elements between columns two to five and rows one to ten in the stream.
|
|||||||||||