| FloatVector(TextReader) Constructor |
Constructs a FloatVector instance from the given text reader.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatVector(
TextReader reader
)
Public Sub New (
reader As TextReader
)
public:
FloatVector(
TextReader^ reader
)
new :
reader : TextReader -> FloatVector
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 ).
FloatVector v = new FloatVector( new StringReader( "[ 45.4 3.2 -4.32 432.34 ]" ));
See Also