Mercurial > hg > jslab
comparison src/samer/maths/Mat.java @ 0:bf79fb79ee13
Initial Mercurial check in.
author | samer |
---|---|
date | Tue, 17 Jan 2012 17:50:20 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:bf79fb79ee13 |
---|---|
1 /* | |
2 * Mat.java | |
3 * | |
4 * Copyright (c) 2000, Samer Abdallah, King's College London. | |
5 * All rights reserved. | |
6 * | |
7 * This software is provided AS iS and WITHOUT ANY WARRANTY; | |
8 * without even the implied warranty of MERCHANTABILITY or | |
9 * FITNESS FOR A PARTICULAR PURPOSE. | |
10 */ | |
11 | |
12 package samer.maths; | |
13 | |
14 /** | |
15 This is an interface for an element-wise addressable | |
16 matrix. Not generally used for computation, but for | |
17 user interface purposes. | |
18 */ | |
19 | |
20 public interface Mat { | |
21 | |
22 int width(); | |
23 int height(); | |
24 double get(int i, int j); | |
25 void set(int i, int j, double t); | |
26 } | |
27 |