1
2
3
4
5
6
7
8
9
10 package nl.tudelft.simulation.sne.c3;
11
12 import cern.colt.matrix.linalg.EigenvalueDecomposition;
13
14 /***
15 * <p>
16 * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
17 * University of Technology </a>, the Netherlands. <br>
18 * See for project information <a
19 * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
20 * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
21 * License (GPL) </a>, no warranty <br>
22 *
23 * @author <a href="http://www.tbm.tudelft.nl/webstaf/peterja/index.htm">Peter
24 * Jacobs </a>
25 * @version 1.2 Sep 24, 2004
26 * @since 1.4
27 */
28 public class C3TaskA
29 {
30 /***
31 * executes task A as specifies in C3
32 *
33 * @param args the command line arguments
34 */
35 public static void main(final String[] args)
36 {
37 Amplifier amplifier = new Amplifier(null, 1E-15);
38
39
40 EigenvalueDecomposition eigenValues = amplifier
41 .getEigenValues(5.0 * Math.pow(10, -6));
42 System.out.println(eigenValues.toString());
43
44
45 eigenValues = amplifier.getEigenValues(0);
46 System.out.println(eigenValues.toString());
47
48 }
49 }