We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa08c64 commit 1f90b73Copy full SHA for 1f90b73
src/lib/LogVarTrick.svelte
@@ -42,7 +42,7 @@
42
<line x1={logVarVectorX + 30} y1={$node2MidY} x2={firstExpX} y2={$node2MidY} {...outConnectStroke} opacity={ho($hoveringlogVarTrick || $hoveringInput)}/>
43
44
<!-- e^{0,5*log(var)} -->
45
- <TwoFunc x={firstExpX} y={firstExpY} f={halfExp} domain={[-10, 0]} range={[-0.1, 1]} inputs={logVar} color="lightseagreen" colorTex="grey" tex={String.raw`e^{\frac{1}{2}{\color{seagreen} \log(\sigma^2)}}`} shiftTex={-25} opacity={ho($hoveringlogVarTrick || $hoveringInput)}/>
+ <TwoFunc x={firstExpX} y={firstExpY} f={halfExp} domain={[-10, Math.log(0.5)]} range={[-0.05, 0.5]} inputs={logVar} color="lightseagreen" colorTex="grey" tex={String.raw`e^{\frac{1}{2}{\color{seagreen} \log(\sigma^2)}}`} shiftTex={-25} opacity={ho($hoveringlogVarTrick || $hoveringInput)}/>
46
47
<line x1={firstExpX + expSquare} y1={$node1MidY} x2={vectorX} y2={$node1MidY} {...outConnectStroke} opacity={ho($hoveringlogVarTrick || $hoveringInput)}/>
48
<line x1={firstExpX + expSquare} y1={$node2MidY} x2={vectorX} y2={$node2MidY} {...outConnectStroke} opacity={ho($hoveringlogVarTrick || $hoveringInput)}/>
0 commit comments