/[escript]/branches/lapack2681/escript/src/DataConstant.cpp
ViewVC logotype

Diff of /branches/lapack2681/escript/src/DataConstant.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2682 by jfenwick, Fri Sep 25 01:35:55 2009 UTC revision 2739 by jfenwick, Mon Nov 9 06:25:31 2009 UTC
# Line 239  DataConstant::eigenvalues_and_eigenvecto Line 239  DataConstant::eigenvalues_and_eigenvecto
239    DataMaths::eigenvalues_and_eigenvectors(m_data, getShape(),0,temp_ev->getVectorRW(), temp_ev->getShape(),0,temp_V->getVectorRW(), temp_V->getShape(),0,tol);    DataMaths::eigenvalues_and_eigenvectors(m_data, getShape(),0,temp_ev->getVectorRW(), temp_ev->getShape(),0,temp_V->getVectorRW(), temp_V->getShape(),0,tol);
240  }  }
241    
242    
243    
244    void
245    DataConstant::matrixInverse(DataAbstract* out) const
246    {
247      DataConstant* temp=dynamic_cast<DataConstant*>(out);
248      if (temp==0)
249      {
250        throw DataException("Error - DataConstant::matrixInverse: casting to DataConstant failed (propably a programming error).");
251      }
252      DataMaths::matrix_inverse(m_data, getShape(), 0, temp->getVectorRW(), temp->getShape(), 0, 1);
253    }
254    
255  void  void
256  DataConstant::setToZero()  DataConstant::setToZero()
257  {  {

Legend:
Removed from v.2682  
changed lines
  Added in v.2739

  ViewVC Help
Powered by ViewVC 1.1.26