📄 new2_1.html
字号:
<TITLE>COG 2.1: Comparison with version 2.0</TITLE><H1>Differences between COG 2.1 and COG 2.0</H1><H2>New Management of Coordinate Transformations</H2> <P>The main difference is the new management of coordinatetransformations. They have been completely redesigned. Affinetransformations are no longer implemented as separate coordinatetransformations which may be composed with others, like in<PRE> c2 = new wzYZSwitch(c1);</PRE> <P>Instead, they are now standard methods for all coordinatetransformations:<PRE> c1->switchYZ();</PRE> <P>This is supposed to give some time economy in a typicalapplication where almost every non-linear transformation will becomposed with some affine transformations. <P>We have also made coordinate transformations a class derived fromgeneral (non-invertible) maps. Once the affine transformations havedifferent syntax for different dimension, we have made them derivedclasses of dimension-dependent classes <B>wz1Dmap, wz2Dmap,wz3Dmap</B>. Therefore, we have no longer a common base class<B>wzCoordinates</B>, which should be replaced by <B>wzMap</B><H2>Commands "run" and "use" renamed</H2> <P>It has been criticized that the names "run" and "use" for the perlcommands I have used to extract test code from documentation, link andrun it corrupts the general namespace. <P>Therefore, these commands have been renamed: <UL> <LI> <B>cog</B> extracts, links and runs the test code; <LI> <B>cogrun</B> also looks if the library is up to date, andrenames the old <B>run</B>; <LI> <B>coguse</B> extracts the code from documentation, and renamesthe old <B>use</B>; </UL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -