Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1036034 // liftProbabilityOffGround - convert [0; 1] to [epsilon; 1]

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (34L/1K).

static double liftProbabilityOffGround(double p) {
  double epsilon = 0.01;
  ret 1-(1-p)*(1-epsilon);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036034
Snippet name: liftProbabilityOffGround - convert [0; 1] to [epsilon; 1]
Eternal ID of this version: #1036034/1
Text MD5: 86ba3561df9833af440a6db0f2cc98d6
Transpilation MD5: 511f8c550984998d39435283b0ec8ae6
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-02 15:12:04
Source code size: 107 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 179
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)