void LoadFromFile(String FileName)
Reads the header information and the values array content from the file.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | FileName | String |
Result: stored in self (calling object)
Remarks:
Reads the header information and the values array content from the file specified by FileName parameter.
- In case of '.csv' extension a comma is used as a column delimiter for matrices.
- In case of '.txt' extension a tab is used as a column delimiter for matrices.
- For all other extensions, the expected format is binary.
Examples
TMtxInt b;
MtxVec.CreateIt(out b);
try
{
b.LoadFromFile(@"c:\test.Vec"); // Read header and values for b
}
finally
{
MtxVec.FreeIt(ref b);
}