- RadialBasisFunction - Interface in smile.math.rbf
-
A radial basis function (RBF) is a real-valued function whose value depends
only on the distance from the origin, so that φ(x)=φ(||x||); or
alternatively on the distance from some other point c, called a center, so
that φ(x,c)=φ(||x-c||).
- RADIX - Static variable in class smile.math.Math
-
The base of the exponent of the double type.
- rand() - Method in class smile.stat.distribution.BernoulliDistribution
-
- rand() - Method in class smile.stat.distribution.BetaDistribution
-
- rand() - Method in class smile.stat.distribution.BinomialDistribution
-
This function generates a random variate with the binomial distribution.
- rand() - Method in class smile.stat.distribution.ChiSquareDistribution
-
- rand() - Method in class smile.stat.distribution.DiscreteMixture
-
- rand() - Method in interface smile.stat.distribution.Distribution
-
Generates a random number following this distribution.
- rand() - Method in class smile.stat.distribution.EmpiricalDistribution
-
- rand(int) - Method in class smile.stat.distribution.EmpiricalDistribution
-
- rand() - Method in class smile.stat.distribution.ExponentialDistribution
-
- rand() - Method in class smile.stat.distribution.FDistribution
-
- rand() - Method in class smile.stat.distribution.GammaDistribution
-
Only support shape parameter k of integer.
- rand() - Method in class smile.stat.distribution.GaussianDistribution
-
Uses the Box-Muller algorithm to transform Random.random()'s into Gaussian deviates.
- rand() - Method in class smile.stat.distribution.GeometricDistribution
-
- rand() - Method in class smile.stat.distribution.HyperGeometricDistribution
-
Uses inversion by chop-down search from the mode when the mean < 20
and the patchwork-rejection method when the mean > 20.
- rand() - Method in class smile.stat.distribution.KernelDensity
-
Random number generator.
- rand() - Method in class smile.stat.distribution.LogisticDistribution
-
- rand() - Method in class smile.stat.distribution.LogNormalDistribution
-
- rand() - Method in class smile.stat.distribution.Mixture
-
- rand() - Method in class smile.stat.distribution.MultivariateGaussianDistribution
-
Generate a random multivariate Gaussian sample.
- rand() - Method in class smile.stat.distribution.NegativeBinomialDistribution
-
- rand() - Method in class smile.stat.distribution.PoissonDistribution
-
This function generates a random variate with the poisson distribution.
- rand() - Method in class smile.stat.distribution.ShiftedGeometricDistribution
-
- rand() - Method in class smile.stat.distribution.TDistribution
-
- rand() - Method in class smile.stat.distribution.WeibullDistribution
-
- randInverseCDF() - Method in class smile.stat.distribution.GaussianDistribution
-
Uses Inverse CDF method to generate a Gaussian deviate.
- randn(int, int) - Static method in class smile.math.matrix.Matrix
-
Returns a random matrix of standard normal distributed values with given mean and standard dev.
- randn(int, int, double, double) - Static method in class smile.math.matrix.Matrix
-
Returns a random matrix of normal distributed values with given mean and standard dev.
- random(double[]) - Static method in class smile.math.Math
-
Given a set of n probabilities, generate a random number in [0, n).
- random(double[], int) - Static method in class smile.math.Math
-
Given a set of m probabilities, draw with replacement a set of n random
number in [0, m).
- random() - Static method in class smile.math.Math
-
Generate a random number in [0, 1).
- random(int) - Static method in class smile.math.Math
-
Generate n random numbers in [0, 1).
- random(double, double) - Static method in class smile.math.Math
-
Generate a uniform random number in the range [lo, hi).
- random(double, double, int) - Static method in class smile.math.Math
-
Generate n uniform random numbers in the range [lo, hi).
- Random - Class in smile.math
-
This is a high quality random number generator as a replacement of
the standard Random class of Java system.
- Random() - Constructor for class smile.math.Random
-
Initialize with default random number generator engine.
- Random(long) - Constructor for class smile.math.Random
-
Initialize with given seed for default random number generator engine.
- randomInt(int) - Static method in class smile.math.Math
-
Returns a random integer in [0, n).
- randomInt(int, int) - Static method in class smile.math.Math
-
Returns a random integer in [lo, hi).
- RandomNumberGenerator - Interface in smile.math.random
-
Random number generator interface.
- range() - Method in class smile.math.matrix.SVD
-
Returns a matrix of which columns give an orthonormal basis for the range space.
- rank() - Method in class smile.math.matrix.SVD
-
Returns the effective numerical matrix rank.
- rbind(int[]...) - Static method in class smile.math.Math
-
Take a sequence of vector arguments and combine by rows.
- rbind(float[]...) - Static method in class smile.math.Math
-
Take a sequence of vector arguments and combine by rows.
- rbind(double[]...) - Static method in class smile.math.Math
-
Take a sequence of vector arguments and combine by rows.
- rbind(String[]...) - Static method in class smile.math.Math
-
Take a sequence of vector arguments and combine by rows.
- re() - Method in class smile.math.Complex
-
Returns the real part.
- reciprocal() - Method in class smile.math.Complex
-
Returns the reciprocal.
- regularizedIncompleteBetaFunction(double, double, double) - Static method in class smile.math.special.Beta
-
Regularized Incomplete Beta function.
- regularizedIncompleteGamma(double, double) - Static method in class smile.math.special.Gamma
-
Regularized Incomplete Gamma Function
P(s,x) = ∫0x e-t t(s-1) dt
- regularizedUpperIncompleteGamma(double, double) - Static method in class smile.math.special.Gamma
-
Regularized Upper/Complementary Incomplete Gamma Function
Q(s,x) = 1 - P(s,x) = 1 - ∫0x e-t t(s-1) dt
- rejection(double, double, double) - Method in class smile.stat.distribution.AbstractDistribution
-
Use the rejection technique to draw a sample from the given distribution.
- remove(int) - Method in class smile.math.DoubleArrayList
-
Removes the value at specified index from the list.
- remove(int) - Method in class smile.math.IntArrayList
-
Removes the value at specified index from the list.
- remove(int) - Method in class smile.math.SparseArray
-
Removes an entry.
- replaceNaN(double) - Method in class smile.math.Array2D
-
- replaceNaN(double) - Method in class smile.math.matrix.DenseMatrix
-
Replaces NaN's with given value.
- replaceNaN(double) - Method in class smile.math.matrix.JMatrix
-
- reverse(int[]) - Static method in class smile.math.Math
-
Reverses the order of the elements in the specified array.
- reverse(float[]) - Static method in class smile.math.Math
-
Reverses the order of the elements in the specified array.
- reverse(double[]) - Static method in class smile.math.Math
-
Reverses the order of the elements in the specified array.
- reverse(T[]) - Static method in class smile.math.Math
-
Reverses the order of the elements in the specified array.
- rint(double) - Static method in class smile.math.Math
-
Returns the double value that is closest in value to the argument and is equal to a mathematical integer.
- root(Function, double, double, double) - Static method in class smile.math.Math
-
Returns the root of a function known to lie between x1 and x2 by
Brent's method.
- root(Function, double, double, double, int) - Static method in class smile.math.Math
-
Returns the root of a function known to lie between x1 and x2 by
Brent's method.
- root(DifferentiableFunction, double, double, double) - Static method in class smile.math.Math
-
Returns the root of a function whose derivative is available known
to lie between x1 and x2 by Newton-Raphson method.
- root(DifferentiableFunction, double, double, double, int) - Static method in class smile.math.Math
-
Returns the root of a function whose derivative is available known
to lie between x1 and x2 by Newton-Raphson method.
- rotl64(long, int) - Static method in class smile.hash.MurmurHash
-
- round(double) - Static method in class smile.math.Math
-
Returns the closest long to the argument.
- round(float) - Static method in class smile.math.Math
-
Returns the closest int to the argument.
- round(double, int) - Static method in class smile.math.Math
-
Round a double vale to given digits such as 10^n, where n is a positive
or negative integer.
- ROUND_STYLE - Static variable in class smile.math.Math
-
Rounding style.
- rowMax(double[][]) - Static method in class smile.math.Math
-
Returns the row maximum for a matrix.
- rowMeans(double[][]) - Static method in class smile.math.Math
-
Returns the row means for a matrix.
- rowMeans() - Method in class smile.math.matrix.DenseMatrix
-
Returns the mean of each row for a matrix.
- rowMin(double[][]) - Static method in class smile.math.Math
-
Returns the row minimum for a matrix.
- rowSds(double[][]) - Static method in class smile.math.Math
-
Returns the row standard deviations for a matrix.
- rowSums(double[][]) - Static method in class smile.math.Math
-
Returns the row sums for a matrix.
- rowSums() - Method in class smile.math.matrix.DenseMatrix
-
Returns the sum of each row for a matrix.
- s - Variable in class smile.math.matrix.SVD
-
Array for internal storage of singular values.
- scalb(double, int) - Static method in class smile.math.Math
-
Returns d x 2scaleFactor rounded as if performed by a single
correctly rounded floating-point multiply to a member of the double value
set.
- scalb(float, int) - Static method in class smile.math.Math
-
Returns f x 2scaleFactor rounded as if performed by a single
correctly rounded floating-point multiply to a member of the float value
set.
- scale(double[][]) - Static method in class smile.math.Math
-
Scales each column of a matrix to range [0, 1].
- scale(double[][], double, double) - Static method in class smile.math.Math
-
Scales each column of a matrix to range [lo, hi].
- scale(double, double[]) - Static method in class smile.math.Math
-
Scale each element of an array by a constant x = a * x.
- scale(double, double[], double[]) - Static method in class smile.math.Math
-
Scale each element of an array by a constant y = a * x.
- scatter() - Method in class smile.stat.distribution.MultivariateGaussianDistribution
-
Returns the scatter of distribution, which is defined as |Σ|.
- scott(double[]) - Static method in class smile.math.Histogram
-
Returns the number of bins by Scott's rule h = 3.5 * σ / (n1/3).
- sd(int[]) - Static method in class smile.math.Math
-
Returns the standard deviation of an array.
- sd(float[]) - Static method in class smile.math.Math
-
Returns the standard deviation of an array.
- sd(double[]) - Static method in class smile.math.Math
-
Returns the standard deviation of an array.
- sd() - Method in class smile.stat.distribution.BernoulliDistribution
-
- sd() - Method in class smile.stat.distribution.BetaDistribution
-
- sd() - Method in class smile.stat.distribution.BinomialDistribution
-
- sd() - Method in class smile.stat.distribution.ChiSquareDistribution
-
- sd() - Method in class smile.stat.distribution.DiscreteMixture
-
- sd() - Method in interface smile.stat.distribution.Distribution
-
The standard deviation of distribution.
- sd() - Method in class smile.stat.distribution.EmpiricalDistribution
-
- sd() - Method in class smile.stat.distribution.ExponentialDistribution
-
- sd() - Method in class smile.stat.distribution.FDistribution
-
- sd() - Method in class smile.stat.distribution.GammaDistribution
-
- sd() - Method in class smile.stat.distribution.GaussianDistribution
-
- sd() - Method in class smile.stat.distribution.GeometricDistribution
-
- sd() - Method in class smile.stat.distribution.HyperGeometricDistribution
-
- sd() - Method in class smile.stat.distribution.KernelDensity
-
- sd() - Method in class smile.stat.distribution.LogisticDistribution
-
- sd() - Method in class smile.stat.distribution.LogNormalDistribution
-
- sd() - Method in class smile.stat.distribution.Mixture
-
- sd() - Method in class smile.stat.distribution.NegativeBinomialDistribution
-
- sd() - Method in class smile.stat.distribution.PoissonDistribution
-
- sd() - Method in class smile.stat.distribution.ShiftedGeometricDistribution
-
- sd() - Method in class smile.stat.distribution.TDistribution
-
- sd() - Method in class smile.stat.distribution.WeibullDistribution
-
- select(int[], int) - Static method in class smile.sort.QuickSelect
-
Given k in [0, n-1], returns an array value from arr such that k array
values are less than or equal to the one returned.
- select(float[], int) - Static method in class smile.sort.QuickSelect
-
Given k in [0, n-1], returns an array value from arr such that k array
values are less than or equal to the one returned.
- select(double[], int) - Static method in class smile.sort.QuickSelect
-
Given k in [0, n-1], returns an array value from arr such that k array
values are less than or equal to the one returned.
- select(T[], int) - Static method in class smile.sort.QuickSelect
-
Given k in [0, n-1], returns an array value from arr such that k array
values are less than or equal to the one returned.
- set(int, int, double) - Method in class smile.math.Array2D
-
Sets A(i, j).
- set(int, double) - Method in class smile.math.DoubleArrayList
-
Replaces the value at the specified position in this list with the
specified value.
- set(int, int) - Method in class smile.math.IntArrayList
-
Replaces the value at the specified position in this list with the
specified value.
- set(int, int, double) - Method in class smile.math.matrix.BandMatrix
-
- set(int, int, double) - Method in class smile.math.matrix.DenseMatrix
-
Set the entry value at row i and column j.
- set(int, int, double) - Method in class smile.math.matrix.JMatrix
-
- set(int, double) - Method in class smile.math.SparseArray
-
Sets or add an entry.
- setOmega(double) - Method in class smile.math.kernel.PearsonKernel
-
Set the omega parameter.
- setSeed(long) - Static method in class smile.math.Math
-
Initialize the random generator with a seed.
- setSeed(long) - Method in class smile.math.random.MersenneTwister
-
- setSeed(int) - Method in class smile.math.random.MersenneTwister
-
- setSeed(long) - Method in class smile.math.random.MersenneTwister64
-
- setSeed(long) - Method in interface smile.math.random.RandomNumberGenerator
-
Initialize the random generator with a seed.
- setSeed(long) - Method in class smile.math.Random
-
Initialize the random generator with a seed.
- setSeed(long) - Method in class smile.math.random.UniversalGenerator
-
- setSigma(double) - Method in class smile.math.kernel.PearsonKernel
-
Set the sigma parameter.
- setSymmetric(boolean) - Method in class smile.math.matrix.Matrix
-
Sets if the matrix is symmetric.
- ShellSort - Class in smile.sort
-
Shell sort is a sorting algorithm that is a generalization of insertion
sort, with two observations:
insertion sort is efficient if the input is "almost sorted", and
insertion sort is typically inefficient because it moves values
just one position at a time.
- ShiftedGeometricDistribution - Class in smile.stat.distribution
-
The "shifted" geometric distribution is a discrete probability distribution of the
number of failures before the first success, supported on the set
{0, 1, 2, 3, …}.
- ShiftedGeometricDistribution(double) - Constructor for class smile.stat.distribution.ShiftedGeometricDistribution
-
Constructor.
- ShiftedGeometricDistribution(int[]) - Constructor for class smile.stat.distribution.ShiftedGeometricDistribution
-
Constructor.
- siftDown(int[], int, int) - Static method in class smile.sort.SortUtils
-
To restore the max-heap condition when a node's priority is decreased.
- siftDown(float[], int, int) - Static method in class smile.sort.SortUtils
-
To restore the max-heap condition when a node's priority is decreased.
- siftDown(double[], int, int) - Static method in class smile.sort.SortUtils
-
To restore the max-heap condition when a node's priority is decreased.
- siftDown(T[], int, int) - Static method in class smile.sort.SortUtils
-
To restore the max-heap condition when a node's priority is decreased.
- siftUp(int[], int) - Static method in class smile.sort.SortUtils
-
To restore the max-heap condition when a node's priority is increased.
- siftUp(float[], int) - Static method in class smile.sort.SortUtils
-
To restore the max-heap condition when a node's priority is increased.
- siftUp(double[], int) - Static method in class smile.sort.SortUtils
-
To restore the max-heap condition when a node's priority is increased.
- siftUp(T[], int) - Static method in class smile.sort.SortUtils
-
To restore the max-heap condition when a node's priority is increased.
- signum(double) - Static method in class smile.math.Math
-
Returns the signum of the argument; zero if the argument is
zero, 1.0 if the argument is greater than zero, -1.0 if the argument
is less than zero.
- signum(float) - Static method in class smile.math.Math
-
Returns the signum function of the argument; zero if the argument is
zero, 1.0f if the argument is greater than zero, -1.0f if the argument
is less than zero.
- sin() - Method in class smile.math.Complex
-
Returns the complex sine.
- sin(double) - Static method in class smile.math.Math
-
Returns the trigonometric sine of an angle.
- singular - Variable in class smile.math.matrix.LU
-
True if the matrix is singular.
- singular - Variable in class smile.math.matrix.QR
-
Indicate if the matrix is singular.
- sinh(double) - Static method in class smile.math.Math
-
Returns the hyperbolic sine of a double value.
- size() - Method in class smile.math.DoubleArrayList
-
Returns the number of values in the list.
- size() - Method in class smile.math.IntArrayList
-
Returns the number of values in the list.
- size() - Method in class smile.math.matrix.SparseMatrix
-
Returns the number of nonzero values.
- size() - Method in class smile.math.SparseArray
-
Returns the number of nonzero entries.
- size() - Method in class smile.stat.distribution.DiscreteMixture
-
Returns the number of components in the mixture.
- size() - Method in class smile.stat.distribution.Mixture
-
Returns the number of components in the mixture.
- size() - Method in class smile.stat.distribution.MultivariateMixture
-
Returns the number of components in the mixture.
- slice(E[], int[]) - Static method in class smile.math.Math
-
Returns a slice of data for given indices.
- slice(int[], int[]) - Static method in class smile.math.Math
-
Returns a slice of data for given indices.
- slice(float[], int[]) - Static method in class smile.math.Math
-
Returns a slice of data for given indices.
- slice(double[], int[]) - Static method in class smile.math.Math
-
Returns a slice of data for given indices.
- smile.hash - package smile.hash
-
Hashing functions.
- smile.math - package smile.math
-
Basic mathematical functions, complex, differentiable function interfaces,
random number generators, unconstrained optimization, and raw data type
(int and double) array lists, etc.
- smile.math.distance - package smile.math.distance
-
Distance and metric measures.
- smile.math.kernel - package smile.math.kernel
-
Mercer kernels.
- smile.math.matrix - package smile.math.matrix
-
Matrix interface, dense and sparse (band or irregular) matrix encapsulation
classes, LU, QR, Cholesky, SVD and eigen decompositions, etc.
- smile.math.random - package smile.math.random
-
High quality random number generators as a replacement of
the standard Random class of Java system.
- smile.math.rbf - package smile.math.rbf
-
Radial basis functions.
- smile.math.special - package smile.math.special
-
Special mathematical functions including beta, erf, and gamma.
- smile.sort - package smile.sort
-
Sorting algorithms.
- smile.stat.distribution - package smile.stat.distribution
-
Probability distributions.
- smile.stat.hypothesis - package smile.stat.hypothesis
-
Statistical hypothesis tests.
- solve(double[], double[], double[], double[]) - Static method in class smile.math.Math
-
Solve the tridiagonal linear set which is of diagonal dominance
|bi| > |ai| + |ci|.
- solve(double[], double[]) - Method in class smile.math.matrix.BandMatrix
-
Solve A*x = b.
- solve(Matrix, double[], double[]) - Static method in class smile.math.matrix.BiconjugateGradient
-
Solves A * x = b by iterative biconjugate gradient method.
- solve(Matrix, Preconditioner, double[], double[]) - Static method in class smile.math.matrix.BiconjugateGradient
-
Solves A * x = b by iterative biconjugate gradient method.
- solve(Matrix, double[], double[], double) - Static method in class smile.math.matrix.BiconjugateGradient
-
Solves A * x = b by iterative biconjugate gradient method.
- solve(Matrix, Preconditioner, double[], double[], double) - Static method in class smile.math.matrix.BiconjugateGradient
-
Solves A * x = b by iterative biconjugate gradient method.
- solve(Matrix, double[], double[], double, int) - Static method in class smile.math.matrix.BiconjugateGradient
-
Solves A * x = b by iterative biconjugate gradient method.
- solve(Matrix, Preconditioner, double[], double[], double, int) - Static method in class smile.math.matrix.BiconjugateGradient
-
Solves A * x = b by iterative biconjugate gradient method.
- solve(Matrix, double[], double[], double, int, int) - Static method in class smile.math.matrix.BiconjugateGradient
-
Solves A * x = b by iterative biconjugate gradient method.
- solve(Matrix, Preconditioner, double[], double[], double, int, int) - Static method in class smile.math.matrix.BiconjugateGradient
-
Solves A * x = b by iterative biconjugate gradient method.
- solve(double[]) - Method in class smile.math.matrix.Cholesky
-
Solve the linear system A * x = b.
- solve(DenseMatrix) - Method in class smile.math.matrix.Cholesky
-
Solve the linear system A * X = B.
- solve(double[], double[]) - Method in interface smile.math.matrix.LinearSolver
-
Solve A*x = b.
- solve(double[]) - Method in class smile.math.matrix.LU
-
Solve A * x = b.
- solve(DenseMatrix) - Method in class smile.math.matrix.LU
-
Solve A * X = B.
- solve(double[], double[]) - Method in class smile.math.matrix.QR
-
Solve the least squares A*x = b.
- solve(DenseMatrix) - Method in class smile.math.matrix.QR
-
Solve the least squares A * X = B.
- solve(double[], double[]) - Method in class smile.math.matrix.SVD
-
Solve the least squares A*x = b.
- solve(DenseMatrix) - Method in class smile.math.matrix.SVD
-
Solve the least squares A * X = B.
- sort(double[][]) - Static method in class smile.math.Math
-
Sorts each variable and returns the index of values in ascending order.
- sort(double[], double[]) - Static method in class smile.math.matrix.JMatrix
-
Sort eigenvalues.
- sort(double[], double[], DenseMatrix) - Static method in class smile.math.matrix.JMatrix
-
Sort eigenvalues and eigenvectors.
- sort() - Method in class smile.sort.DoubleHeapSelect
-
Sort the smallest values.
- sort() - Method in class smile.sort.FloatHeapSelect
-
Sort the smallest values.
- sort() - Method in class smile.sort.HeapSelect
-
Sort the smallest values.
- sort(int[]) - Static method in class smile.sort.HeapSort
-
Sorts the specified array into ascending numerical order.
- sort(float[]) - Static method in class smile.sort.HeapSort
-
Sorts the specified array into ascending numerical order.
- sort(double[]) - Static method in class smile.sort.HeapSort
-
Sorts the specified array into ascending numerical order.
- sort(T[]) - Static method in class smile.sort.HeapSort
-
Sorts the specified array into ascending order.
- sort() - Method in class smile.sort.IntHeapSelect
-
Sort the smallest values.
- sort(int[]) - Static method in class smile.sort.QuickSort
-
Sorts the specified array into ascending numerical order.
- sort(int[], int[]) - Static method in class smile.sort.QuickSort
-
Besides sorting the array arr, the array brr will be also
rearranged as the same order of arr.
- sort(int[], int[], int) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(int[], Object[]) - Static method in class smile.sort.QuickSort
-
Besides sorting the array arr, the array brr will be also
rearranged as the same order of arr.
- sort(int[], Object[], int) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(float[]) - Static method in class smile.sort.QuickSort
-
Sorts the specified array into ascending numerical order.
- sort(float[], int[]) - Static method in class smile.sort.QuickSort
-
Besides sorting the array arr, the array brr will be also
rearranged as the same order of arr.
- sort(float[], int[], int) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(float[], float[]) - Static method in class smile.sort.QuickSort
-
Besides sorting the array arr, the array brr will be also
rearranged as the same order of arr.
- sort(float[], float[], int) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(float[], Object[]) - Static method in class smile.sort.QuickSort
-
Besides sorting the array arr, the array brr will be also
rearranged as the same order of arr.
- sort(float[], Object[], int) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(double[]) - Static method in class smile.sort.QuickSort
-
Sorts the specified array into ascending numerical order.
- sort(double[], int[]) - Static method in class smile.sort.QuickSort
-
Besides sorting the array arr, the array brr will be also
rearranged as the same order of arr.
- sort(double[], int[], int) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(double[], double[]) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(double[], double[], int) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(double[], Object[]) - Static method in class smile.sort.QuickSort
-
Besides sorting the array arr, the array brr will be also
rearranged as the same order of arr.
- sort(double[], Object[], int) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(T[]) - Static method in class smile.sort.QuickSort
-
Sorts the specified array into ascending order.
- sort(T[], int[]) - Static method in class smile.sort.QuickSort
-
Besides sorting the array arr, the array brr will be also
rearranged as the same order of arr.
- sort(T[], int[], int) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(T[], int[], int, Comparator<T>) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(T[], Object[]) - Static method in class smile.sort.QuickSort
-
Besides sorting the array arr, the array brr will be also
rearranged as the same order of arr.
- sort(T[], Object[], int) - Static method in class smile.sort.QuickSort
-
This is an effecient implementation Quick Sort algorithm without
recursive.
- sort(int[]) - Static method in class smile.sort.ShellSort
-
Sorts the specified array into ascending numerical order.
- sort(float[]) - Static method in class smile.sort.ShellSort
-
Sorts the specified array into ascending numerical order.
- sort(double[]) - Static method in class smile.sort.ShellSort
-
Sorts the specified array into ascending numerical order.
- sort(T[]) - Static method in class smile.sort.ShellSort
-
Sorts the specified array into ascending order.
- SortUtils - Class in smile.sort
-
Some useful functions such as swap and swif-down used in many sorting
algorithms.
- SparseArray - Class in smile.math
-
Sparse array of double values.
- SparseArray() - Constructor for class smile.math.SparseArray
-
Constructor.
- SparseArray.Entry - Class in smile.math
-
The entry in a sparse array of double values.
- SparseChebyshevDistance - Class in smile.math.distance
-
Chebyshev distance (or Tchebychev distance), or L∞ metric
is a metric defined on a vector space where the distance between two vectors
is the greatest of their differences along any coordinate dimension.
- SparseChebyshevDistance() - Constructor for class smile.math.distance.SparseChebyshevDistance
-
Constructor.
- SparseEuclideanDistance - Class in smile.math.distance
-
Euclidean distance.
- SparseEuclideanDistance() - Constructor for class smile.math.distance.SparseEuclideanDistance
-
Constructor.
- SparseEuclideanDistance(double[]) - Constructor for class smile.math.distance.SparseEuclideanDistance
-
Constructor with a given weight vector.
- SparseGaussianKernel - Class in smile.math.kernel
-
The Gaussian Mercer Kernel.
- SparseGaussianKernel(double) - Constructor for class smile.math.kernel.SparseGaussianKernel
-
Constructor.
- SparseHyperbolicTangentKernel - Class in smile.math.kernel
-
The hyperbolic tangent kernel.
- SparseHyperbolicTangentKernel() - Constructor for class smile.math.kernel.SparseHyperbolicTangentKernel
-
Constructor with scale 1.0 and offset 0.0.
- SparseHyperbolicTangentKernel(double, double) - Constructor for class smile.math.kernel.SparseHyperbolicTangentKernel
-
Constructor.
- SparseLaplacianKernel - Class in smile.math.kernel
-
The Laplacian Kernel.
- SparseLaplacianKernel(double) - Constructor for class smile.math.kernel.SparseLaplacianKernel
-
Constructor.
- SparseLinearKernel - Class in smile.math.kernel
-
The linear dot product kernel on sparse arrays.
- SparseLinearKernel() - Constructor for class smile.math.kernel.SparseLinearKernel
-
Constructor.
- SparseManhattanDistance - Class in smile.math.distance
-
Manhattan distance, also known as L1 distance or L1
norm, is the sum of the (absolute) differences of their coordinates.
- SparseManhattanDistance() - Constructor for class smile.math.distance.SparseManhattanDistance
-
Constructor.
- SparseManhattanDistance(double[]) - Constructor for class smile.math.distance.SparseManhattanDistance
-
Constructor.
- SparseMatrix - Class in smile.math.matrix
-
A sparse matrix is a matrix populated primarily with zeros.
- SparseMatrix(int, int, double[], int[], int[]) - Constructor for class smile.math.matrix.SparseMatrix
-
Constructor.
- SparseMatrix(double[][]) - Constructor for class smile.math.matrix.SparseMatrix
-
Constructor.
- SparseMatrix(double[][], double) - Constructor for class smile.math.matrix.SparseMatrix
-
Constructor.
- SparseMinkowskiDistance - Class in smile.math.distance
-
Minkowski distance of order p or Lp-norm, is a generalization of
Euclidean distance that is actually L2-norm.
- SparseMinkowskiDistance(int) - Constructor for class smile.math.distance.SparseMinkowskiDistance
-
Constructor.
- SparseMinkowskiDistance(int, double[]) - Constructor for class smile.math.distance.SparseMinkowskiDistance
-
Constructor.
- SparsePolynomialKernel - Class in smile.math.kernel
-
The polynomial kernel.
- SparsePolynomialKernel(int) - Constructor for class smile.math.kernel.SparsePolynomialKernel
-
Constructor with scale 1 and bias 0.
- SparsePolynomialKernel(int, double, double) - Constructor for class smile.math.kernel.SparsePolynomialKernel
-
Constructor.
- SparseThinPlateSplineKernel - Class in smile.math.kernel
-
The Thin Plate Spline Kernel.
- SparseThinPlateSplineKernel(double) - Constructor for class smile.math.kernel.SparseThinPlateSplineKernel
-
Constructor.
- spearman(int[], int[]) - Static method in class smile.math.distance.CorrelationDistance
-
Spearman correlation distance between the two arrays of type int.
- spearman(float[], float[]) - Static method in class smile.math.distance.CorrelationDistance
-
Spearman correlation distance between the two arrays of type float.
- spearman(double[], double[]) - Static method in class smile.math.distance.CorrelationDistance
-
Spearman correlation distance between the two arrays of type double.
- spearman(int[], int[]) - Static method in class smile.math.Math
-
The Spearman Rank Correlation Coefficient is a form of the Pearson
coefficient with the data converted to rankings (ie.
- spearman(float[], float[]) - Static method in class smile.math.Math
-
The Spearman Rank Correlation Coefficient is a form of the Pearson
coefficient with the data converted to rankings (ie.
- spearman(double[], double[]) - Static method in class smile.math.Math
-
The Spearman Rank Correlation Coefficient is a form of the Pearson
coefficient with the data converted to rankings (ie.
- spearman(double[], double[]) - Static method in class smile.stat.hypothesis.CorTest
-
Spearman rank correlation coefficient test.
- sqr(double) - Static method in class smile.math.Math
-
Returns x * x.
- sqrt(double) - Static method in class smile.math.Math
-
Returns the correctly rounded positive square root of a double value.
- squaredDistance(int[], int[]) - Static method in class smile.math.Math
-
The squared Euclidean distance.
- squaredDistance(float[], float[]) - Static method in class smile.math.Math
-
The squared Euclidean distance.
- squaredDistance(double[], double[]) - Static method in class smile.math.Math
-
The squared Euclidean distance.
- squaredDistance(SparseArray, SparseArray) - Static method in class smile.math.Math
-
The Euclidean distance.
- standardize(double[]) - Static method in class smile.math.Math
-
Standardizes an array to mean 0 and variance 1.
- standardize(double[][]) - Static method in class smile.math.Math
-
Standardizes each column of a matrix to 0 mean and unit variance.
- sturges(int) - Static method in class smile.math.Histogram
-
Returns the number of bins by Sturges' rule k = ceil(log2(n) + 1).
- sub(int, int, double) - Method in class smile.math.Array2D
-
- sub(Array2D) - Method in class smile.math.Array2D
-
- sub(double) - Method in class smile.math.Array2D
-
- sub(int, int, double) - Method in class smile.math.matrix.DenseMatrix
-
A[i][j] -= x
- sub(DenseMatrix, DenseMatrix) - Method in class smile.math.matrix.DenseMatrix
-
C = A - B
- sub(DenseMatrix) - Method in class smile.math.matrix.DenseMatrix
-
In place subtraction A = A - B
- sub(double, DenseMatrix) - Method in class smile.math.matrix.DenseMatrix
-
Element-wise addition C = A - x
- sub(double) - Method in class smile.math.matrix.DenseMatrix
-
In place element-wise subtraction A = A - x
- sub(int, int, double) - Method in class smile.math.matrix.JMatrix
-
- sub(DenseMatrix) - Method in class smile.math.matrix.JMatrix
-
- sub(JMatrix) - Method in class smile.math.matrix.JMatrix
-
- sub(DenseMatrix, DenseMatrix) - Method in class smile.math.matrix.JMatrix
-
- sub(JMatrix, JMatrix) - Method in class smile.math.matrix.JMatrix
-
- sub(double) - Method in class smile.math.matrix.JMatrix
-
- sub(double, DenseMatrix) - Method in class smile.math.matrix.JMatrix
-
- sub(double, JMatrix) - Method in class smile.math.matrix.JMatrix
-
- sum() - Method in class smile.math.Array2D
-
- sum(int[]) - Static method in class smile.math.Math
-
Returns the sum of an array.
- sum(float[]) - Static method in class smile.math.Math
-
Returns the sum of an array.
- sum(double[]) - Static method in class smile.math.Math
-
Returns the sum of an array.
- sum() - Method in class smile.math.matrix.DenseMatrix
-
Returns the sum of all elements in the matrix.
- sum() - Method in class smile.math.matrix.JMatrix
-
- svd() - Method in class smile.math.matrix.DenseMatrix
-
Returns the singular value decomposition.
- svd(boolean) - Method in class smile.math.matrix.DenseMatrix
-
Returns the singular value decomposition.
- svd() - Method in class smile.math.matrix.JMatrix
-
- svd(int) - Method in class smile.math.matrix.Matrix
-
Find k largest approximate singular triples of a matrix by the
Lanczos algorithm.
- svd(int, double, int) - Method in class smile.math.matrix.Matrix
-
Find k largest approximate singular triples of a matrix by the
Lanczos algorithm.
- SVD - Class in smile.math.matrix
-
Singular Value Decomposition.
- SVD(DenseMatrix, DenseMatrix, double[]) - Constructor for class smile.math.matrix.SVD
-
Constructor.
- swap(int[], int, int) - Static method in class smile.math.Math
-
Swap two elements of an array.
- swap(float[], int, int) - Static method in class smile.math.Math
-
Swap two elements of an array.
- swap(double[], int, int) - Static method in class smile.math.Math
-
Swap two elements of an array.
- swap(Object[], int, int) - Static method in class smile.math.Math
-
Swap two elements of an array.
- swap(int[], int[]) - Static method in class smile.math.Math
-
Swap two arrays.
- swap(float[], float[]) - Static method in class smile.math.Math
-
Swap two arrays.
- swap(double[], double[]) - Static method in class smile.math.Math
-
Swap two arrays.
- swap(E[], E[]) - Static method in class smile.math.Math
-
Swap two arrays.
- swap(int[], int, int) - Static method in class smile.sort.SortUtils
-
Swap two positions.
- swap(float[], int, int) - Static method in class smile.sort.SortUtils
-
Swap two positions.
- swap(double[], int, int) - Static method in class smile.sort.SortUtils
-
Swap two positions.
- swap(Object[], int, int) - Static method in class smile.sort.SortUtils
-
Swap two positions.