# Diff of /trunk/escript/src/DataExpanded.h

revision 480 by jgs, Wed Feb 1 05:15:12 2006 UTC revision 615 by elspeth, Wed Mar 22 02:12:00 2006 UTC
# Line 1  Line 1
1  // \$Id\$  // \$Id\$
2  /*  /*
3   ******************************************************************************   ************************************************************
4   *                                                                            *   *          Copyright 2006 by ACcESS MNRF                   *
6   *                                                                            *   *              http://www.access.edu.au                    *
7   * This software is the property of ACcESS. No part of this code              *   *       Primary Business: Queensland, Australia            *
8   * may be copied in any form or by any means without the expressed written    *   *  Licensed under the Open Software License version 3.0    *
9   * consent of ACcESS.  Copying, use or modification of this software          *   *     http://www.opensource.org/licenses/osl-3.0.php       *
10   * by any unauthorised person is illegal unless that person has a software    *   *                                                          *
11   * license agreement with ACcESS.                                             *   ************************************************************
*                                                                            *
******************************************************************************
12  */  */
13
14  #if !defined escript_DataExpanded_20040323_H  #if !defined escript_DataExpanded_20040323_H
# Line 281  class DataExpanded : public DataAbstract Line 279  class DataExpanded : public DataAbstract
279    extractData(std::ifstream& archiveFile,    extractData(std::ifstream& archiveFile,
280                const DataArrayView::ValueType::size_type noValues);                const DataArrayView::ValueType::size_type noValues);
281
282      /**
283         \brief
284         solves the eigenvalue problem this*V=ev*V for the eigenvalues ev
285
286         \param ev - Output - eigenvalues in increasing order at each data point
287
288      */
289      virtual void
290      eigenvalues(DataAbstract* ev);
291
292      /**
293         \brief
294         solves the eigenvalue problem this*V=ev*V for the eigenvalues ev and eigenvectors V
295
296         \param ev - Output - eigenvalues in increasing order at each data point
297         \param V - Output - corresponding eigenvectors. They are normalized such that their length is one
298                             and the first nonzero component is positive.
299         \param tol - Input - eigenvalue with relative distance tol are treated as equal.
300
301      */
302
303      virtual void
304      eigenvalues_and_eigenvectors(DataAbstract* ev,DataAbstract* V,const double tol=1.e-13);
305
306
307   protected:   protected:
308
309   private:   private:

Legend:
 Removed from v.480 changed lines Added in v.615