 | DoubleVector(TextReader) Constructor |
Constructs a DoubleVector instance from the given text reader.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic DoubleVector(
TextReader reader
)
Public Sub New (
reader As TextReader
)
public:
DoubleVector(
TextReader^ reader
)
new :
reader : TextReader -> DoubleVector
Parameters
- reader TextReader
- A text reader containing a string representation of a vector.
Remarks
The text representation within the reader must be of the form
[ v1 v2 v3 ... ]. The data elements can be in any format that is
supported by
Double.Parse( string ).
DoubleVector v = new DoubleVector( new StringReader( "[ 45.4 3.2 -4.32 432.34 ]" ));
See Also