C# Class toop_project.InputOutput

显示文件 Open project: ProjectSun/toop-project

Public Methods

Method Description
InputGenericN ( string fileName ) : int
InputGenericSparseMatrix ( string fileName, int _n ) : BaseMatrix
InputMatrix ( string fileName ) : BaseMatrix
InputVector ( string fileName ) : Vector
OutputGenericMatrix ( string fileName, BaseMatrix matrix ) : void
OutputVector ( string fileName, Vector vector, bool useDots ) : void

Private Methods

Method Description
InputBandMatrix ( string fileContent ) : BaseMatrix
InputDenseMatrix ( string fileContent ) : BaseMatrix
InputDiagonalMatrix ( string fileContent ) : BaseMatrix
InputSkylineMatrix ( string fileContent ) : BaseMatrix
InputSparseMatrix ( string fileContent ) : BaseMatrix
NormaliseIA ( int ia ) : void
ReadDouble ( StreamReader streamReader ) : double
ReadDouble ( StreamReader streamReader, int n ) : double[]
ReadInt ( StreamReader streamReader ) : int
ReadInt ( StreamReader streamReader, int n ) : int[]

Method Details

InputGenericN() public static method

public static InputGenericN ( string fileName ) : int
fileName string
return int

InputGenericSparseMatrix() public static method

public static InputGenericSparseMatrix ( string fileName, int _n ) : BaseMatrix
fileName string
_n int
return toop_project.src.Matrix.BaseMatrix

InputMatrix() public static method

public static InputMatrix ( string fileName ) : BaseMatrix
fileName string
return toop_project.src.Matrix.BaseMatrix

InputVector() public static method

public static InputVector ( string fileName ) : Vector
fileName string
return toop_project.src.Vector_.Vector

OutputGenericMatrix() public static method

public static OutputGenericMatrix ( string fileName, BaseMatrix matrix ) : void
fileName string
matrix toop_project.src.Matrix.BaseMatrix
return void

OutputVector() public static method

public static OutputVector ( string fileName, Vector vector, bool useDots ) : void
fileName string
vector toop_project.src.Vector_.Vector
useDots bool
return void