Package | Description |
---|---|
cern.jet.math |
Tools for basic and advanced mathematics: Arithmetics and Algebra, Polynomials and Chebyshev series, Bessel and Airy functions,
Function Objects for generic function evaluation, etc.
|
Modifier and Type | Field and Description |
---|---|
static IntIntFunction |
IntFunctions.and
Function that returns a & b.
|
static IntIntFunction |
IntFunctions.compare
Function that returns a < b ? -1 : a > b ? 1 : 0.
|
static IntIntFunction |
IntFunctions.div
Function that returns a / b.
|
static IntIntFunction |
IntFunctions.equals
Function that returns a == b ? 1 : 0.
|
static IntIntFunction |
IntFunctions.max
Function that returns Math.max(a,b).
|
static IntIntFunction |
IntFunctions.min
Function that returns Math.min(a,b).
|
static IntIntFunction |
IntFunctions.minus
Function that returns a - b.
|
static IntIntFunction |
IntFunctions.mod
Function that returns a % b.
|
static IntIntFunction |
IntFunctions.mult
Function that returns a * b.
|
static IntIntFunction |
IntFunctions.or
Function that returns a | b.
|
static IntIntFunction |
IntFunctions.plus
Function that returns a + b.
|
static IntIntFunction |
IntFunctions.pow
Function that returns (int) Math.pow(a,b).
|
static IntIntFunction |
IntFunctions.shiftLeft
Function that returns a << b.
|
static IntIntFunction |
IntFunctions.shiftRightSigned
Function that returns a >> b.
|
static IntIntFunction |
IntFunctions.shiftRightUnsigned
Function that returns a >>> b.
|
static IntIntFunction |
IntFunctions.xor
Function that returns a ^ b.
|
Modifier and Type | Method and Description |
---|---|
static IntIntFunction |
IntFunctions.chain(IntFunction g,
IntIntFunction h)
Constructs the function g( h(a,b) ).
|
static IntIntFunction |
IntFunctions.chain(IntIntFunction f,
IntFunction g,
IntFunction h)
Constructs the function f( g(a), h(b) ).
|
static IntIntFunction |
IntFunctions.swapArgs(IntIntFunction function)
Constructs a function that returns function.apply(b,a), i.e.
|
Modifier and Type | Method and Description |
---|---|
static IntFunction |
IntFunctions.bindArg1(IntIntFunction function,
int c)
Constructs a unary function from a binary function with the first operand (argument) fixed to the given constant c.
|
static IntFunction |
IntFunctions.bindArg2(IntIntFunction function,
int c)
Constructs a unary function from a binary function with the second operand (argument) fixed to the given constant c.
|
static IntIntFunction |
IntFunctions.chain(IntFunction g,
IntIntFunction h)
Constructs the function g( h(a,b) ).
|
static IntIntFunction |
IntFunctions.chain(IntIntFunction f,
IntFunction g,
IntFunction h)
Constructs the function f( g(a), h(b) ).
|
static IntIntFunction |
IntFunctions.swapArgs(IntIntFunction function)
Constructs a function that returns function.apply(b,a), i.e.
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.