Functions
include/polynomial.h File Reference
#include "math.h"
#include "complex.h"
Include dependency graph for include/polynomial.h:

Go to the source code of this file.

Functions

double cbrt (double x)
 
void setpos (int p, complex a, double *x1, double *x2, double *x3, double *x4)
 
int solve_biquadratic (double a4, double a3, double a2, double a1, double a0, double *x1, double *x2, double *x3, double *x4)
 
int solve_cubic (double a, double b, double c, double d, double *x1, double *x2, double *x3)
 
int solve_quadratic (double a, double b, double c, double *x1, double *x2)
 
double sqrt2 (double x)
 

Function Documentation

double cbrt ( double  x)

Copyright (c) 2016, Bernhardt Andre, Engelmann Stephan, Giesler Björn, Heller Florian, Jäkel Rainer, Nguyen Trung, Pardowitz Michael, Weckesser Peter, Yi Xie, Zöllner Raoul All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 22 of file include/polynomial.h.

void setpos ( int  p,
complex  a,
double *  x1,
double *  x2,
double *  x3,
double *  x4 
)

Definition at line 89 of file include/polynomial.h.

int solve_biquadratic ( double  a4,
double  a3,
double  a2,
double  a1,
double  a0,
double *  x1,
double *  x2,
double *  x3,
double *  x4 
)

Definition at line 101 of file include/polynomial.h.

int solve_cubic ( double  a,
double  b,
double  c,
double  d,
double *  x1,
double *  x2,
double *  x3 
)

Definition at line 48 of file include/polynomial.h.

int solve_quadratic ( double  a,
double  b,
double  c,
double *  x1,
double *  x2 
)

Definition at line 30 of file include/polynomial.h.

double sqrt2 ( double  x)

Definition at line 83 of file include/polynomial.h.



asr_flock_of_birds
Author(s): Bernhardt Andre, Engelmann Stephan, Giesler Björn, Heller Florian, Jäkel Rainer, Nguyen Trung, Pardowitz Michael, Weckesser Peter, Yi Xie, Zöllner Raoul
autogenerated on Mon Jun 10 2019 12:44:40