Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

tops.hh

Go to the documentation of this file.
00001 // Polynomial unary plus 
00002 void tuplus(double *c, int dc, const double *a, int ma, int na, int da);
00003 
00004 // Scalar polynomial unary plus
00005 void stuplus(double *c, int dc, const double *a, int da);
00006 
00007 // Polynomial unary minus 
00008 void tuminus(double *c, int dc, const double *a, int ma, int na, int da);
00009 
00010 // Scalar polynomial unary minus 
00011 void stuminus(double *c, int dc, const double *a, int da);
00012 
00013 // Polynomial addition when b is a scalar polynomial 
00014 void tsplus(double *c, int dc, const double *a, int ma, int na, int da, 
00015             const double *b, int db);
00016 
00017 // Polynomial addition when a and b are have the same dimension 
00018 void tplus(double *c, int dc, const double *a, int ma, int na, int da, 
00019            const double *b, int db);
00020 
00021 // Scalar polynomial addition
00022 void stplus(double *c, int dc, const double *a, int da, 
00023             const double *b, int db);
00024 
00025 // Polynomial subtraction when a is a scalar polynomial 
00026 void tsaminus(double *c, int dc, const double *a, int da, 
00027               const double *b, int mb, int nb, int db);
00028 
00029 // Polynomial subtraction when b is a scalar polynomial 
00030 void tsbminus(double *c, int dc, const double *a, int ma, int na, int da, 
00031               const double *b, int db);
00032 
00033 // Polynomial subtraction when a and b are have the same dimension 
00034 void tminus(double *c, int dc, const double *a, int ma, int na, int da, 
00035             const double *b, int db);
00036 
00037 // Scalar Ppolynomial subtraction 
00038 void stminus(double *c, int dc, const double *a, int da, 
00039              const double *b, int db);
00040 
00041 // Polynomial array mulitplication when b is a scalar polynomial
00042 void tstimes(double *c, int dc, const double *a, int ma, int na, int da, 
00043              const double *b, int db);
00044 
00045 // Polynomial array mulitplication when a and b are have the same dimension
00046 void ttimes(double *c, int dc, const double *a, int ma, int na, int da, 
00047             const double *b, int db);
00048 
00049 // Scalar polynomial multiplication  */
00050 void sttimes(double *c, int dc, const double *a, int da, 
00051              const double *b, int db);
00052 
00053 // Polynomial matrix mulitplication when a and b are have the same dimension 
00054 void tmtimes(double *c, int dc, const double *a, int ma, int na, int da, 
00055              const double *b, int nb, int db);
00056 
00057 // Polynomial matrix left-division
00058 int tmldivide(double *c, int dc, const double *a, int ma, int da, 
00059               const double *b, int nb, int db);
00060 
00061 // Polynomial matrix left-division with factorization
00062 int tmldividefac(double *c, int dc, const double *a, int ma, int da, 
00063                  const double *b, int nb, int db, double *fac, int *piv,
00064                  bool calc_fac);
00065 
00066 // Polynomial array division when a is a scalar
00067 void tsnrdivide(double *c, int dc, const double *a, int da, 
00068                 const double *b, int mb, int nb, int db);
00069 
00070 // Polynomial array division when b is a scalar
00071 void tsdrdivide(double *c, int dc, const double *a, int ma, int na, int da, 
00072                const double *b, int db);
00073 
00074 // Polynomial array division when a and b are have the same dimension 
00075 void trdivide(double *c, int dc, const double *a, int ma, int na, int da, 
00076               const double *b, int db);
00077 
00078 // Scalar polynomial division 
00079 void strdivide(double *c, int dc, const double *a, int da, 
00080                const double *b, int db);
00081 
00082 // Polynomial transpose 
00083 void ttranspose(double *c, int dc, const double *a, int ma, int na, int da);
00084 
00085 // Polynomial subsref (single index) 
00086 void tsubsrefs(double *c, int dc, const double *a, int ma, int na, int da,
00087                const double *index, int li);
00088 
00089 // Polynomial subsref (colon) 
00090 void tsubsrefsc(double *c, int dc, const double *a, int ma, int na, int da);
00091 
00092 // Polynomial subsref (double index) 
00093 void tsubsrefd(double *c, int dc, const double *a, int ma, int na, int da,
00094                const double *index, int li, const double *jndex, int lj);
00095 
00096 // Polynomial subsref (all rows, column index) 
00097 void tsubsrefd_allrows(double *c, int dc, const double *a, int ma, int na, 
00098                        int da, const double *jndex, int lj);
00099 
00100 // Polynomial subsref (all columns, row index) 
00101 void tsubsrefd_allcols(double *c, int dc, const double *a, int ma, int na, 
00102                        int da, const double *index, int li);
00103 
00104 // Polynomial subsasgn (single index) 
00105 void tsubsasgns(double *c, int dc,
00106                 const double *a, int ma, int na, int da,
00107                 const double *b, int db,
00108                 const double *index, int li);
00109 
00110 // Polynomial subsasgn (colon) 
00111 void tsubsasgnsc(double *c, int dc,
00112                  const double *a, int ma, int na, int da,
00113                  const double *b, int db);
00114                 
00115 
00116 // Polynomial subsasgn (double index) 
00117 void tsubsasgnd(double *c, int dc,
00118                 const double *a, int ma, int na, int da,
00119                 const double *b, int db,
00120                 const double *index, int li, const double *jndex, int lj);
00121 
00122 // Polynomial subsasgn (all rows, column index)
00123 void tsubsasgnd_allrows(double *c, int dc,
00124                         const double *a, int ma, int na, int da,
00125                         const double *b, int db,
00126                         const double *jndex, int lj);
00127 
00128 // Polynomial subsasgn (all columns, row index) 
00129 void tsubsasgnd_allcols(double *c, int dc,
00130                         const double *a, int ma, int na, int da,
00131                         const double *b, int db,
00132                         const double *index, int li);
00133 
00134 // Polynomial cross on 3-vectors
00135 void tcross(double *c, int dc, const double *a, int da, const double *b, 
00136             int db);
00137 
00138 // Polynomial sine-cosine
00139 void tsincos(double *s, double *c, int dc, const double *a, int ma, int na, 
00140              int da);
00141 
00142 // Scalar polynomial sine-cosine
00143 void stsincos(double *s, double *c, int dc, const double *a, int da);
00144 
00145 // Polynomial sumation
00146 void tsumall(double *c, int dc, const double *a, int ma, int na, int da);
00147 
00148 // Polynomial exponential
00149 void texp(double *c, int dc, const double *a, int ma, int na, int da);
00150 
00151 // Scalar polynomial exponential
00152 void stexp(double *c, int dc, const double *a, int da);
00153 
00154 // Polynomial natural logarithm
00155 void tlog(double *c, int dc, const double *a, int ma, int na, int da);
00156 
00157 // Scalar polynomial natural logarithm
00158 void stlog(double *c, int dc, const double *a, int da);
00159 
00160 // Array power with constant scalar exponent b
00161 void tcsepower(double *c, int dc, const double *a, int ma, int na, int da,
00162                double b);
00163 
00164 // Array power with constant exponent b
00165 void tcepower(double *c, int dc, const double *a, int ma, int na, int da,
00166               double *b);
00167 
00168 // Scalar power with constant exponent b 
00169 void stcpower(double *c, int dc, const double *a, int da, double b);
00170 
00171 // sets elements of array to zero 
00172 inline void setzero(double *c, int l) {
00173   for (int i=0; i<l; i++)
00174     *(c++) = 0;
00175 }

Generated on Wed Jun 18 09:16:21 2003 for admc++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002