/[escript]/trunk/ripley/src/domainhelpers.h
ViewVC logotype

Diff of /trunk/ripley/src/domainhelpers.h

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

revision 4722 by sshaw, Wed Mar 5 05:29:25 2014 UTC revision 4738 by sshaw, Wed Mar 12 01:32:36 2014 UTC
# Line 4  Line 4 
4  #include <vector>  #include <vector>
5  #include <ripley/Ripley.h>  #include <ripley/Ripley.h>
6    
7    /**
8        factorises 'product' and inserts the factors into the vector 'factors'
9        in order of smallest to largest
10    */
11  void factorise(std::vector<int>& factors, int product);  void factorise(std::vector<int>& factors, int product);
12    
13    /**
14        sets va[a] = b and vb[b] = a, used in constructing CSC and CSR matrix
15        formats simultaneously
16    */
17  void doublyLink(std::vector<ripley::IndexVector>& va,  void doublyLink(std::vector<ripley::IndexVector>& va,
18          std::vector<ripley::IndexVector>& vb, int a, int b);          std::vector<ripley::IndexVector>& vb, int a, int b);
19    
20    #ifdef USE_BOOSTIO
21    /**
22        converts the given gzip compressed char vector unto an uncompressed form
23    */
24    std::vector<char> unzip(const std::vector<char> compressed);
25    #endif
26  #endif  #endif

Legend:
Removed from v.4722  
changed lines
  Added in v.4738

  ViewVC Help
Powered by ViewVC 1.1.26