This package contains functions for commonly used mathematical operations. The functions are used in the blocks IDEAS.Utilities.Math.
Name | Description |
---|---|
average | Average of a vector |
besselJ0 | Bessel function of the first kind of order 0, J0 |
besselJ1 | Bessel function of the first kind of order 1, J1 |
besselY0 | Bessel function of the second kind of order 0, Y0 |
besselY1 | Bessel function of the second kind of order 1, Y1 |
bicubic | Bicubic function |
binomial | Returns the binomial coefficient |
biquadratic | Biquadratic function |
booleanReplicator | Replicates Boolean signals |
cubicHermiteLinearExtrapolation | Interpolate using a cubic Hermite spline with linear extrapolation |
exponentialIntegralE1 | Exponential integral, E1 |
factorial | Returns the value n! as an integer |
fallingFactorial | Returns the k-th falling factorial of n |
integerReplicator | Replicates integer signals |
inverseXRegularized | Function that approximates 1/x by a twice continuously differentiable function |
isAngle | Return true if angles are mathematically equivalent up to a certain precision |
isMonotonic | Returns true if the argument is a monotonic sequence |
polynomial | Polynomial function |
powerLinearized | Power function that is linearized below a user-defined threshold |
quadraticLinear | Function that is quadratic in first argument and linear in second argument |
quinticHermite | Quintic Hermite spline function for interpolation between two functions with a continuous second derivative |
regNonZeroPower | Power function, regularized near zero, but nonzero value for x=0 |
regStep | Approximation of a general step, such that the approximation is continuous and differentiable |
searchIndex1D | Find the index value i in a vector x for the desired abscissa a so that x[i] < a < x[i+1] |
smoothExponential | Once continuously differentiable approximation to exp(-|x|) in interval |x| < delta |
smoothHeaviside | Twice continuously differentiable approximation to the Heaviside function |
smoothLimit | Once continuously differentiable approximation to the limit function |
smoothMax | Once continuously differentiable approximation to the maximum function |
smoothMin | Once continuously differentiable approximation to the minimum function |
spliceFunction | |
splineDerivatives | Function to compute the derivatives for cubic hermite spline interpolation |
trapezoidalIntegration | Integration using the trapezoidal rule |
Examples | Collection of models that illustrate model use and test models |
BaseClasses | Package with base classes for IDEAS.Utilities.Math.Functions |