Skip navigation links
A B C D E F G H I K L M N O P R S T U V W X Y Z 

A

AbstractNumber - Interface in org.nd4j.linalg.util
 
acosh(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The inverse hyperbolic cosine.
add(AbstractNumber) - Method in interface org.nd4j.linalg.util.AbstractNumber
 
addRound(BigDecimal, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Add and round according to the larger of the two ulp’s.
adjustedrSquared(double, int, int) - Static method in class org.nd4j.linalg.util.MathUtils
This calculates the adjusted r^2 including degrees of freedom.
asin(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The inverse trigonometric sine.
asinh(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The inverse hyperbolic sine.
atan(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The inverse trigonometric tangent.

B

bernoullis(double, double, double) - Static method in class org.nd4j.linalg.util.MathUtils
This will return the bernoulli trial for the given event.
BigDecimalMath - Class in org.nd4j.linalg.util
BigDecimal special functions.
BigDecimalMath() - Constructor for class org.nd4j.linalg.util.BigDecimalMath
 
binomial(RandomGenerator, int, double) - Static method in class org.nd4j.linalg.util.MathUtils
Generates a binomial distributed number using the given rng
broadhurstBBP(int, int, int[], MathContext) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Broadhurst ladder sequence.

C

cbrt(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The cube root.
cellSet() - Method in class org.nd4j.linalg.util.SynchronizedTable
 
clamp(int, int, int) - Static method in class org.nd4j.linalg.util.MathUtils
Clamps the value to a discrete value
classesFor(Object[]) - Static method in class org.nd4j.linalg.util.ReflectionUtil
Create a class array from the given array of objects
clear() - Method in class org.nd4j.linalg.util.SynchronizedTable
 
column(C) - Method in class org.nd4j.linalg.util.SynchronizedTable
 
columnKeySet() - Method in class org.nd4j.linalg.util.SynchronizedTable
 
columnMap() - Method in class org.nd4j.linalg.util.SynchronizedTable
 
combination(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the combination of n choose r
contains(Object, Object) - Method in class org.nd4j.linalg.util.SynchronizedTable
 
containsColumn(Object) - Method in class org.nd4j.linalg.util.SynchronizedTable
 
containsRow(Object) - Method in class org.nd4j.linalg.util.SynchronizedTable
 
containsValue(Object) - Method in class org.nd4j.linalg.util.SynchronizedTable
 
coordSplit(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the coordinate split in a list of coordinates such that the values for ret[0] are the x values and ret[1] are the y values
coordSplit(List<Double>) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the coordinate split in a list of coordinates such that the values for ret[0] are the x values and ret[1] are the y values
copyAtStride(int, NioUtil.BufferType, ByteBuffer, int, int, ByteBuffer, int, int) - Static method in class org.nd4j.linalg.util.NioUtil
Copy from the given from buffer to the to buffer at the specified offsets and strides
correlation(double[], double[]) - Static method in class org.nd4j.linalg.util.MathUtils
Returns the correlation coefficient of two double vectors.
cos(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Trigonometric cosine.
cosh(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The hyperbolic cosine.
cot(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The trigonometric co-tangent.
countLines(InputStream) - Static method in class org.nd4j.linalg.util.InputStreamUtil
Count number of lines in a file
countLines(String) - Static method in class org.nd4j.linalg.util.InputStreamUtil
Count number of lines in a file

D

determinationCoefficient(double[], double[], int) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the determination coefficient of two vectors given a length
discretize(double, double, double, int) - Static method in class org.nd4j.linalg.util.MathUtils
Discretize the given value
distanceFinderZValue(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This will translate a vector in to an equivalent integer
div(AbstractNumber) - Method in interface org.nd4j.linalg.util.AbstractNumber
 
divideRound(BigDecimal, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Divide and round.
divideRound(BigDecimal, int) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Divide and round.
divideRound(BigDecimal, BigInteger) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Divide and round.
divideRound(BigInteger, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Divide and round.
divideRound(int, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Divide and round.

E

entropy(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the entropy (information gain, or uncertainty of a random variable).
err2prec(BigDecimal, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Convert an absolute error to a precision.
err2prec(double, double) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Convert an absolute error to a precision.
err2prec(double) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Convert a relative error to a precision.
errorFor(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
 
euclideanDistance(double[], double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the euclidean distance of two vectors sum(i=1,n) (q_i - p_i)^2
euclideanDistance(float[], float[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the euclidean distance of two vectors sum(i=1,n) (q_i - p_i)^2
exp(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The exponential function.
exp(MathContext) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The base of the natural logarithm.

F

factorial(double) - Static method in class org.nd4j.linalg.util.MathUtils
This will return the factorial of the given number n.
fromString(String, String) - Static method in class org.nd4j.linalg.util.MathUtils
This will take a given string and separator and convert it to an equivalent double array.

G

gamma(MathContext) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Euler-Mascheroni constant.
Gamma(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The Gamma function.
generateUniform(int) - Static method in class org.nd4j.linalg.util.MathUtils
This will generate a series of uniformally distributed numbers between l times
get(Object, Object) - Method in class org.nd4j.linalg.util.SynchronizedTable
 
gr(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
Tests if a is greater than b.

H

hypot(BigDecimal, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The hypotenuse.
hypot(int, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The hypotenuse.
hypotenuse(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
sqrt(a^2 + b^2) without under/overflow.

I

idf(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
Inverse document frequency: the total docs divided by the number of times the word appeared in a document
information(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the entropy for a given vector of probabilities.
InputStreamUtil - Class in org.nd4j.linalg.util
Input stream jcuda.utils
InputStreamUtil() - Constructor for class org.nd4j.linalg.util.InputStreamUtil
 
isEmpty() - Method in class org.nd4j.linalg.util.SynchronizedTable
 

K

kroneckerDelta(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the kronecker delta of two doubles.

L

log(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The natural logarithm.
log(int, MathContext) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The natural logarithm.
log(Rational, MathContext) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The natural logarithm.
log2 - Static variable in class org.nd4j.linalg.util.MathUtils
The natural logarithm of 2.
log2(double) - Static method in class org.nd4j.linalg.util.MathUtils
Returns the logarithm of a for base 2.
logs2probs(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
Converts an array containing the natural logarithms of probabilities stored in a vector back into probabilities.

M

manhattanDistance(double[], double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This will calculate the Manhattan distance between two sets of points.
MathUtils - Class in org.nd4j.linalg.util
This is a math jcuda.utils class.
MathUtils() - Constructor for class org.nd4j.linalg.util.MathUtils
 
max(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
 
maxIndex(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
Returns index of maximum element in a given array of doubles.
mean(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
Computes the mean for an array of doubles.
mergeCoords(double[], double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This will merge the coordinates of the given coordinate system.
mergeCoords(List<Double>, List<Double>) - Static method in class org.nd4j.linalg.util.MathUtils
This will merge the coordinates of the given coordinate system.
min(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
 
mod2pi(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Reduce value to the interval [0,2*Pi].
modpi(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Reduce value to the interval [-Pi/2,Pi/2].
mult(AbstractNumber) - Method in interface org.nd4j.linalg.util.AbstractNumber
 
multiplyRound(BigDecimal, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Multiply and round.
multiplyRound(BigDecimal, Rational) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Multiply and round.
multiplyRound(BigDecimal, int) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Multiply and round.
multiplyRound(BigDecimal, BigInteger) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Multiply and round.

N

nameExistsInPath(String) - Static method in class org.nd4j.linalg.util.Paths
Check if a file exists in the path
nextPowOf2(long) - Static method in class org.nd4j.linalg.util.MathUtils
See: http://stackoverflow.com/questions/466204/rounding-off-to-nearest-power-of-2
NioUtil - Class in org.nd4j.linalg.util
NioUtils for operations on nio buffers
NioUtil() - Constructor for class org.nd4j.linalg.util.NioUtil
 
NioUtil.BufferType - Enum in org.nd4j.linalg.util
 
normalize(double, double, double) - Static method in class org.nd4j.linalg.util.MathUtils
Normalize a value (val - min) / (max - min)
normalize(double[], double) - Static method in class org.nd4j.linalg.util.MathUtils
Normalizes the doubles in the array using the given value.
normalizeToOne(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
 

O

org.nd4j.linalg.util - package org.nd4j.linalg.util
 

P

partitionVariable(List<Double>, int) - Static method in class org.nd4j.linalg.util.MathUtils
This will partition the given whole variable data applyTransformToDestination in to the specified chunk number.
PATH_ENV_VARIABLE - Static variable in class org.nd4j.linalg.util.Paths
 
Paths - Class in org.nd4j.linalg.util
Path Utilities
Paths() - Constructor for class org.nd4j.linalg.util.Paths
 
permutation(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the permutation of n choose r.
pi(MathContext) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Euler’s constant.
pochhammer(BigDecimal, int) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Pochhammer’s function.
pow(BigDecimal, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Power function.
pow(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
 
powRound(BigDecimal, int) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Raise to an integer power and round.
prec2err(double, int) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Convert a precision (relative error) to an absolute error.
probRound(double, Random) - Static method in class org.nd4j.linalg.util.MathUtils
Rounds a double to the next nearest integer value in a probabilistic fashion (e.g.
probToLogOdds(double) - Static method in class org.nd4j.linalg.util.MathUtils
Returns the log-odds for a given probability.
put(R, C, V) - Method in class org.nd4j.linalg.util.SynchronizedTable
 
putAll(Table<? extends R, ? extends C, ? extends V>) - Method in class org.nd4j.linalg.util.SynchronizedTable
 

R

randomDoubleBetween(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
 
randomFloatBetween(float, float) - Static method in class org.nd4j.linalg.util.MathUtils
 
randomNumberBetween(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
Generates a random integer between the specified numbers
randomNumberBetween(double, double, RandomGenerator) - Static method in class org.nd4j.linalg.util.MathUtils
Generates a random integer between the specified numbers
readObject(File) - Static method in class org.nd4j.linalg.util.SerializationUtils
 
readObject(InputStream) - Static method in class org.nd4j.linalg.util.SerializationUtils
Reads an object from the given input stream
ReflectionUtil - Class in org.nd4j.linalg.util
Reflect utilities
ReflectionUtil() - Constructor for class org.nd4j.linalg.util.ReflectionUtil
 
remove(Object, Object) - Method in class org.nd4j.linalg.util.SynchronizedTable
 
root(int, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The integer root.
rootMeansSquaredError(double[], double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the root mean squared error of two data sets
round(double) - Static method in class org.nd4j.linalg.util.MathUtils
Rounds a double to the next nearest integer value.
roundDouble(double, int) - Static method in class org.nd4j.linalg.util.MathUtils
Rounds a double to the given number of decimal places.
roundFloat(float, int) - Static method in class org.nd4j.linalg.util.MathUtils
Rounds a double to the given number of decimal places.
row(R) - Method in class org.nd4j.linalg.util.SynchronizedTable
 
rowKeySet() - Method in class org.nd4j.linalg.util.SynchronizedTable
 
rowMap() - Method in class org.nd4j.linalg.util.SynchronizedTable
 

S

sampleDoublesInInterval(double[][], int) - Static method in class org.nd4j.linalg.util.MathUtils
 
saveObject(Object, File) - Static method in class org.nd4j.linalg.util.SerializationUtils
 
scalePrec(BigDecimal, int) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Append decimal zeros to the value.
scalePrec(BigDecimal, MathContext) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Boost the precision by appending decimal zeros to the value.
SerializationUtils - Class in org.nd4j.linalg.util
Serialization utils for saving and reading serializable objects
SerializationUtils() - Constructor for class org.nd4j.linalg.util.SerializationUtils
 
sigmoid(double) - Static method in class org.nd4j.linalg.util.MathUtils
1 / 1 + exp(-x)
sin(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Trigonometric sine.
sinh(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The hyperbolic sine.
size() - Method in class org.nd4j.linalg.util.SynchronizedTable
 
slope(double, double, double, double) - Method in class org.nd4j.linalg.util.MathUtils
This returns the slope of the given points.
sm(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
Tests if a is smaller than b.
SMALL - Static variable in class org.nd4j.linalg.util.MathUtils
The small deviation allowed in double comparisons.
sqrt(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The square root.
squaredLoss(double[], double[], double, double) - Static method in class org.nd4j.linalg.util.MathUtils
This will return the squared loss of the given points
ssError(double[], double[]) - Static method in class org.nd4j.linalg.util.MathUtils
How much of the variance is NOT explained by the regression
ssReg(double[], double[]) - Static method in class org.nd4j.linalg.util.MathUtils
How much of the variance is explained by the regression
ssTotal(double[], double[]) - Static method in class org.nd4j.linalg.util.MathUtils
Total variance in target attribute
sub(AbstractNumber) - Method in interface org.nd4j.linalg.util.AbstractNumber
 
subtractRound(BigDecimal, BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Subtract and round according to the larger of the two ulp’s.
sum(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the sum of the given array.
sumOfMeanDifferences(double[], double[]) - Static method in class org.nd4j.linalg.util.MathUtils
Used for calculating top part of simple regression for beta 1
sumOfMeanDifferencesOnePoint(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
Used for calculating top part of simple regression for beta 1
sumOfProducts(double[]...) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the sum of products for the given numbers.
sumOfSquares(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the sum of squares for the given vector.
SynchronizedTable<R,C,V> - Class in org.nd4j.linalg.util
Synchronized table
SynchronizedTable(Table<R, C, V>) - Constructor for class org.nd4j.linalg.util.SynchronizedTable
 

T

tan(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The trigonometric tangent.
tanh(BigDecimal) - Static method in class org.nd4j.linalg.util.BigDecimalMath
The hyperbolic tangent.
tf(int) - Static method in class org.nd4j.linalg.util.MathUtils
Term frequency: 1+ log10(count)
tfidf(double, double) - Static method in class org.nd4j.linalg.util.MathUtils
Return td * idf
times(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the product of all numbers in the given array.
toByteArray(Serializable) - Static method in class org.nd4j.linalg.util.SerializationUtils
Converts the given object to a byte array
toDecimal(String) - Static method in class org.nd4j.linalg.util.MathUtils
This will convert the given binary string to a decimal based integer

U

uniform(Random, double, double) - Static method in class org.nd4j.linalg.util.MathUtils
Generate a uniform random number from the given rng

V

valueOf(String) - Static method in enum org.nd4j.linalg.util.NioUtil.BufferType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.nd4j.linalg.util.NioUtil.BufferType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.nd4j.linalg.util.SynchronizedTable
 
vectorLength(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
Returns the vector length (sqrt(sum(x_i))

W

w_0(double[], double[], int) - Static method in class org.nd4j.linalg.util.MathUtils
 
w_1(double[], double[], int) - Static method in class org.nd4j.linalg.util.MathUtils
 
weightsFor(List<Double>) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the minimized loss values for a given vector.
weightsFor(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the minimized loss values for a given vector.
writeObject(Serializable, OutputStream) - Static method in class org.nd4j.linalg.util.SerializationUtils
Writes the object to the output stream THIS DOES NOT FLUSH THE STREAM

X

xVals(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the x values of the given vector.

Y

yVals(double[]) - Static method in class org.nd4j.linalg.util.MathUtils
This returns the odd indexed values for the given vector

Z

zeta(int, MathContext) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Riemann zeta function.
zeta1(int) - Static method in class org.nd4j.linalg.util.BigDecimalMath
Riemann zeta function.
A B C D E F G H I K L M N O P R S T U V W X Y Z 
Skip navigation links

Copyright © 2016. All Rights Reserved.