Math2mat
|
00001 /****************************************************************************** 00002 * Division 00003 ****************************************************************************** 00004 * Auteur : Trolliet Gregory 00005 * Date : 4 mars 2009 00006 * Description : Division 00007 ******************************************************************************/ 00008 00009 package m2m.backend.structure; 00010 00018 public class DotDivision extends Operation { 00019 00020 final static String OPNAME="dotdiv"; 00021 00022 public DotDivision() { 00023 super(OPNAME); 00024 this.setName(OPNAME); 00025 } 00026 00027 @Override 00028 public void copyTo(Element e,Function newFunc) { 00029 DotDivision newElement=(DotDivision)e; 00030 super.copyTo(newElement,newFunc); 00031 } 00032 00033 @Override 00034 public Element copy(Function newFunc) { 00035 DotDivision newElement=new DotDivision(); 00036 this.copyTo(newElement,newFunc); 00037 return newElement; 00038 } 00039 00040 @Override 00041 public String getOpSymbol() { 00042 return "./"; 00043 } 00044 00045 @Override 00046 public String toOctave(int level) { 00047 return super.toOctave(level, "./"); 00048 } 00049 00050 }