|  | DoubleComplexMatrixParse(TextReader, NumberStyles) Method | 
            Returns a new DoubleMatrix instance from the given text reader.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
 Syntax
Syntaxpublic static DoubleComplexMatrix Parse(
	TextReader reader,
	NumberStyles styles
)
Public Shared Function Parse ( 
	reader As TextReader,
	styles As NumberStyles
) As DoubleComplexMatrix
public:
static DoubleComplexMatrix^ Parse(
	TextReader^ reader, 
	NumberStyles styles
)
static member Parse : 
        reader : TextReader * 
        styles : NumberStyles -> DoubleComplexMatrix Parameters
- reader  TextReader
- A reader positioned at the start of a text representation
            of a matrix.
- styles  NumberStyles
- One or more number styles.
Return Value
DoubleComplexMatrix Remarks
Remarks
            The text representation must contain the number of rows, followed by 
            an optional separator character, such as x, followed by the 
            number of columns. The matrix values, separated by white space, are 
            then read in row by row. If the sequence of numbers begins with a 
            left bracket '[', then the numbers are read until a matching 
            right bracket ']' is encountered. If no brackets are used, 
            numbers are read until the end of the stream.
            
 Example
Example
            Example text representations with a style that allows for exponential 
            format (
NumberStyles.Number | NumberStyles.AllowExponent):
            
string s = "1 x 3 [ (1.5e+002,1.444e-001) (4.429923e+005,9.93338e-010) (1.4e+000,9.0e-002) ]";
TextReader reader = new StringReader( s );
DoubleComplexMatrix M = DoubleComplexMatrix.Parse( reader, NumberStyles.Number | NumberStyles.AllowExponent );
 See Also
See Also