SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] Re: How to define a densematrix variable in EvaluateLinAlgGeneral?


Chronological Thread 
  • From: Jeroen Stinstra <jeroen@sci.utah.edu>
  • To: Ashu Chaturvedi <ashu@case.edu>
  • Cc: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] Re: How to define a densematrix variable in EvaluateLinAlgGeneral?
  • Date: Wed, 13 Aug 2008 13:52:44 -0600

Hi,

'scinew' has been made obsolete, if you use 'new' instead of 'scinew' it should work.

Jeroen


On Aug 13, 2008, at 12:22 PM, Ashu Chaturvedi wrote:

Hi,

I was wondering how you can define a densematrix in the 4.0 svn version of SCIRun within the EvaluateLinAlgGeneral module?

Previously, in the latest release version of SCIRun, I could do the following:
o1 = scinew DenseMatrix(1,2);
MatrixHandle myMat = scinew DenseMatrix (4,6);

However, now when it tries to execute either line it gives me the following errors:
error:'scinew' was not declared in this scope
error: expected `;' before 'DenseMatrix'

Any help would be appreciated.  Thanks,

--Ashu Chaturvedi
ashu@case.edu










Archive powered by MHonArc 2.6.16.

Top of page