||08-29-2008 05:14 AM
Question about passing a matrix into a function
I'm trying to pass a matrix into a function.
I declared a "matrix"
I then want to pass it into a function to make it into an identity matrix
void MakeEye(double ** TheMatrix, int size);
I want to do this for a matrix of any size. Unfortunately I get an error that says:
error: cannot convert 'double (*)' to 'double**' for argument '1' to 'void MakeEye(double**,int)'
Could anyone help?
|All times are GMT. The time now is 04:15 PM.
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.