| public native |
abs |
Returns the element-wise absolute value. |
| public native |
acos |
Returns the element-wise arccosine. |
| 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 native |
cbrt |
Returns the element-wise cube root. |
| public native |
ceil |
Applies ceil element-wise while preserving the array element type. |
| public native |
cos |
Returns the element-wise cosine in radians. |
| public native |
cosh |
Returns the element-wise hyperbolic cosine. |
| public native |
degrees |
Converts each element from radians to degrees. |
| 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 |
Flattens the NDArray into a 1D array. |
| 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 |
fromList |
Creates a 2D NDArray from a nested list. |
| public static |
fromList |
Creates a 1D NDArray from a list. |
| 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 |
Creates a new NDArray filled with a given value. |
| public static |
full |
Creates a new NDArray filled with a given value using a tuple shape. |
| public |
hypot |
Returns the element-wise Euclidean distance with a scalar. |
| public native |
hypot |
Returns the element-wise Euclidean distance with another array. |
| 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 |
Returns the maximum value of the array. |
| 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 |
Creates a new NDArray with ones. |
| public static |
ones |
Creates a new NDArray with ones from a tuple shape. |
| public native |
pow |
Raises each element to the matching power array. |
| public |
pow |
Raises each element to the given scalar power. |
| 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 |
Creates a new NDArray with random integers. |
| 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 normal-like distribution using read-only shape dimensions. |
| public static |
randn |
Creates a new NDArray with random floating-point numbers from a normal distribution. |
| public static |
randn |
Creates a NDArray sampled from a normal-like distribution using a tuple shape. |
| public static |
randn |
Creates a 1D NDArray sampled from a normal-like distribution. |
| public static |
random |
Creates a NDArray with random values in [0, 1) using read-only shape dimensions. |
| public static |
random |
Creates a new NDArray with random values in [0, 1). |
| 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 the NDArray using two dimensions. |
| public |
reshape |
Reshapes the NDArray to the specified shape. |
| public |
reshape |
Reshapes the NDArray using a tuple shape. |
| public native |
round |
Rounds each element to the nearest integer value while preserving the array element type. |
| public |
setset(i as Int, value as T) as Void: |
Sets one element in a 1D NDArray. |
| public |
setset(row as Int, col as Int, value as T) as Void: |
Sets one element in a 2D NDArray. |
| 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 native |
sum |
Computes the sum of all elements. |
| public |
sum |
Computes the sum along one axis. |
| public native |
tan |
Returns the element-wise tangent in radians. |
| public native |
tanh |
Returns the element-wise hyperbolic tangent. |
| public |
toString |
Returns a string representation of the array. |
| public native |
trunc |
Applies trunc element-wise while preserving the array element type. |
| public static |
zeros |
Creates a new NDArray with zeros. |
| public static |
zeros |
Creates a new NDArray with zeros. |
| public static |
zeros |
Creates a new NDArray with zeros. |
| public static |
zeros |
Creates a new NDArray with zeros from a tuple shape. |