File: rotations.h

package info (click to toggle)
adolc 2.7.2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,496 kB
  • sloc: cpp: 40,481; ansic: 19,390; sh: 4,277; makefile: 551; python: 486
file content (80 lines) | stat: -rw-r--r-- 3,598 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*----------------------------------------------------------------------------
 ADOL-C -- Automatic Differentiation by Overloading in C++
 File:     rotations.h
 Revision: $Id$
 Contents: 

   ... contains elementary rotations used by the machine tool 
       example of gearing (vfunc_pargear.C)
 
 Copyright (c) Andrea Walther, Andreas Griewank, Andreas Kowarz, 
               Hristo Mitev, Sebastian Schlenkrich, Jean Utke, Olaf Vogel 
    
 This file is part of ADOL-C. This software is provided as open source.
 Any use, reproduction, or distribution of the software constitutes 
 recipient's acceptance of the terms of the accompanying license file.
 
---------------------------------------------------------------------------*/
#ifndef _ROTATIONS_H_
#define _ROTATIONS_H_

class adouble;

/****************************************************************************/
/*                                                     ELEMENTARY ROTATIONS */

/*--------------------------------------------------------------------------*/
void D1  ( double * vec, double & alpha );
void D1  ( double * depVec, double * indepVec, double & alpha );
void D1T ( double * vec, double & alpha );
void D1T ( double * depVec, double * indepVec, double & alpha );

/*--------------------------------------------------------------------------*/
void D2  ( double * vec, double & alpha );
void D2  ( double * depVec, double * indepVec, double & alpha );
void D2T ( double * vec, double & alpha );
void D2T ( double * depVec, double * indepVec, double & alpha );

/*--------------------------------------------------------------------------*/
void D3  ( double * vec, double & alpha );
void D3  ( double * depVec, double * indepVec, double & alpha );
void D3T ( double * vec, double & alpha );
void D3T ( double * depVec, double * indepVec, double & alpha );


/****************************************************************************/
/*                                           ACTIVATED ELEMENTARY ROTATIONS */

/*--------------------------------------------------------------------------*/
void D1  ( adouble * vec, double & alpha );
void D1  ( adouble * depVec, adouble * indepVec, double & alpha );
void D1T ( adouble * vec, double & alpha );
void D1T ( adouble * depVec, adouble * indepVec, double & alpha );
void D1  ( adouble * vec, adouble & alpha );
void D1  ( adouble * depVec, adouble * indepVec, adouble & alpha );
void D1T ( adouble * vec, adouble & alpha );
void D1T ( adouble * depVec, adouble * indepVec, adouble & alpha );

/*--------------------------------------------------------------------------*/
void D2  ( adouble * vec, double & alpha );
void D2  ( adouble * depVec, adouble * indepVec, double & alpha );
void D2T ( adouble * vec, double & alpha );
void D2T ( adouble * depVec, adouble * indepVec, double & alpha );
void D2  ( adouble * vec, adouble & alpha );
void D2  ( adouble * depVec, adouble * indepVec, adouble & alpha );
void D2T ( adouble * vec, adouble & alpha );
void D2T ( adouble * depVec, adouble * indepVec, adouble & alpha );

/*--------------------------------------------------------------------------*/
void D3  ( adouble * vec, double & alpha );
void D3  ( adouble * depVec, adouble * indepVec, double & alpha );
void D3T ( adouble * vec, double & alpha );
void D3T ( adouble * depVec, adouble * indepVec, double & alpha );
void D3  ( adouble * vec, adouble & alpha );
void D3  ( adouble * depVec, adouble * indepVec, adouble & alpha );
void D3T ( adouble * vec, adouble & alpha );
void D3T ( adouble * depVec, adouble * indepVec, adouble & alpha );


#endif