Definition of the functions operating on vectors of intervals.
- See Also
- interval_vector.h interval.c interval.h
Definition in file interval_vector.c.
|
void | IntervalVectFromVector (unsigned int s, double *v, Tinterval *vi) |
| Creates a vector of intervals. More...
|
|
void | IntCosVector (unsigned int s, Tinterval *vi, Tinterval *ci) |
| Interval cosine on a vector. More...
|
|
void | IntSinVector (unsigned int s, Tinterval *vi, Tinterval *si) |
| Interval sine on a vector. More...
|
|
void | IntervalVectSumVectorScale (unsigned int s, Tinterval *v1, Tinterval *w, double *v2, Tinterval *v) |
| Adds a scaled constant vector an an interval vector. More...
|
|
void | IntervalVectDotProduct (unsigned int s, Tinterval *v1, Tinterval *v2, Tinterval *dp) |
| Dot product between two interval vectors. More...
|
|
void IntervalVectFromVector |
( |
unsigned int |
s, |
|
|
double * |
v, |
|
|
Tinterval * |
vi |
|
) |
| |
Creates a vector of intervals from a contant vector.
- Parameters
-
s | Number of elements in the vector. |
v | The vector of from where to get the initial values. |
vi | The interval vector to initialize. The space for this vector must be allocated externally. |
Definition at line 13 of file interval_vector.c.
References NewInterval().
Compputes the interval cosine for all the elements of an interval vector.
- Parameters
-
s | Number of elements in the vector. |
vi | The interval vector. |
ci | The vector with the interval cosines (output, allocated externally). |
Definition at line 22 of file interval_vector.c.
References IntervalCosine().
Compputes the interval sine for all the elements of an interval vector.
- Parameters
-
s | Number of elements in the vector. |
vi | The interval vector. |
si | The vector with the interval sines (output, allocated externally). |
Definition at line 30 of file interval_vector.c.
References IntervalCosine().
Adds a scaled constant vector an an interval vector (v=v1+w*v2)
- Parameters
-
s | Number of elements in the vector. |
v1 | The interval vector to add. |
w | The interval scale factor for v2. |
v2 | The constant vector to add. |
v | The resulting vector. |
Definition at line 38 of file interval_vector.c.
References IntervalAdd(), and IntervalScale().
|
Follow us!