00001 /* 00002 * Copyright (c) 1998, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * Dennis Koelma (koelma@wins.uva.nl) 00007 * Edo Poll (poll@wins.uva.nl) 00008 */ 00009 00010 #ifndef HxUpoAtan_h 00011 #define HxUpoAtan_h 00012 00013 #include "HxTagList.h" 00014 #include "HxClassName.h" 00015 #include "HxCategories.h" 00016 00017 00020 template<class DstValT, class SrcValT> 00021 class HxUpoAtan 00022 { 00023 public: 00025 typedef HxTagTransInVar TransVarianceCategory; 00026 00028 HxUpoAtan(HxTagList&) 00029 {} 00030 00032 DstValT doIt(const SrcValT& x) 00033 { return x.atan(); } 00034 00036 static HxString className() 00037 { return HxString("atan"); } 00038 }; 00039 00040 #endif