| public |
abs |
Returns the element-wise absolute value. |
| public |
acos |
Returns the element-wise arccosine. |
| public |
asin |
Returns the element-wise arcsine. |
| public |
atan |
Returns the element-wise arctangent. |
| public |
atan2 |
Returns the element-wise `atan2(this, other)`. |
| public |
atan2 |
Returns the element-wise `atan2(this, value)`. |
| public |
cbrt |
Returns the element-wise cube root. |
| public |
ceil |
Applies `ceil` element-wise while preserving the array element type. |
| public |
cos |
Returns the element-wise cosine in radians. |
| public |
cosh |
Returns the element-wise hyperbolic cosine. |
| public |
degrees |
Converts each element from radians to degrees. |
| public |
exp |
Returns the element-wise exponential. |
| public |
exp2 |
Returns the element-wise power of two. |
| public |
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 |
floor |
Applies `floor` element-wise while preserving the array element type. |
| public |
fmod |
Returns the element-wise floating-point remainder with another array. |
| public |
fmod |
Returns the element-wise floating-point remainder with a scalar. |
| 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 another array. |
| public |
hypot |
Returns the element-wise Euclidean distance with a scalar. |
| public |
log |
Returns the element-wise natural logarithm. |
| public |
log10 |
Returns the element-wise base-10 logarithm. |
| public |
log1p |
Returns the element-wise `log(1 + value)`. |
| public |
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 |
pow |
Raises each element to the matching power array. |
| public |
pow |
Raises each element to the given scalar power. |
| public |
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 |
randintrandint(min as T, max as T, size as Int) as NDArray<T>: |
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 |
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 |
sin |
Returns the element-wise sine in radians. |
| public |
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 |
sqrt |
Returns the element-wise square root. |
| public |
sum |
Computes the sum of all elements. |
| public |
sum |
Computes the sum along one axis. |
| public |
tan |
Returns the element-wise tangent in radians. |
| public |
tanh |
Returns the element-wise hyperbolic tangent. |
| public |
toString |
Returns a string representation of the array. |
| public |
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. |