[geeks] [4][4] matrix

Joshua D Boyd jdboyd at cs.millersville.edu
Tue Feb 26 08:16:31 CST 2002


On Tue, Feb 26, 2002 at 03:04:12PM +0100, Bertrand_Hutin at notes.amdahl.com wrote:
> you should use classes to define both
> class float4 {
>      float tt [4] [4]
> ....
> public:
>      float4::float4 {    // constructor
> }
> float4 myFunc  ();
> PS not sure of the syntax, I have not written C++ programs for a few years.

Classes are all well and good, and eventually my results would be in classes.

But, that doesn't change the fact that I have to interact with existing C 
libraries that expect me to pass the stuff like a float[4][4].

-- 
Joshua D. Boyd



More information about the geeks mailing list