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

trunk/esys2/escript/src/Data/Data.h revision 151 by jgs, Thu Sep 22 01:55:00 2005 UTC trunk/escript/src/Data.h revision 474 by jgs, Mon Jan 30 04:23:44 2006 UTC
# Line 18  Line 18
18  #ifndef DATA_H  #ifndef DATA_H
19  #define DATA_H  #define DATA_H
20
21  #include "escript/Data/DataAbstract.h"  #include "DataAbstract.h"
22  #include "escript/Data/DataTagged.h"  #include "DataTagged.h"
23  #include "escript/Data/DataAlgorithm.h"  #include "DataAlgorithm.h"
24  #include "escript/Data/FunctionSpace.h"  #include "FunctionSpace.h"
25  #include "escript/Data/BinaryOp.h"  #include "BinaryOp.h"
26  #include "escript/Data/UnaryOp.h"  #include "UnaryOp.h"
27  #include "escript/Data/DataException.h"  #include "DataException.h"
28
29  extern "C" {  extern "C" {
30  #include "escript/Data/DataC.h"  #include "DataC.h"
31  }  }
32
33  #include <iostream>  #include <iostream>
# Line 706  class Data { Line 706  class Data {
706
707    /**    /**
708       \brief       \brief
Return the length of each data point of this Data object.
sqrt(sum(A[i,j,k,l]^2))
*
*/
Data
length() const;

/**
\brief
709       Return the sign of each data point of this Data object.       Return the sign of each data point of this Data object.
710       -1 for negative values, zero for zero values, 1 for positive values.       -1 for negative values, zero for zero values, 1 for positive values.
711       *       *
# Line 842  class Data { Line 833  class Data {
833       *       *
834    */    */
835    Data    Data
836    log() const;    log10() const;
837
838    /**    /**
839       \brief       \brief
# Line 850  class Data { Line 841  class Data {
841       *       *
842    */    */
843    Data    Data
844    ln() const;    log() const;
845
846    /**    /**
847       \brief       \brief

Legend:
 Removed from v.151 changed lines Added in v.474