public abstract class ImportMatrixM extends Object
| Constructor and Description |
|---|
ImportMatrixM() |
| Modifier and Type | Method and Description |
|---|---|
static Matrix |
fromFile(File file,
Object... parameters) |
static Matrix |
fromReader(Reader reader,
Object... parameters) |
static Matrix |
fromStream(InputStream stream,
Object... parameters) |
static Matrix |
fromString(String string,
Object... parameters)
Creates a DefaultDenseStringMatrix2D from a given String.
|
public static Matrix fromString(String string, Object... parameters)
Examples: "[1 2 3; 4 5 6]" or "(test1,test2);(test3,test4)"
string - the string to parsepublic static Matrix fromFile(File file, Object... parameters) throws IOException
IOExceptionpublic static Matrix fromStream(InputStream stream, Object... parameters) throws IOException
IOExceptionpublic static Matrix fromReader(Reader reader, Object... parameters) throws IOException
IOExceptionCopyright © 2015 Universal Java Matrix Package. All rights reserved.