Package samer.functions
Class BiLaplacian
- java.lang.Object
-
- samer.maths.Function
-
- samer.functions.BiLaplacian
-
public class BiLaplacian extends Function
Sparsified Laplacian, v1 Log prior for an laplacian distribution with an extra mass at zero, eg a mixture of a laplacian with another much narrower laplacian. The log prior is basically an abs function with with a extra-deep pit at zero. Paramters control the width and depth of the pit.
-
-
Constructor Summary
Constructors Constructor and Description BiLaplacian()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double
apply(double t)
Function
derivative()
java.lang.String
format(java.lang.String t)
double
getJump()
void
setStrength(double a)
void
setWidth(double b)
-
-
-
Method Detail
-
setWidth
public void setWidth(double b)
-
setStrength
public void setStrength(double a)
-
getJump
public double getJump()
-
derivative
public Function derivative()
- Overrides:
derivative
in classFunction
-
-