This package contains functions for the numerica smoothing of equations:

softcutsoftly cuts to upper and lower limit.softcut_lowersoftly cuts to lower limit.softcut_uppersoftly cuts to upper limit.softpowpow(x) with x close to 0.0 smoothing.softabssoftabs(x) softly approximate fabs().safetanhtanh(x) with NaN catching.safepowpow(x) with x less than 0.0 catching.softswitchswitches softly between y0 and y1 at x=y_switch with smoothing f.safereciprocalcalculates 1/x without zeros between a user defined intervall from -delta to +delta.

Name | Description |
---|---|

powerLinearized | Power function that is linearized below a user-defined threshold |

safepow | Safe pow() with x < 0.0 catching |

safereciprocal | Calculates 1/x without zeros between a user defined intervall from -delta to +delta |

safetanh | Tanh with NaN catching |

softcut | softly cuts to upper and lower limit |

softcut_lower | Softly cuts to lower limit |

softcut_upper | Softly cuts to upper limit |

softfabs | Softly approximate fabs() |

softpow | Pow() with x -> 0.0 smoothing |

softswitch | Softly switches between y0 and y1 at x=x_switch with smoothing f |

Generated at 2019-04-18T01:32:54Z by OpenModelicaOpenModelica 1.14.0~dev-5833-g646bc9b using GenerateDoc.mos