ILNumerics.Net
ToStream Method (stream, format, method)

ILNumerics.Net - numeric computing and plotting for .NET

ILNumericsILArray<(Of <(BaseT>)>)ToStream(Stream, String, ILArrayStreamSerializationFlags)
ILNumerics.Net - numeric computing for .NET
print values of this instance to stream
Declaration Syntax
C#Visual BasicVisual C++
public override void ToStream(
	Stream stream,
	string format,
	ILArrayStreamSerializationFlags method
)
Public Overrides Sub ToStream ( _
	stream As Stream, _
	format As String, _
	method As ILArrayStreamSerializationFlags _
)
public:
virtual void ToStream(
	Stream^ stream, 
	String^ format, 
	ILArrayStreamSerializationFlags method
) override
Parameters
stream (Stream)
Stream to write the values into
format (String)
Format string to be used for output. See Format(String, Object) for a specification of valid formating expressions. This flag is only used, when 'method' is set to 'Serial'
method (ILArrayStreamSerializationFlags)
a constant out of ILArrayStreamSerializationFlags. Specifies the way the values will be serialized.
Remarks

If for method 'Formated' is used, any occourences of a NewLine character(s) will be replaced from the format string before applying to the elements. This is due to prevent the format from breaking the 'page' style for the output.

If 'method' is set to 'Matlab', the array will be written as Matfile version 5.0. No compression will be used. The internal 'Name' property will be used as array name for writing. This array instance will be the only array in the mat file. If you want to write several arrays bundled into one mat file, use the MatFile class to create a collection of arrays and write the MatFile to stream than.

Assembly: ILNumerics.Net (Module: ILNumerics.Net) Version: 1.4.1.1 (0.10.2.0)