multipoly.c File Reference

#include "common.h"
#include <stdio.h>
#include <math.h>
#include <signal.h>
#include "bu.h"
#include "vmath.h"
#include "bn.h"
Include dependency graph for multipoly.c:

Go to the source code of this file.

Defines

#define FAILSTR   "failure in multipoly.c"
#define Max(a, b)   (((a) > (b)) ? (a) : (b))
#define Min(a, b)   (((a) > (b)) ? (a) : (b))

Functions

struct bn_multipolybn_multipoly_new (int dgrs, int dgrt)
 create new multipoly of a given size with coefficients set to 0
struct bn_multipolybn_multipoly_grow (register struct bn_multipoly *P, int dgrs, int dgrt)
 grow the cf array to be at least [dgrx][dgry], sets new entries to 0
struct bn_multipolybn_multipoly_set (register struct bn_multipoly *P, int s, int t, double val)
 set a coefficient growing cf array if needed
struct bn_multipolybn_multpoly_add (register struct bn_multipoly *p1, register struct bn_multipoly *p2)
 add two polynomials
struct bn_multipolybn_multipoly_mul (register struct bn_multipoly *p1, register struct bn_multipoly *p2)
 multiply two polynomials

Detailed Description

Library for dealing with bivariate polynomials.

Definition in file multipoly.c.

Generated on Tue Dec 11 13:14:28 2012 for LIBBN by  doxygen 1.6.3