
Sun, 10/24/2004 - 13:39
Forums:
Hi All,
Is there any way to define a math_Matrix variable and then set its parameters (number of rows and columns)?
Thanks for any Helps.
Hi All,
Is there any way to define a math_Matrix variable and then set its parameters (number of rows and columns)?
Thanks for any Helps.
Sun, 10/24/2004 - 15:54
Hi Alex,
you can set the numbers in the constructor.
HTH,
Patrik
Mon, 10/25/2004 - 15:20
Hi sir,
How?
Regards
Tue, 10/26/2004 - 08:41
Hi,
from the docs:
math_Matrix A(1, 10, 1, 10);
math_Matrix B(1, 10, 1, 10, 0.0);
math_Matrix (const Standard_Integer LowerRow,
const Standard_Integer UpperRow,
const Standard_Integer LowerCol,
const Standard_Integer UpperCol);
math_Matrix (const Standard_Integer LowerRow,
const Standard_Integer UpperRow,
const Standard_Integer LowerCol,
const Standard_Integer UpperCol,
const Standard_Real InitialValue);
HTH,
Patrik
Tue, 10/26/2004 - 11:52
Hi Patrik,
You dont understand what my problem is.
I want to define math_Matrix A(a,b,c,d) then set a,b,c and d.
Regards,
Alex
Wed, 10/27/2004 - 10:57
Hi Alex,
how about that:
math_matrix result;
math_matrix tempMatrix(a,b,c,d);
result = tempMatrix;
this should give you the possibility using again the same matrix. What would you do with the matrix?
Greets,
Patrik
Sat, 10/30/2004 - 11:48
Hi Patrik,
Thank you for your response and sorry for late.
"math_matrix result;" makes the following error.
error C2512: 'math_Matrix' : no appropriate default constructor available
Error executing cl.exe.
Regards,
Alex
Tue, 11/02/2004 - 13:23
Hi,
sorry - my mistake. You have to try something different :-((
Regards,
Patrik