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 2020-03-31T01:39:28Z by OpenModelicaOpenModelica 1.16.0~dev-258-g0359763 using GenerateDoc.mos