KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > lsmp > djep > vectorJep > VOperatorSet


1 /* @author rich
2  * Created on 07-Mar-2004
3  *
4  * This code is covered by a Creative Commons
5  * Attribution, Non Commercial, Share Alike license
6  * <a HREF="http://creativecommons.org/licenses/by-nc-sa/1.0">License</a>
7  */

8 package org.lsmp.djep.vectorJep;
9 import org.nfunk.jep.*;
10 import org.lsmp.djep.vectorJep.function.*;
11 /**
12  * @author Rich Morris
13  * Created on 07-Mar-2004
14  */

15 public class VOperatorSet extends OperatorSet {
16
17     /**
18      *
19      */

20     public VOperatorSet() {
21         super();
22         OP_ADD.setPFMC(new MAdd());
23         OP_SUBTRACT.setPFMC(new MSubtract());
24         OP_MULTIPLY.setPFMC(new MMultiply());
25         OP_POWER.setPFMC(new MPower());
26         OP_UMINUS.setPFMC(new MUMinus());
27         OP_DOT.setPFMC(new MDot());
28         OP_CROSS.setPFMC(new ExteriorProduct());
29         OP_LIST.setPFMC(new VList());
30     }
31
32 }
33
Popular Tags