Constructor and Description |
---|
Maths() |
Modifier and Type | Method and Description |
---|---|
static Dataset |
abs(Object a)
abs - absolute value of each element
|
static Dataset |
abs(Object a,
Dataset o)
abs - absolute value of each element
|
static Dataset |
add(Collection<IDataset> sets,
boolean requireClone)
Adds all sets passed in together
The first IDataset must cast to Dataset
For memory efficiency sake if add(...) is called with a set of size one,
no clone is done, the original object is returned directly.
|
static Dataset |
add(Object a,
Object b)
add operator
|
static Dataset |
add(Object a,
Object b,
Dataset o)
add operator
|
protected static void |
addBinaryOperatorName(Dataset a,
Dataset b,
Dataset dataset,
String oname) |
protected static void |
addFunctionName(Dataset a,
Dataset b,
Dataset dataset,
String fname) |
protected static void |
addFunctionName(Dataset dataset,
String fname) |
static Dataset |
angle(Object a)
Create a dataset of the arguments from a complex dataset
|
static Dataset |
angle(Object a,
boolean inDegrees)
Create a dataset of the arguments from a complex dataset
|
static Dataset |
angle(Object a,
boolean inDegrees,
Dataset o)
Create a dataset of the arguments from a complex dataset
|
static Dataset |
angle(Object a,
Dataset o)
Create a dataset of the arguments from a complex dataset
|
static Dataset |
arccos(Object a)
arccos - evaluate the inverse cosine function on each element of the dataset
|
static Dataset |
arccos(Object a,
Dataset o)
arccos - evaluate the inverse cosine function on each element of the dataset
|
static Dataset |
arccosh(Object a)
arccosh - evaluate the inverse hyperbolic cosine function on each element of the dataset
|
static Dataset |
arccosh(Object a,
Dataset o)
arccosh - evaluate the inverse hyperbolic cosine function on each element of the dataset
|
static Dataset |
arcsin(Object a)
arcsin - evaluate the inverse sine function on each element of the dataset
|
static Dataset |
arcsin(Object a,
Dataset o)
arcsin - evaluate the inverse sine function on each element of the dataset
|
static Dataset |
arcsinh(Object a)
arcsinh - evaluate the inverse hyperbolic sine function on each element of the dataset
|
static Dataset |
arcsinh(Object a,
Dataset o)
arcsinh - evaluate the inverse hyperbolic sine function on each element of the dataset
|
static Dataset |
arctan(Object a)
arctan - evaluate the inverse tangent function on each element of the dataset
|
static Dataset |
arctan(Object a,
Dataset o)
arctan - evaluate the inverse tangent function on each element of the dataset
|
static Dataset |
arctan2(Object a,
Object b) |
static Dataset |
arctan2(Object a,
Object b,
Dataset o) |
static Dataset |
arctanh(Object a)
arctanh - evaluate the inverse hyperbolic tangent function on each element of the dataset
|
static Dataset |
arctanh(Object a,
Dataset o)
arctanh - evaluate the inverse hyperbolic tangent function on each element of the dataset
|
static Dataset |
bitwiseAnd(Object a,
Object b)
bitwiseAnd operator
|
static Dataset |
bitwiseAnd(Object a,
Object b,
Dataset o)
bitwiseAnd operator
|
static Dataset |
bitwiseInvert(Object a)
bitwiseInvert -
~a , bitwise invert (or NOT) each element |
static Dataset |
bitwiseInvert(Object a,
Dataset o)
bitwiseInvert -
~a , bitwise invert (or NOT) each element |
static Dataset |
bitwiseOr(Object a,
Object b)
bitwiseOr operator
|
static Dataset |
bitwiseOr(Object a,
Object b,
Dataset o)
bitwiseOr operator
|
static Dataset |
bitwiseXor(Object a,
Object b)
bitwiseXor operator
|
static Dataset |
bitwiseXor(Object a,
Object b,
Dataset o)
bitwiseXor operator
|
static Dataset |
cbrt(Object a)
cbrt - evaluate the cube root function on each element of the dataset
|
static Dataset |
cbrt(Object a,
Dataset o)
cbrt - evaluate the cube root function on each element of the dataset
|
static Dataset |
ceil(Object a)
ceil - evaluate the ceiling function on each element of the dataset
|
static Dataset |
ceil(Object a,
Dataset o)
ceil - evaluate the ceiling function on each element of the dataset
|
static Dataset |
centralDifference(Dataset a,
int axis)
Discrete difference of dataset along axis using finite central difference
|
static Dataset |
clip(Object a,
Dataset o,
Object pa,
Object pb)
clip - clip elements to limits
|
static Dataset |
clip(Object a,
Object pa,
Object pb)
clip - clip elements to limits
|
static Dataset |
conjugate(Object a) |
static Dataset |
conjugate(Object a,
Dataset o) |
static Dataset |
cos(Object a)
cos - evaluate the cosine function on each element of the dataset
|
static Dataset |
cos(Object a,
Dataset o)
cos - evaluate the cosine function on each element of the dataset
|
static Dataset |
cosh(Object a)
cosh - evaluate the hyperbolic cosine function on each element of the dataset
|
static Dataset |
cosh(Object a,
Dataset o)
cosh - evaluate the hyperbolic cosine function on each element of the dataset
|
static Dataset |
derivative(Dataset x,
Dataset y,
int n)
Calculates the derivative of a line described by two datasets (x,y) given
a spread of n either side of the point
|
static Dataset |
difference(Dataset a,
int n,
int axis)
Discrete difference of dataset along axis using finite difference
|
static Dataset |
divide(Object a,
Object b)
divide operator
|
static Dataset |
divide(Object a,
Object b,
Dataset o)
divide operator
|
static Dataset |
divideTowardsFloor(Object a,
Object b)
divideTowardsFloor operator
|
static Dataset |
divideTowardsFloor(Object a,
Object b,
Dataset o)
divideTowardsFloor operator
|
static Dataset |
dividez(Object a,
Object b)
dividez operator
|
static Dataset |
dividez(Object a,
Object b,
Dataset o)
dividez operator
|
static Dataset |
exp(Object a)
exp - evaluate the exponential function on each element of the dataset
|
static Dataset |
exp(Object a,
Dataset o)
exp - evaluate the exponential function on each element of the dataset
|
static Dataset |
expm1(Object a)
expm1 - evaluate the exponential function - 1 on each element of the dataset
|
static Dataset |
expm1(Object a,
Dataset o)
expm1 - evaluate the exponential function - 1 on each element of the dataset
|
static Dataset |
floor(Object a)
floor - evaluate the floor function on each element of the dataset
|
static Dataset |
floor(Object a,
Dataset o)
floor - evaluate the floor function on each element of the dataset
|
static Dataset |
floorDivide(Object a,
Object b) |
static Dataset |
floorDivide(Object a,
Object b,
Dataset o) |
static Dataset |
floorRemainder(Object a,
Object b) |
static Dataset |
floorRemainder(Object a,
Object b,
Dataset o) |
static void |
getBilinear(double[] values,
CompoundDataset d,
double x0,
double x1)
Deprecated.
|
static double |
getBilinear(IDataset d,
double x0,
double x1)
Deprecated.
|
static double |
getBilinear(IDataset d,
IDataset m,
double x0,
double x1)
Deprecated.
|
static void |
getLinear(double[] values,
CompoundDataset d,
double x0)
Deprecated.
|
static double |
getLinear(IDataset d,
double x0)
Deprecated.
|
static List<Dataset> |
gradient(Dataset y,
Dataset... x)
Calculate gradient (or partial derivatives) by central difference
|
static Dataset |
hypot(Object a,
Object b) |
static Dataset |
hypot(Object a,
Object b,
Dataset o) |
static double |
interpolate(Dataset d,
Dataset m,
double... x)
Linearly interpolate a value at a point in an n-D dataset with a mask.
|
static double |
interpolate(Dataset d,
Dataset m,
double x0)
Linearly interpolate a value at a point in a 1D dataset with a mask.
|
static double |
interpolate(Dataset d,
Dataset m,
double x0,
double x1)
Linearly interpolate a value at a point in a 2D dataset with a mask.
|
static Dataset |
interpolate(Dataset x,
Dataset d,
IDataset x0,
Number left,
Number right)
Linearly interpolate values at points in a 1D dataset corresponding to
given coordinates.
|
static double |
interpolate(Dataset d,
double... x)
Linearly interpolate a value at a point in an n-D dataset.
|
static double |
interpolate(Dataset d,
double x0)
Linearly interpolate a value at a point in a 1D dataset.
|
static double |
interpolate(Dataset d,
double x0,
double x1)
Linearly interpolate a value at a point in a 2D dataset.
|
static void |
interpolate(double[] values,
CompoundDataset d,
double... x)
Linearly interpolate an array of values at a point in a compound n-D
dataset.
|
static void |
interpolate(double[] values,
CompoundDataset d,
double x0)
Linearly interpolate an array of values at a point in a compound 1D
dataset.
|
static void |
interpolate(double[] values,
CompoundDataset d,
double x0,
double x1)
Linearly interpolate an array of values at a point in a compound 2D
dataset.
|
static Dataset |
leftShift(Object a,
Object b)
leftShift operator
|
static Dataset |
leftShift(Object a,
Object b,
Dataset o)
leftShift operator
|
static Dataset |
log(Object a)
log - evaluate the logarithm function on each element of the dataset
|
static Dataset |
log(Object a,
Dataset o)
log - evaluate the logarithm function on each element of the dataset
|
static Dataset |
log10(Object a)
log10 - evaluate the logarithm function on each element of the dataset
|
static Dataset |
log10(Object a,
Dataset o)
log10 - evaluate the logarithm function on each element of the dataset
|
static Dataset |
log1p(Object a)
log1p - evaluate the logarithm function of 1 plus on each element of the dataset
|
static Dataset |
log1p(Object a,
Dataset o)
log1p - evaluate the logarithm function of 1 plus on each element of the dataset
|
static Dataset |
log2(Object a)
log2 - evaluate the logarithm function on each element of the dataset
|
static Dataset |
log2(Object a,
Dataset o)
log2 - evaluate the logarithm function on each element of the dataset
|
static Dataset |
lowerClip(Object a,
Dataset o,
Object pa)
lowerClip - clip elements to lower limit
|
static Dataset |
lowerClip(Object a,
Object pa)
lowerClip - clip elements to lower limit
|
static Dataset |
maximum(Object a,
Object b)
maximum operator
|
static Dataset |
maximum(Object a,
Object b,
Dataset o)
maximum operator
|
static Dataset |
minimum(Object a,
Object b)
minimum operator
|
static Dataset |
minimum(Object a,
Object b,
Dataset o)
minimum operator
|
static Dataset |
multiply(Collection<IDataset> sets,
boolean requireClone)
Multiplies all sets passed in together
The first IDataset must cast to Dataset
|
static Dataset |
multiply(Object a,
Object b)
multiply operator
|
static Dataset |
multiply(Object a,
Object b,
Dataset o)
multiply operator
|
static Dataset |
negative(Object a)
negative - negative value of each element
|
static Dataset |
negative(Object a,
Dataset o)
negative - negative value of each element
|
static Dataset |
phaseAsComplexNumber(Object a,
boolean keepZeros)
Create a phase only dataset.
|
static Dataset |
phaseAsComplexNumber(Object a,
Dataset o,
boolean keepZeros)
Create a phase only dataset.
|
static Dataset |
power(Object a,
Object b)
power operator
|
static Dataset |
power(Object a,
Object b,
Dataset o)
power operator
|
static Dataset |
reciprocal(Object a)
Find reciprocal from dataset
|
static Dataset |
reciprocal(Object a,
Dataset o)
Find reciprocal from dataset
|
static Dataset |
remainder(Object a,
Object b)
remainder operator
|
static Dataset |
remainder(Object a,
Object b,
Dataset o)
remainder operator
|
static Dataset |
rightShift(Object a,
Object b)
rightShift operator
|
static Dataset |
rightShift(Object a,
Object b,
Dataset o)
rightShift operator
|
static Dataset |
rint(Object a)
rint - round each element of the dataset
|
static Dataset |
rint(Object a,
Dataset o)
rint - round each element of the dataset
|
static Dataset |
signum(Object a)
signum - sign of each element
|
static Dataset |
signum(Object a,
Dataset o)
signum - sign of each element
|
static Dataset |
sin(Object a)
sin - evaluate the sine function on each element of the dataset
|
static Dataset |
sin(Object a,
Dataset o)
sin - evaluate the sine function on each element of the dataset
|
static Dataset |
sinh(Object a)
sinh - evaluate the hyperbolic sine function on each element of the dataset
|
static Dataset |
sinh(Object a,
Dataset o)
sinh - evaluate the hyperbolic sine function on each element of the dataset
|
static Dataset |
sqrt(Object a)
sqrt - evaluate the square root function on each element of the dataset
|
static Dataset |
sqrt(Object a,
Dataset o)
sqrt - evaluate the square root function on each element of the dataset
|
static Dataset |
square(Object a)
square - square each element
|
static Dataset |
square(Object a,
Dataset o)
square - square each element
|
static Dataset |
subtract(Object a,
Object b)
subtract operator
|
static Dataset |
subtract(Object a,
Object b,
Dataset o)
subtract operator
|
static Dataset |
tan(Object a)
tan - evaluate the tangent function on each element of the dataset
|
static Dataset |
tan(Object a,
Dataset o)
tan - evaluate the tangent function on each element of the dataset
|
static Dataset |
tanh(Object a)
tanh - evaluate the tangent hyperbolic function on each element of the dataset
|
static Dataset |
tanh(Object a,
Dataset o)
tanh - evaluate the tangent hyperbolic function on each element of the dataset
|
static Dataset |
toDegrees(Object a)
toDegrees - convert to degrees
|
static Dataset |
toDegrees(Object a,
Dataset o)
toDegrees - convert to degrees
|
protected static long |
toLong(double d) |
static Dataset |
toRadians(Object a)
toRadians - convert to radians
|
static Dataset |
toRadians(Object a,
Dataset o)
toRadians - convert to radians
|
static Dataset |
truncate(Object a)
truncate - truncate each element to integers of the dataset
|
static Dataset |
truncate(Object a,
Dataset o)
truncate - truncate each element to integers of the dataset
|
static Dataset |
unsignedRightShift(Object a,
Object b)
unsignedRightShift operator
|
static Dataset |
unsignedRightShift(Object a,
Object b,
Dataset o)
unsignedRightShift operator
|
static Object |
unwrap(Dataset o,
Object... a)
Unwrap result from mathematical methods if necessary
|
static Object |
unwrap(Dataset o,
Object a)
Unwrap result from mathematical methods if necessary
|
static Object |
unwrap(Dataset o,
Object a,
Object b)
Unwrap result from mathematical methods if necessary
|
static Dataset |
upperClip(Object a,
Dataset o,
Object pa)
upperClip - clip elements to upper limit
|
static Dataset |
upperClip(Object a,
Object pa)
upperClip - clip elements to upper limit
|
public Maths()
public static Object unwrap(Dataset o, Object a)
o
- dataseta
- inputpublic static Object unwrap(Dataset o, Object a, Object b)
o
- dataseta
- first inputb
- second inputpublic static Object unwrap(Dataset o, Object... a)
o
- dataseta
- inputspublic static Dataset floorDivide(Object a, Object b)
a
- first operandb
- second operandpublic static Dataset floorDivide(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createdpublic static Dataset floorRemainder(Object a, Object b)
a
- first operandb
- second operandpublic static Dataset floorRemainder(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createdpublic static Dataset reciprocal(Object a)
a
- single operandpublic static Dataset reciprocal(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset abs(Object a)
a
- single operandpublic static Dataset abs(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset conjugate(Object a)
a
- single operandpublic static Dataset conjugate(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset hypot(Object a, Object b)
a
- side of right-angled triangleb
- side of right-angled trianglepublic static Dataset hypot(Object a, Object b, Dataset o)
a
- side of right-angled triangleb
- side of right-angled triangleo
- output can be null - in which case, a new dataset is createdpublic static Dataset arctan2(Object a, Object b)
a
- opposite side of right-angled triangleb
- adjacent side of right-angled trianglepublic static Dataset arctan2(Object a, Object b, Dataset o)
a
- opposite side of right-angled triangleb
- adjacent side of right-angled triangleo
- output can be null - in which case, a new dataset is createdpublic static Dataset angle(Object a)
a
- single operandpublic static Dataset angle(Object a, boolean inDegrees)
a
- single operandinDegrees
- if true then return angles in degrees else in radianspublic static Dataset angle(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset angle(Object a, boolean inDegrees, Dataset o)
a
- single operandinDegrees
- if true then return angles in degrees else in radianso
- output can be null - in which case, a new dataset is createdpublic static Dataset phaseAsComplexNumber(Object a, boolean keepZeros)
a
- single operandkeepZeros
- if true then zero items are returned as zero rather than NaNspublic static Dataset phaseAsComplexNumber(Object a, Dataset o, boolean keepZeros)
a
- single operando
- output can be null - in which case, a new dataset is createdkeepZeros
- if true then zero items are returned as zero rather than NaNspublic static Dataset add(Collection<IDataset> sets, boolean requireClone)
sets
- datasetsrequireClone
- if true, clone destination to hold sumpublic static Dataset multiply(Collection<IDataset> sets, boolean requireClone)
sets
- datasetsrequireClone
- if true, clone destination to hold productpublic static Dataset interpolate(Dataset x, Dataset d, IDataset x0, Number left, Number right)
x
- input 1-D coordinate dataset (must be ordered)d
- input 1-D datasetx0
- coordinate valuesleft
- value to use when x0 lies left of domain. If null, then
interpolate to zero by using leftmost intervalright
- value to use when x0 lies right of domain. If null, then
interpolate to zero by using rightmost intervalpublic static double interpolate(Dataset d, double x0)
d
- input datasetx0
- coordinatepublic static double interpolate(Dataset d, Dataset m, double x0)
d
- input datasetm
- mask datasetx0
- coordinatepublic static void interpolate(double[] values, CompoundDataset d, double x0)
values
- interpolated arrayd
- input datasetx0
- coordinatepublic static double interpolate(Dataset d, double x0, double x1)
d
- input datasetx0
- coordinatex1
- coordinatepublic static double interpolate(Dataset d, Dataset m, double x0, double x1)
d
- input datasetm
- mask datasetx0
- coordinatex1
- coordinatepublic static void interpolate(double[] values, CompoundDataset d, double x0, double x1)
values
- bilinear interpolated arrayd
- input datasetx0
- coordinatex1
- coordinatepublic static double interpolate(Dataset d, double... x)
d
- input datasetx
- coordinatespublic static double interpolate(Dataset d, Dataset m, double... x)
d
- input datasetm
- mask dataset (can be null)x
- coordinatespublic static void interpolate(double[] values, CompoundDataset d, double... x)
values
- linearly interpolated arrayd
- input datasetx
- coordinates@Deprecated public static double getLinear(IDataset d, double x0)
interpolate(Dataset, double)
d
- input datasetx0
- coordinate@Deprecated public static void getLinear(double[] values, CompoundDataset d, double x0)
interpolate(double[], CompoundDataset, double)
values
- interpolated arrayd
- input datasetx0
- coordinate@Deprecated public static double getBilinear(IDataset d, double x0, double x1)
interpolate(Dataset, double, double)
d
- input datasetx0
- coordinatex1
- coordinate@Deprecated public static double getBilinear(IDataset d, IDataset m, double x0, double x1)
interpolate(Dataset, Dataset, double, double)
d
- input datasetm
- mask datasetx0
- coordinatex1
- coordinate@Deprecated public static void getBilinear(double[] values, CompoundDataset d, double x0, double x1)
interpolate(double[], CompoundDataset, double, double)
values
- bilinear interpolated arrayd
- input datasetx0
- coordinatex1
- coordinatepublic static Dataset difference(Dataset a, int n, int axis)
a
- datasetn
- order of differenceaxis
- to take difference alongpublic static Dataset derivative(Dataset x, Dataset y, int n)
x
- The x values of the function to take the derivative of.y
- The y values of the function to take the derivative of.n
- The spread the derivative is calculated from, i.e. the
smoothing, the higher the value, the more smoothing occurs.public static Dataset centralDifference(Dataset a, int axis)
a
- datasetaxis
- to take difference alongpublic static List<Dataset> gradient(Dataset y, Dataset... x)
y
- datasetx
- one or more datasets for dependent variablesprotected static void addFunctionName(Dataset a, Dataset b, Dataset dataset, String fname)
protected static void addFunctionName(Dataset dataset, String fname)
protected static void addBinaryOperatorName(Dataset a, Dataset b, Dataset dataset, String oname)
protected static final long toLong(double d)
public static Dataset add(Object a, Object b)
a
- first operandb
- second operanda + b
, addition of a and bpublic static Dataset add(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda + b
, addition of a and bpublic static Dataset subtract(Object a, Object b)
a
- first operandb
- second operanda - b
, subtraction of a by bpublic static Dataset subtract(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda - b
, subtraction of a by bpublic static Dataset multiply(Object a, Object b)
a
- first operandb
- second operanda * b
, product of a and bpublic static Dataset multiply(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda * b
, product of a and bpublic static Dataset divide(Object a, Object b)
a
- first operandb
- second operanda / b
, division of a by bpublic static Dataset divide(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda / b
, division of a by bpublic static Dataset dividez(Object a, Object b)
a
- first operandb
- second operanda / b
, division of a by bpublic static Dataset dividez(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda / b
, division of a by bpublic static Dataset divideTowardsFloor(Object a, Object b)
a
- first operandb
- second operanda / b
, division of a by b but rounded towards negative infinitypublic static Dataset divideTowardsFloor(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda / b
, division of a by b but rounded towards negative infinitypublic static Dataset power(Object a, Object b)
a
- first operandb
- second operanda ** b
, raise a to power of bpublic static Dataset power(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda ** b
, raise a to power of bpublic static Dataset remainder(Object a, Object b)
a
- first operandb
- second operanda % b
, remainder of division of a by bpublic static Dataset remainder(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda % b
, remainder of division of a by bpublic static Dataset maximum(Object a, Object b)
a
- first operandb
- second operandpublic static Dataset maximum(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createdpublic static Dataset minimum(Object a, Object b)
a
- first operandb
- second operandpublic static Dataset minimum(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createdpublic static Dataset bitwiseAnd(Object a, Object b)
a
- first operandb
- second operanda & b
, bitwise AND of a and bpublic static Dataset bitwiseAnd(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda & b
, bitwise AND of a and bpublic static Dataset bitwiseOr(Object a, Object b)
a
- first operandb
- second operanda | b
, bitwise inclusive OR of a and bpublic static Dataset bitwiseOr(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda | b
, bitwise inclusive OR of a and bpublic static Dataset bitwiseXor(Object a, Object b)
a
- first operandb
- second operanda ^ b
, bitwise exclusive OR of a and bpublic static Dataset bitwiseXor(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda ^ b
, bitwise exclusive OR of a and bpublic static Dataset leftShift(Object a, Object b)
a
- first operandb
- second operanda << b
, bitwise left shift of a by bpublic static Dataset leftShift(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda << b
, bitwise left shift of a by bpublic static Dataset rightShift(Object a, Object b)
a
- first operandb
- second operanda >> b
, bitwise right shift of a by bpublic static Dataset rightShift(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda >> b
, bitwise right shift of a by bpublic static Dataset unsignedRightShift(Object a, Object b)
a
- first operandb
- second operanda >>> b
, bitwise right shift of a by b with zeros addedpublic static Dataset unsignedRightShift(Object a, Object b, Dataset o)
a
- first operandb
- second operando
- output can be null - in which case, a new dataset is createda >>> b
, bitwise right shift of a by b with zeros addedpublic static Dataset bitwiseInvert(Object a)
~a
, bitwise invert (or NOT) each elementa
- single operandpublic static Dataset bitwiseInvert(Object a, Dataset o)
~a
, bitwise invert (or NOT) each elementa
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset sin(Object a)
a
- single operandpublic static Dataset sin(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset cos(Object a)
a
- single operandpublic static Dataset cos(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset tan(Object a)
a
- single operandpublic static Dataset tan(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset arcsin(Object a)
a
- single operandpublic static Dataset arcsin(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset arccos(Object a)
a
- single operandpublic static Dataset arccos(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset arctan(Object a)
a
- single operandpublic static Dataset arctan(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset sinh(Object a)
a
- single operandpublic static Dataset sinh(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset cosh(Object a)
a
- single operandpublic static Dataset cosh(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset tanh(Object a)
a
- single operandpublic static Dataset tanh(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset arcsinh(Object a)
a
- single operandpublic static Dataset arcsinh(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset arccosh(Object a)
a
- single operandpublic static Dataset arccosh(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset arctanh(Object a)
a
- single operandpublic static Dataset arctanh(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset log(Object a)
a
- single operandpublic static Dataset log(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset log2(Object a)
a
- single operandpublic static Dataset log2(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset log10(Object a)
a
- single operandpublic static Dataset log10(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset log1p(Object a)
a
- single operandpublic static Dataset log1p(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset exp(Object a)
a
- single operandpublic static Dataset exp(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset expm1(Object a)
a
- single operandpublic static Dataset expm1(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset sqrt(Object a)
a
- single operandpublic static Dataset sqrt(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset cbrt(Object a)
a
- single operandpublic static Dataset cbrt(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset square(Object a)
a
- single operandpublic static Dataset square(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset floor(Object a)
a
- single operandpublic static Dataset floor(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset ceil(Object a)
a
- single operandpublic static Dataset ceil(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset rint(Object a)
a
- single operandpublic static Dataset rint(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset truncate(Object a)
a
- single operandpublic static Dataset truncate(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset toDegrees(Object a)
a
- single operandpublic static Dataset toDegrees(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset toRadians(Object a)
a
- single operandpublic static Dataset toRadians(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset signum(Object a)
a
- single operandpublic static Dataset signum(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset negative(Object a)
a
- single operandpublic static Dataset negative(Object a, Dataset o)
a
- single operando
- output can be null - in which case, a new dataset is createdpublic static Dataset lowerClip(Object a, Object pa)
a
- single operandpa
- first parameterpublic static Dataset lowerClip(Object a, Dataset o, Object pa)
a
- single operando
- output can be null - in which case, a new dataset is createdpa
- first parameterpublic static Dataset upperClip(Object a, Object pa)
a
- single operandpa
- first parameterpublic static Dataset upperClip(Object a, Dataset o, Object pa)
a
- single operando
- output can be null - in which case, a new dataset is createdpa
- first parameterpublic static Dataset clip(Object a, Object pa, Object pb)
a
- single operandpa
- first parameterpb
- second parameterCopyright © 2014–2022 Eclipse Foundation. All rights reserved.