?? custom.html
字號(hào):
<HTML><HEAD><TITLE>Newmat09 - customising</TITLE></HEAD><BODY><H2>Customising</H2><A HREF="compiler.html"> next</A> - <A HREF="compiler.html"> skip</A> - <A HREF="starting.html"> up</A> - <A HREF="index.html"> start</A><P>The file include.h sets a variety of options including severalcompiler dependent options. You may need to edit include.h to get the optionsyou require.If you are usinga compiler different from one I have worked with you may have to set upa new section in include.h appropriate for your compiler.<P>Borland, Turbo, Gnu, Microsoft and Watcom are recognisedautomatically. If none of these are recognised a default set of options isused. These are fine for AT&T, HPUX and Sun C++.If you using a compiler I don't know about you may have to write a new set ofoptions.<P>There is an option in include.h for selecting whether you use compilersupported exceptions, simulated exceptions, or disable exceptions. Usethe option for compiler supported exceptions if and only if you haveset the option on your compiler to recognise exceptions. Disablingexceptions sometimes helps with compilers that are incompatible withmy exception simulation scheme.<P>If your compiler recognises bool as required by the standard activate thestatement <TT>#define bool_LIB</TT>. This will deactivate my Boolean class.<P>Activate the appropriate statement to make the element type float ordouble.<P>I suggest you leave the option TEMPS_DESTROYED_QUICKLY activated, even thoughthe Gnu compiler (<2.6) is the only one I know about that requires it(C-Set also requires it?). This storesthe <I>trees</I> describing matrix expressions on the heap rather than thestack and, surprisingly, seems to give better performance. See the discussionon <A HREF="destr.html"> destruction of temporaries</A> for more explanation.<P>Leave the option TEMPS_DESTROYED_QUICKLY_R not activated unless you are usingthe <A HREF="gcc.html">Gnu G++</A> compiler earlier than version 2.6.This option controls whether the<A HREF="memory.html">ReturnMatrix</A> construct uses the stack or the heap.The heap version is rather kludgy and probably should be avoided wherepossible.<P>The option DO_FREE_CHECK is used for tracking memory leaks and normally shouldnot be activated.<P>Activate SETUP_C_SUBSCRIPTS if you want to use traditional C style<A HREF="elements.html">element access</A>. <P><A HREF="compiler.html"> next</A> - <A HREF="compiler.html"> skip</A> - <A HREF="starting.html"> up</A> - <A HREF="index.html"> start</A><P></BODY></HTML>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -