コード例 #1
0
        public Matrix LoadMatrix(string filePath)
        {
            Matrix matrix = new Matrix();
            using (StreamReader streamReader = File.OpenText(filePath))
            {
                string line;
                while ((line = streamReader.ReadLine()) != null)
                {
                    matrix.LoadLine(line);
                }
            }

            return matrix;
        }