/[escript]/branches/doubleplusgood/paso/src/PasoUtil.h
ViewVC logotype

Diff of /branches/doubleplusgood/paso/src/PasoUtil.h

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

revision 3282 by jfenwick, Mon Oct 11 01:48:14 2010 UTC revision 3283 by gross, Mon Oct 18 22:39:28 2010 UTC
# Line 45  void ApplyGivensRotations(const dim_t n, Line 45  void ApplyGivensRotations(const dim_t n,
45  void Paso_Copy(const dim_t n, double* out, const double* in);  void Paso_Copy(const dim_t n, double* out, const double* in);
46  bool_t Paso_fileExists( const char* filename );  bool_t Paso_fileExists( const char* filename );
47  double Paso_lsup(const dim_t n, const double* x, Esys_MPIInfo* mpiinfo);  double Paso_lsup(const dim_t n, const double* x, Esys_MPIInfo* mpiinfo);
48    index_t Paso_Util_cumsum_maskedTrue(dim_t N,index_t* array, bool_t* mask);
49    index_t Paso_Util_cumsum_maskedFalse(dim_t N,index_t* array, bool_t* mask);
50    index_t Paso_Util_arg_max(dim_t n, dim_t* lambda);
51    
52  #define Paso_Scale(n, x, a) Paso_Update(n, a, x, 0, x);  #define Paso_Scale(n, x, a) Paso_Update(n, a, x, 0, x);
53  #define Paso_AXPY(n, x, a, y) Paso_Update(n, 1., x, a,  y);  #define Paso_AXPY(n, x, a, y) Paso_Update(n, 1., x, a,  y);
54  #define Paso_copyShortDouble(n, source, target)  memcpy(target,source,sizeof(double)*(size_t)n)  #define Paso_copyShortDouble(n, source, target)  memcpy(target,source,sizeof(double)*(size_t)n)

Legend:
Removed from v.3282  
changed lines
  Added in v.3283

  ViewVC Help
Powered by ViewVC 1.1.26