~ubuntu-branches/ubuntu/karmic/psicode/karmic

« back to all changes in this revision

Viewing changes to src/bin/detci/oldcode/genci.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck, Michael Banck, Daniel Leidert
  • Date: 2009-02-23 00:12:02 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090223001202-rutldoy3dimfpesc
Tags: 3.4.0-1
* New upstream release.

[ Michael Banck ]
* debian/patches/01_DESTDIR.dpatch: Refreshed.
* debian/patches/02_FHS.dpatch: Removed, applied upstream.
* debian/patches/03_debian_docdir: Likewise.
* debian/patches/04_man.dpatch: Likewise.
* debian/patches/06_466828_fix_gcc_43_ftbfs.dpatch: Likewise.
* debian/patches/07_464867_move_executables: Fixed and refreshed.
* debian/patches/00list: Adjusted.
* debian/control: Improved description.
* debian/patches-held: Removed.
* debian/rules (install/psi3): Do not ship the ruby bindings for now.

[ Daniel Leidert ]
* debian/rules: Fix txtdir via DEB_MAKE_INSTALL_TARGET.
* debian/patches/01_DESTDIR.dpatch: Refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
** GENCI.H
 
3
** 
 
4
** Contains the function prototypes for the C routines in the GENCI
 
5
** module.
 
6
**
 
7
*/
 
8
 
 
9
#ifndef _psi_src_bin_detci_genci_h
 
10
#define _psi_src_bin_detci_genci_h
 
11
 
 
12
namespace psi { namespace detci {
 
13
 
 
14
int schmidt_addoc(double *buffer4, double *buffer5, int buf_size, 
 
15
                  int extra_buf, int num_buf, PSI_FPTR d_index, 
 
16
                  int N, int L, int b_file, int d_file);
 
17
void v_normalize(double *A, PSI_FPTR index, int buf_size, 
 
18
                 int extra_buf, int num_buf, int d_file);
 
19
double *v_schmidt(double *buffer4, double *buffer5, int buf_size, 
 
20
                  int extra_buf, int num_buf, int N, int L, int b_file);
 
21
void det2strings(BIGINT det, int *alp_code, int *alp_idx,
 
22
                 int *bet_code, int *bet_idx);
 
23
BIGINT strings2det(int alp_code, int alp_idx, int bet_code, int bet_idx);
 
24
void unit_guess(int alp_code, int alp_idx, int bet_code, int bet_idx,
 
25
                int switch_buf3, double *buffer, int buf_size,
 
26
                int num_buf, int extra_buf, PSI_FPTR b_file,
 
27
                PSI_FPTR b_writ, int M, int N);
 
28
void max_element(double *buffer, int num_elements, double *max, int *max_num);
 
29
void min_element(double *buffer, int num_elements, double *min, int *min_num);
 
30
void read_c(int switch_buf3, double *buffer, int buf_size, int num_buf,
 
31
            int extra_buf, int b_file, PSI_FPTR b_writ,
 
32
            int c_file, PSI_FPTR c_index);
 
33
 
 
34
}} // namespace psi::detci
 
35
 
 
36
#endif // header guard
 
37