Classes | Functions | Variables
complex.h File Reference
#include <cmath>
#include <cstdio>
Include dependency graph for include/complex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  complex

Functions

complex cadd (complex a, complex b)
complex cdiv (complex a, complex b)
complex cexp (complex a)
complex cln (complex a)
complex cmul (complex a, complex b)
complex cneg (complex a)
complex cpos (complex a)
complex cpow (complex a, int b)
void cprint (complex c)
complex csqrt (complex a)
complex csub (complex a, complex b)
bool isEqual (complex a, complex b)
bool isEqualE (complex a, complex b)
bool isReal (complex x)
complex r2c (double x)

Variables

complex czero = {0,0}
double epsilon = 0.0000001

Function Documentation

complex cadd ( complex  a,
complex  b 
)

Definition at line 38 of file include/complex.h.

complex cdiv ( complex  a,
complex  b 
)

Definition at line 80 of file include/complex.h.

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

Definition at line 99 of file include/complex.h.

complex cmul ( complex  a,
complex  b 
)

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

Definition at line 109 of file include/complex.h.

Definition at line 116 of file include/complex.h.

complex cpow ( complex  a,
int  b 
)

Definition at line 72 of file include/complex.h.

void cprint ( complex  c)

Definition at line 131 of file include/complex.h.

Definition at line 120 of file include/complex.h.

complex csub ( complex  a,
complex  b 
)

Definition at line 46 of file include/complex.h.

bool isEqual ( complex  a,
complex  b 
)

Definition at line 62 of file include/complex.h.

bool isEqualE ( complex  a,
complex  b 
)

Definition at line 67 of file include/complex.h.

bool isReal ( complex  x)

Definition at line 139 of file include/complex.h.

complex r2c ( double  x)

Definition at line 54 of file include/complex.h.


Variable Documentation

complex czero = {0,0}

Definition at line 28 of file include/complex.h.

double epsilon = 0.0000001

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 24 of file include/complex.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 Sat Jun 8 2019 19:36:22