MatFormatRead.java
01 /*
02  * $Id: MatFormatRead.java,v 1.2 2008/01/12 01:54:55 koga Exp $
03  *
04  * Copyright (C) 2004 Koga Laboratory. All rights reserved.
05  *
06  */
07 package matxbook.chap14;
08 
09 import java.io.IOException;
10 
11 import org.mklab.nfc.matrix.Matrix;
12 import org.mklab.nfc.matx.MatxMatrix;
13 
14 
15 /**
16  @author koga
17  @version $Revision: 1.2 $, 2004/04/27
18  */
19 public class MatFormatRead {
20 
21   /**
22    * メインメソッド
23    
24    @param args コマンドライン引数
25    @throws IOException ファイルから読み込めない場合
26    */
27   @SuppressWarnings("nls")
28   public static void main(String[] argsthrows IOException {
29     Matrix a = MatxMatrix.readMatFormat("a.mat");
30     a.print("a");
31   }
32 }