Main Page | Publications | Downloads | Configuration | Running the Code | Solver Parameters | FAQ | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# APPSPACK_CDDLIB_Interface.h File Reference

## Detailed Description

Prototype for compute_cone_generators() function.

Author:
Robert Michael Lewis, College of William & Mary, 2005

Definition in file APPSPACK_CDDLIB_Interface.h.

#include "APPSPACK_Common.h"

Include dependency graph for APPSPACK_CDDLIB_Interface.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions

int compute_cone_generators (int *num_pointy, double ***P, int *num_lineality, double ***L, int n, int num_equalities, double **Eq, int num_inequalities, double **Iq, int append)
Interface function to call CDDLIB.

## Function Documentation

 int compute_cone_generators ( int * num_pointy, double *** P, int * num_lineality, double *** L, int n, int num_equalities, double ** Eq, int num_inequalities, double ** Iq, int append )

Interface function to call CDDLIB.

Parameters:
 num_pointy (output) The number of generators for the "pointy part" of the tangent cone. P (output) On exit, *P points to a (num_pointy x n) matrix stored in double** format whose rows form a positive spanning set for the "pointy part" of the tangent cone. That is, *P[i] points to a double array of length n. If we define to be the mathematical vector stored in *P[i], then generates the pointy part of the space. num_lineality (output) The number of vectors in a basis for the lineality space of the tangent cone. L (output) On exit, *L points to a (num_lineality x n) matrix stored in double** format whose rows form a basis for th lineality space of the tangent cone. That is, *L[i] points to a double array of length n. If we define to be the mathematical vector store in *L[i], then forms a basis for the lineality space. n (input) The array length, a.k.a. the length of array Eq[i] and Iq[i], a.k.a, the number of columns in Eq and Iq. num_equalities (input) Number of rows in Eq. Eq (input) A (num_equalities x n) matrix stored in double** format whose rows span the lineality space of the normal cone. num_inequalities (input) Number of rows in Iq. Iq (input) A (num_inequalities x n) matrix stored in double** format whose rows generate the "pointy part" of the normal cone. append (input) Used as a logical operator to signal whether or not P and L are already partially formed and being appended to.
Caution: Memory for arguments P and L is allocated internally within compute_cone_generators() "c-style", and must therefore be deallocated "c-style" externally.

Author:
Robert Michael Lewis, College of William & Mary, 2005

Definition at line 53 of file APPSPACK_CDDLIB_Interface.c.

Referenced by APPSPACK::Directions::buildWithCddlib().

Generated on Fri Feb 16 10:33:35 2007 for APPSPACK 5.0.1 by 1.3.9.1 written by Dimitri van Heesch, © 1997-2002