SCIRun User Mailing List

Text archives Help


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


Chronological Thread 
  • From: Michael Callahan <callahan@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:47:26 -0600

I think you just need to use new instead of scinew now.

  Michael

On Wed, 2008-08-13 at 14:22 -0400, 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