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

7
LINES

< > BotCompany Repo | #1033746 // scaleDoubleEdge

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

Transpiled version (5086L) is out of date.

static DoubleEdge scaleDoubleEdge(DoubleEdge e, double factor) {
  ret e == null ?: DoubleEdge(scaleDoublePt(e.a(), factor), scaleDoublePt(e.b(), factor));
}

static DoubleEdge scaleDoubleEdge(double factor, DoubleEdge e) {
  ret scaleDoubleEdge(e, factor);
}

Author comment

Began life as a copy of #1032982

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033746
Snippet name: scaleDoubleEdge
Eternal ID of this version: #1033746/2
Text MD5: e5d84bce89b4c74abea1be224b41ad37
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-01 21:09:53
Source code size: 261 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 141 / 214
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)