bn_poly_synthetic_div.c File Reference
#include "common.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <signal.h>
#include "bu.h"
#include "vmath.h"
#include "bn.h"
Include dependency graph for bn_poly_synthetic_div.c:

Go to the source code of this file.


void poly_init (void)
int check_results (fastf_t a[], fastf_t b[], int n)
int test_bn_poly_syn_div (void)
int main (void)


bn_poly_t input [2] = { BN_POLY_INIT_ZERO, BN_POLY_INIT_ZERO }
bn_poly_t quo [1] = { BN_POLY_INIT_ZERO }
bn_poly_t rem [1] = { BN_POLY_INIT_ZERO }

Function Documentation

void poly_init ( void  )

The known output values used for these tests were generated from GNU Octave, version 3.4.3

Definition at line 45 of file bn_poly_synthetic_div.c.

References bn_poly::cf, and bn_poly::dgr.

Referenced by main().

int check_results ( fastf_t  a[],
fastf_t  b[],
int  n 

Definition at line 73 of file bn_poly_synthetic_div.c.

Referenced by test_bn_poly_syn_div().

int test_bn_poly_syn_div ( void  )

Definition at line 88 of file bn_poly_synthetic_div.c.

References BN_POLY_INIT_ZERO, bn_poly_synthetic_division(), bn_poly::cf, check_results(), and bn_poly::dgr.

Referenced by main().

Here is the call graph for this function:

int main ( void  )

Definition at line 109 of file bn_poly_synthetic_div.c.

References bu_log(), poly_init(), and test_bn_poly_syn_div().

Here is the call graph for this function:

Variable Documentation

Definition at line 35 of file bn_poly_synthetic_div.c.

Definition at line 36 of file bn_poly_synthetic_div.c.