Islope.h File Reference
#include "interval.h"
#include <stdlib.h>
#include <iostream>
Go to the source code of this file.
|
Classes |
class | Islope |
| Class for computing intervalslopes up to order 2. More...
|
Typedefs |
typedef interval | I |
Functions |
Islope | operator+ (const Islope &a, const Islope &b) |
Islope | operator+ (const double &a, const Islope &b) |
Islope | operator+ (const Islope &a, const double &b) |
Islope | operator- (const Islope &a, const Islope &b) |
Islope | operator- (const double &a, const Islope &b) |
Islope | operator- (const Islope &a, const double &b) |
Islope | operator- (const Islope &a) |
Islope | operator* (const Islope &a, const Islope &b) |
Islope | operator* (const double &a, const Islope &b) |
Islope | operator* (const Islope &a, const double &b) |
Islope | operator/ (const Islope &a, const Islope &b) |
Islope | operator/ (const double &a, const Islope &b) |
Islope | operator/ (const Islope &a, const double &b) |
std::ostream & | operator<< (std::ostream &s, const Islope &a) |
Islope | exp (const Islope &a) |
Islope | sin (const Islope &a) |
Islope | cos (const Islope &a) |
Islope | sqrt (const Islope &a) |
Islope | power (const Islope &a, int n) |
Islope | log (const Islope &a) |
Islope | atan (const Islope &a) |
Islope | atan2 (const Islope &a, const Islope &b) |
Typedef Documentation
Function Documentation
Used to compute the slope for the function atan(x) for a given x.
Definition at line 1658 of file Islope.h.
Used to compute the slope for the function atan2(x) for a given x.
Definition at line 1747 of file Islope.h.
Used to compute the slope for the function cos(x) for a given x.
Definition at line 1090 of file Islope.h.
Used to compute the slope for the function exp(x) for a given x.
Definition at line 796 of file Islope.h.
Used to compute the slope for the function log(x) for a given x.
Definition at line 1573 of file Islope.h.
Islope operator* |
( |
const Islope & |
a, |
|
|
const double & |
b | |
|
) |
| | [inline] |
Operator *. Multiplicates slope a with double b.
Definition at line 695 of file Islope.h.
Islope operator* |
( |
const double & |
a, |
|
|
const Islope & |
b | |
|
) |
| | [inline] |
Operator *. Multiplicates double a with slope b.
Definition at line 668 of file Islope.h.
Operator *. Multiplicates slope a with slope b.
Definition at line 632 of file Islope.h.
Islope operator+ |
( |
const Islope & |
a, |
|
|
const double & |
b | |
|
) |
| | [inline] |
Opertor +. Adds slope a and double b.
Definition at line 488 of file Islope.h.
Islope operator+ |
( |
const double & |
a, |
|
|
const Islope & |
b | |
|
) |
| | [inline] |
Opertor +. Adds slope b and double a.
Definition at line 461 of file Islope.h.
Opertor +. Adds slope a and b.
Definition at line 425 of file Islope.h.
Operator -. Changes sign of slope a.
Definition at line 605 of file Islope.h.
Islope operator- |
( |
const Islope & |
a, |
|
|
const double & |
b | |
|
) |
| | [inline] |
Operator -. Subtracts double b from slope a.
Definition at line 578 of file Islope.h.
Islope operator- |
( |
const double & |
a, |
|
|
const Islope & |
b | |
|
) |
| | [inline] |
Operator -. Subtracts slope b from daouble a.
Definition at line 551 of file Islope.h.
Operator -. Subtracts slope b from slope a.
Definition at line 515 of file Islope.h.
Islope operator/ |
( |
const Islope & |
a, |
|
|
const double & |
b | |
|
) |
| | [inline] |
Operator /. Divides the slope a by double b.
Definition at line 769 of file Islope.h.
Islope operator/ |
( |
const double & |
a, |
|
|
const Islope & |
b | |
|
) |
| | [inline] |
Operator /. Divides the double a by slope b.
Definition at line 722 of file Islope.h.
Operator /. Divides the slope a by slope b.
Definition at line 737 of file Islope.h.
std::ostream & operator<< |
( |
std::ostream & |
s, |
|
|
const Islope & |
a | |
|
) |
| | [inline] |
The operator for ouput. Shows the range of the function, the functionvalue of the middle point and the slopeinterval. If the slope has order 2 the functionvalue of the first derivative of the function at the middlepoint and the slopeinterval of order 2 are also shown.
Definition at line 1761 of file Islope.h.
Used to compute the slope for the function power(x,n) for a given x.
Definition at line 1345 of file Islope.h.
Used to compute the slope for the function sin(x) for a given x.
Definition at line 877 of file Islope.h.
Used to compute the slope for the function sqrt(x) for a given x.
Definition at line 1303 of file Islope.h.