| VCF_store | VCD_store | VCE_store |
| VPF_store | VPD_store | VPE_store |
| VI_store | VBI_store | VSI_store | VLI_store | VQI_store |
| VU_store | VUB_store | VUS_store | VUL_store | VUI_store |
|
| Function | Store a vector in binary format into a stream |
|
| Syntax C/C++ | #include <VFstd.h>
VF_store( FILE *stream, fVector X, ui size ); |
| C++ VecObj | #include <OptiVec.h>
void vector<T>::store( FILE *stream ); |
| Pascal/Delphi | uses VFstd;
procedure VF_store( var Stream:FILE; X:fVector; size:UIntSize ); |
|
| Description | size elements of X are written to stream in binary format. The stream must be already open for binary write operations.
The VecObj version stores not only the vector elements, but the whole vector object by first storing size. Please note that VF_recall etc. can only read vectors stored with VF_store etc., whereas the VecObj function recall is used to retrieve vector objects stored with the VecObj function store. You can, however, employ the calling sequence
VUI_store( stream, &size, 1 );
VF_store( stream, X, size ); /* C/C++ */
or
VU_store( stream, @size, 1 );
VF_store( stream, X, size ); (* Pascal/Delphi *)
to make the stored vector X readable as a vector object later. |
|
|
|
|