public final class PlusMult extends Object implements DoubleDoubleFunction
Modifier and Type | Field and Description |
---|---|
double |
multiplicator
Public read/write access to avoid frequent object construction.
|
Modifier | Constructor and Description |
---|---|
protected |
PlusMult(double multiplicator)
Insert the method's description here.
|
Modifier and Type | Method and Description |
---|---|
double |
apply(double a,
double b)
Returns the result of the function evaluation.
|
static PlusMult |
minusDiv(double constant)
a - b/constant.
|
static PlusMult |
minusMult(double constant)
a - b*constant.
|
static PlusMult |
plusDiv(double constant)
a + b/constant.
|
static PlusMult |
plusMult(double constant)
a + b*constant.
|
public double multiplicator
protected PlusMult(double multiplicator)
public final double apply(double a, double b)
apply
in interface DoubleDoubleFunction
a
- the first argument passed to the function.b
- the second argument passed to the function.public static PlusMult minusDiv(double constant)
public static PlusMult minusMult(double constant)
public static PlusMult plusDiv(double constant)
public static PlusMult plusMult(double constant)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.