| public |
_getScalar1D_getScalar1D(i as Long) as T |
Reads the typed scalar used by one-dimensional indexed mutations. |
| public |
_sliceAxes_sliceAxes(notnull specifications as Long[]) as NDArray<T> |
Internal entry point for multidimensional slice syntax. |
| public native |
abs |
Returns the element-wise absolute value. |
| public native |
acos |
Returns the element-wise arccosine. |
| public |
argMax |
First extremum index in row-major order over the reduced axes. |
| public |
argMax |
Returns the indices of the maximum values along one axis. |
| public |
argMax |
Returns the flat index of the maximum element. |
| public |
argMin |
First extremum index in row-major order over the reduced axes. |
| public |
argMin |
Returns the indices of the minimum values along one axis. |
| public |
argMin |
Returns the flat index of the minimum element. |
| public native |
asin |
Returns the element-wise arcsine. |
| public native |
atan |
Returns the element-wise arctangent. |
| public |
atan2 |
Returns the element-wise atan2(this, value). |
| public native |
atan2 |
Returns the element-wise atan2(this, other). |
| public |
binCount |
Counts occurrences of each non-negative integer, retaining exact ULong counts. |
| public |
binCount |
Weighted occurrence counts; each weight is added to its integer bin. |
| public native |
cbrt |
Returns the element-wise cube root. |
| public native |
ceil |
Applies ceil element-wise while preserving the array element type. |
| public |
copy |
Creates an independent contiguous copy with the same shape and dtype. |
| public |
correlate |
Direct discrete cross-correlation c[k] = sum(x[i+k] * other[i]). |
| public |
correlation |
Pearson correlation of two equally-sized 1D series. |
| public |
correlation |
Symmetric matrix of Pearson coefficients, without copying columns. |
| public native |
cos |
Returns the element-wise cosine in radians. |
| public native |
cosh |
Returns the element-wise hyperbolic cosine. |
| public |
covariance |
Sample covariance of two equally-sized 1D series, in Double. |
| public |
covariance |
Covariance matrix of 1D/2D observations, with O(variables squared) output. |
| public native |
degrees |
Converts each element from radians to degrees. |
| public |
digitize |
Assigns every element to a monotone sequence of bin boundaries. |
| public native |
exp |
Returns the element-wise exponential. |
| public native |
exp2 |
Returns the element-wise power of two. |
| public native |
expm1 |
Returns the element-wise exp(value) - 1. |
| public static |
eye |
Creates a new NDArray with ones on the diagonal and zeros elsewhere. |
| public |
flatten |
Copies the NDArray into an independent contiguous 1D array in row-major order. |
| public native |
floor |
Applies floor element-wise while preserving the array element type. |
| public |
fmod |
Returns the element-wise floating-point remainder with a scalar. |
| public native |
fmod |
Returns the element-wise floating-point remainder with another array. |
| public static |
full |
Creates a new NDArray filled with a given value. |
| public static |
full |
Creates a new NDArray filled with a given value. |
| public static |
full |
Accepts 64-bit signed shape dimensions without truncation. |
| public static |
full |
Creates a new NDArray filled with a given value. |
| public static |
full |
Accepts 64-bit unsigned shape dimensions without truncation. |
| public static |
full |
Creates a new NDArray filled with a given value using a tuple shape. |
| public |
getget(notnull indices as Long[]) as T |
Reads a scalar using one integer coordinate per axis, at any rank. |
| public |
getFlatgetFlat(index as Long) as T |
Reads an element by its row-major linear index, regardless of rank. |
| public |
histogram |
Histogram of all elements, flattened without copying the source. |
| public |
histogram |
Histogram with explicitly supplied finite ascending boundaries; source unchanged. |
| public |
histogram2D |
Joint histogram of paired 1D observations, without an N-by-2 temporary. |
| public |
histogram2D |
Joint histogram with separate bin counts for each coordinate. |
| public |
histogram2D |
Joint histogram with independently specified x/y edges. |
| public |
histogramBinEdges |
Computes only uniform histogram boundaries, without allocating/counting bins. |
| public |
histogramDD |
D-dimensional histogram of an [observations,coordinates] matrix (or 1D series). |
| public |
histogramDD |
D-dimensional histogram with one bin count per coordinate. |
| public |
histogramDD |
D-dimensional histogram with explicit coordinate edges; source unchanged. |
| public |
hypot |
Returns the element-wise Euclidean distance with a scalar. |
| public native |
hypot |
Returns the element-wise Euclidean distance with another array. |
| public static |
linspace |
Creates evenly spaced samples, including both endpoints by default. |
| public native |
log |
Returns the element-wise natural logarithm. |
| public native |
log10 |
Returns the element-wise base-10 logarithm. |
| public native |
log1p |
Returns the element-wise log(1 + value). |
| public native |
log2 |
Returns the element-wise base-2 logarithm. |
| public |
max |
Extreme values over several axes, retaining exact integer comparisons. |
| public |
max |
Returns maximum values along one axis. |
| public |
max |
Returns the maximum value of the array. |
| public |
mean |
Arithmetic mean over several axes, with FP64 accumulation. |
| public |
mean |
Computes the arithmetic mean along one axis. |
| public |
mean |
Computes the arithmetic mean of all elements. |
| public |
mean |
Weighted mean along axes; weights may be source-shaped or a flat reduced-slice vector. |
| public |
mean |
Weighted mean along axes; weights may be source-shaped or a flat reduced-slice vector. |
| public |
mean |
Weighted arithmetic mean of every selected element. |
| public |
median |
Exact sample median by axes; O(largest slice) reusable scratch, source unchanged. |
| public |
median |
Exact sample median by axes; O(largest slice) reusable scratch, source unchanged. |
| public |
median |
Exact sample median. |
| public |
min |
Extreme values over several axes, retaining exact integer comparisons. |
| public |
min |
Returns minimum values along one axis. |
| public |
min |
Returns the minimum value of the array. |
| public static |
ones |
Creates a new NDArray with ones. |
| public static |
ones |
Creates a new NDArray with ones. |
| public static |
ones |
Accepts 64-bit signed shape dimensions without truncation. |
| public static |
ones |
Creates a new NDArray with ones. |
| public static |
ones |
Accepts 64-bit unsigned shape dimensions without truncation. |
| public static |
ones |
Creates a new NDArray with ones from a tuple shape. |
| public |
peakToPeak |
Range (maximum minus minimum) along the selected axes, without materializing slices. |
| public |
peakToPeak |
Range (maximum minus minimum) along the selected axes, without materializing slices. |
| public |
peakToPeak |
Range (maximum minus minimum) of all selected elements, accumulated in Double. |
| public |
percentile |
Several sample percentiles, sharing quantile selection and scratch storage. |
| public |
percentile |
Multiple percentiles along one axis; sample scratch is shared across requests. |
| public |
percentile |
Exact sample percentile with q in [0,100] by axes; O(largest slice) reusable scratch, source unchanged. |
| public |
percentile |
Exact sample percentile with q in [0,100] by axes; O(largest slice) reusable scratch, source unchanged. |
| public |
percentile |
Exact sample percentile with q in [0,100]. |
| public native |
pow |
Raises each element to the matching power array. |
| public |
pow |
Raises each element to the given scalar power. |
| public |
quantile |
Several exact quantiles, sharing the same sample scratch per output lane. |
| public |
quantile |
Multiple quantiles along one axis; sample scratch is shared across requests. |
| public |
quantile |
Exact sample quantile with q in [0,1] by axes; O(largest slice) reusable scratch, source unchanged. |
| public |
quantile |
Exact sample quantile with q in [0,1] by axes; O(largest slice) reusable scratch, source unchanged. |
| public |
quantile |
Exact sample quantile with q in [0,1]. |
| public native |
radians |
Converts each element from degrees to radians. |
| public static |
randint |
Creates a NDArray with random integers in [min, max] using read-only shape dimensions. |
| public static |
randint |
Accepts 64-bit signed shape dimensions without truncation. |
| public static |
randint |
Creates a new NDArray with random integers. |
| public static |
randint |
Accepts 64-bit unsigned shape dimensions without truncation. |
| public static |
randint |
Creates a NDArray with random integers in [min, max] using a tuple shape. |
| public static |
randint |
Creates a 1D NDArray with random integers in [min, max]. |
| public static |
randn |
Creates a NDArray sampled from a standard normal distribution using read-only shape dimensions. |
| public static |
randn |
Accepts 64-bit signed shape dimensions without truncation. |
| public static |
randn |
Creates a new NDArray with random floating-point numbers from a normal distribution. |
| public static |
randn |
Accepts 64-bit unsigned shape dimensions without truncation. |
| public static |
randn |
Creates a NDArray sampled from a standard normal distribution using a tuple shape. |
| public static |
randn |
Creates a 1D NDArray sampled from a standard normal distribution. |
| public static |
random |
Creates a NDArray with random values in [0, 1) using read-only shape dimensions. |
| public static |
random |
Accepts 64-bit signed shape dimensions without truncation. |
| public static |
random |
Creates a new NDArray with random values in [0, 1). |
| public static |
random |
Accepts 64-bit unsigned shape dimensions without truncation. |
| public static |
random |
Creates a NDArray with random values in [0, 1) using a tuple shape. |
| public static |
random |
Creates a 1D NDArray with random values in [0, 1). |
| public |
reshape |
Reshapes using a vector mixing integer widths, such as ULong metadata and Int literals. |
| public |
reshape |
Reshapes the NDArray to the specified shape. |
| public |
reshape |
Accepts 64-bit signed shape dimensions without truncation. |
| public |
reshape |
Reshapes using unsigned 32-bit dimensions, without changing element order. |
| public |
reshape |
Reshapes using unsigned 64-bit dimensions, including existing shape metadata. |
| public |
reshape |
Reshapes the NDArray using a tuple shape. |
| public |
reshape |
Reshapes the NDArray using two dimensions. |
| public native |
round |
Rounds each element to the nearest integer value while preserving the array element type. |
| public |
setset(i as Long, value as T) as Void |
Sets one element in a 1D NDArray. |
| public |
setset(notnull indices as Long[], value as T) |
Writes one scalar using a complete coordinate vector, for any rank. |
| public |
setset(row as Long, col as Long, value as T) as Void |
Sets one element in a 2D NDArray. |
| public |
setFlatsetFlat(index as Long, value as T) as Void |
Writes an element by its row-major linear index without reshaping the array. |
| public native |
sin |
Returns the element-wise sine in radians. |
| public native |
sinh |
Returns the element-wise hyperbolic sine. |
| public |
sort |
Sorts the NDArray in place. |
| public |
sort |
Sorts the NDArray along one axis, in place. |
| public native |
sqrt |
Returns the element-wise square root. |
| public |
standardDeviation |
Standard deviation along the selected axes, without materializing slices. |
| public |
standardDeviation |
Standard deviation along the selected axes, without materializing slices. |
| public |
standardDeviation |
Standard deviation of all selected elements, accumulated in Double. |
| public native |
sum |
Computes the sum of all elements. |
| public |
sum |
Sum over several axes, preserving the source numeric element type. |
| public |
sum |
Computes the sum along one axis. |
| public |
sum |
Masked/NaN-aware global sum, retaining the numeric type of this array. |
| public native |
tan |
Returns the element-wise tangent in radians. |
| public native |
tanh |
Returns the element-wise hyperbolic tangent. |
| public |
toList |
Copies the array contents into a row-major ArrayList<T>. |
| public override |
toString |
Returns a string representation of the array. |
| public native |
trunc |
Applies trunc element-wise while preserving the array element type. |
| public |
variance |
Variance along the selected axes, without materializing slices. |
| public |
variance |
Variance along the selected axes, without materializing slices. |
| public |
variance |
Variance of all selected elements, accumulated in Double. |
| public static |
zeros |
Creates a new NDArray with zeros. |
| public static |
zeros |
Creates a new NDArray with zeros. |
| public static |
zeros |
Accepts 64-bit signed shape dimensions without truncation. |
| public static |
zeros |
Creates a new NDArray with zeros. |
| public static |
zeros |
Accepts 64-bit unsigned shape dimensions without truncation. |
| public static |
zeros |
Creates a new NDArray with zeros from a tuple shape. |