()
| 31 | } |
| 32 | |
| 33 | @Before |
| 34 | public void setUp() |
| 35 | { |
| 36 | x = new SparseVector(20); |
| 37 | x.set(3, 1.0); |
| 38 | x.set(6, 1.0); |
| 39 | x.set(7, 1.0); |
| 40 | x.set(12, 1.0); |
| 41 | x.set(15, 1.0); |
| 42 | x.set(19, 1.0); |
| 43 | |
| 44 | y = new DenseVector(x); |
| 45 | } |
| 46 | |
| 47 | @After |
| 48 | public void tearDown() |