pfDCS::setMat() and pfSCS::pfSCS() not using const matrices

New Message Reply Date view Thread view Subject view Author view

From: Bram Stolk (bram++at++sara.nl)
Date: 07/18/2001 07:10:34


Hello,

What is the reason that it is

     void pfDCS::setMat(pfMatrix &m);

and not

     void pfDCS::setMat(const pfMatrix &m);

Also, one would expect a pfSCS::pfSCS(const pfMatrix &m);

Are the matrices modified?
If not, a const could save me a copy operation.

   Bram

-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram++at++sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

"I heard if you play the NT-4.0-CD backwards, you get a satanic message." "Thats nothing, if you play it forward, it installs NT-4.0" ------------------------------------------------------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jul 18 2001 - 07:10:43 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.