Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of NumDot.
Checking the stable version of the documentation...
ndf
Inherits: Object
Contains NumDot functions returning 64-bit floats.
Description
All mathematical functions in this namespace return 64-bit floats. If you're planning to use the result of reductions in further tensor computations, use nd instead. Using this namespace may unintentionally promote the prevalent data type of computations.
Methods
|
max(a: |
|
mean(a: |
|
median(a: |
|
min(a: |
|
norm(a: |
|
prod(a: |
|
std(a: |
|
sum(a: |
|
sum_product(a: |
|
trace(v: |
|
var(a: |
Method Descriptions
float max(a: Variant) static 🔗
No-axis equivalent of nd.max() that returns a float.
float mean(a: Variant) static 🔗
No-axis equivalent of nd.mean() that returns a float.
float median(a: Variant) static 🔗
No-axis equivalent of nd.median() that returns a float.
float min(a: Variant) static 🔗
No-axis equivalent of nd.min() that returns a float.
float norm(a: Variant, ord: Variant = 2) static 🔗
No-axis equivalent of nd.norm() that returns a float.
float prod(a: Variant) static 🔗
No-axis equivalent of nd.prod() that returns a float.
float std(a: Variant) static 🔗
No-axis equivalent of nd.std() that returns a float.
float sum(a: Variant) static 🔗
No-axis equivalent of nd.sum() that returns a float.
float sum_product(a: Variant, b: Variant) static 🔗
No-axis equivalent of nd.sum_product() that returns a float.
float trace(v: Variant, offset: int = 0, axis1: int = 0, axis2: int = 1) static 🔗
2-D only equivalent of nd.trace() that returns a float.
float var(a: Variant) static 🔗
No-axis equivalent of nd.var() that returns a float.