HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_MatrixResultant.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: Matrix Resultant (C++)
7  *
8  * COMMENTS: Calculates resultant matrices from descriptions
9  * of the original polynomials.
10  *
11  */
12 
13 #ifndef __UT_MatrixResultant_H__
14 #define __UT_MatrixResultant_H__
15 
16 #include "UT_API.h"
17 #include "UT_Assert.h"
18 
19 #include "UT_Vector.h"
20 #include "UT_Matrix.h"
21 
23 {
24 public:
25  // Finds dixon's resultant for tensor product polynomials,
26  // resulting degree is 2*m*n.
27  // A, B, and C are matrices vdeg+1 by udeg+1, starting at 1,1
28  void DixonTP3(UT_MatrixF &coeff, const UT_MatrixF &A,
29  const UT_MatrixF &B, const UT_MatrixF &C) const;
30 
31  // Calculates Cayley's form of Bezout's resultant for two
32  // univariate polynomials.
33  // F & G are vectors from 0 to deg (inclusive).
34  void Cayley2(UT_MatrixF &coeff, const UT_Vector &F,
35  const UT_Vector &G) const;
36 };
37 
38 #endif
#define UT_API
Definition: UT_API.h:14