/[escript]/temp/escript/src/Data.h
ViewVC logotype

Diff of /temp/escript/src/Data.h

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

trunk/esys2/escript/src/Data/Data.h revision 149 by jgs, Thu Sep 1 03:31:39 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 206  class Data { Line 206  class Data {
206         const boost::python::tuple& shape=boost::python::make_tuple(),         const boost::python::tuple& shape=boost::python::make_tuple(),
207         const FunctionSpace& what=FunctionSpace(),         const FunctionSpace& what=FunctionSpace(),
208         bool expanded=false);         bool expanded=false);
209      /**
210         \brief
211         Destructor
212      */
213      ~Data();
214    
215    /**    /**
216       \brief       \brief
# Line 701  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 761  class Data { Line 757  class Data {
757    
758    /**    /**
759       \brief       \brief
760         Return the asin of each data point of this Data object.
761         *
762      */
763      Data
764      asin() const;
765    
766      /**
767         \brief
768         Return the acos of each data point of this Data object.
769         *
770      */
771      Data
772      acos() const;
773    
774      /**
775         \brief
776         Return the atan of each data point of this Data object.
777         *
778      */
779      Data
780      atan() const;
781    
782      /**
783         \brief
784         Return the sinh of each data point of this Data object.
785         *
786      */
787      Data
788      sinh() const;
789    
790      /**
791         \brief
792         Return the cosh of each data point of this Data object.
793         *
794      */
795      Data
796      cosh() const;
797    
798      /**
799         \brief
800         Return the tanh of each data point of this Data object.
801         *
802      */
803      Data
804      tanh() const;
805    
806      /**
807         \brief
808         Return the asinh of each data point of this Data object.
809         *
810      */
811      Data
812      asinh() const;
813    
814      /**
815         \brief
816         Return the acosh of each data point of this Data object.
817         *
818      */
819      Data
820      acosh() const;
821    
822      /**
823         \brief
824         Return the atanh of each data point of this Data object.
825         *
826      */
827      Data
828      atanh() const;
829    
830      /**
831         \brief
832       Return the log to base 10 of each data point of this Data object.       Return the log to base 10 of each data point of this Data object.
833       *       *
834    */    */
835    Data    Data
836    log() const;    log10() const;
837    
838    /**    /**
839       \brief       \brief
# Line 773  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.149  
changed lines
  Added in v.474

  ViewVC Help
Powered by ViewVC 1.1.26