A generic n-dimensionnal Array class serving as base for arbitrary length VectorN and MatrixN classes
Functions
abs | Return the absolute value of the argument. |
acos | Return the arc cosine (measured in radians) of x. |
acosh | Return the hyperbolic arc cosine (measured in radians) of x. |
all | all(a, [,axis=(axis0, axis1, ...)]) –> bool or Array of booleans |
angle | angle(u, v) –> float |
any | any(a [,axis=(axis0, axis1, ...)]) –> bool or Array of booleans |
asin | Return the arc sine (measured in radians) of x. |
asinh | Return the hyperbolic arc sine (measured in radians) of x. |
atan | Return the arc tangent (measured in radians) of x. |
atan2 | Return the arc tangent (measured in radians) of y/x. |
atanh | Return the hyperbolic arc tangent (measured in radians) of x. |
axis | axis(u, v[, normalize=False]) –> VectorN |
blend | blend(a, b[, weight=0.5]) : |
ceil | Return the ceiling of x as a float. |
clamp | Clamps the value x between min and max |
clsname | |
conjugate | the conjugate part of x |
copysign | Return x with the sign of y. |
cos | Return the cosine of x (measured in radians). |
cosh | Return the hyperbolic cosine of x. |
cotan | cotan(u, v) –> float : |
cross | cross(u, v) –> VectorN |
degrees | This function has been overriden from math.degrees to work element-wise on iterables |
det | det(m) –> float |
dist | dist(a, b[, axis=(axis0, axis1, ...)]) –> float or Array |
dot | dot(u, v) –> float |
exp | Return e raised to the power of x. |
fabs | Return the absolute value of the float x. |
factorial | Find x!. |
floor | Return the floor of x as a float. |
fmod | Return fmod(x, y), according to platform C. x % y may differ. |
frexp | Return the mantissa and exponent of x, as pair (m, e). |
fsum | sum(iterable) |
gamma | Gamma color correction of c with a single scalar gamma value g |
hermite | As the MEL command : This command returns x point along on x hermite curve from the five given control arguments. |
hermiteInterp | Hermite interpolation of x between points y0 and y1 of tangent slope s0 and s1 |
hypot | Return the Euclidean distance, sqrt(x*x + y*y). |
imag | the imaginary part of x |
inv | inv(m) –> MatrixN |
isNumeric | Returns True if an object is a number type, otherwise returns False. |
isinf | Checks if float x is infinite (positive or negative) |
isnan | Checks if float x is not a number (NaN) |
ldexp | This function has been overriden from math.ldexp to work element-wise on iterables |
length | length(a[, axis=(axis0, axis1, ...)]) –> numeric or Array |
linmap | Returns the value of a linear remapping function. |
linstep | Returns the value of a linear step function. |
log | If the base not specified, returns the natural logarithm (base e) of x. |
log10 | This function has been overriden from math.log10 to work element-wise on iterables |
log1p | Return the natural logarithm of 1+x (base e). |
max | max(iterable[, key=func[, axis=(axis0, axis1, ...)]]) –> value |
min | min(iterable[, key=func[, axis=(axis0, axis1, ...)]]) –> value |
modf | Return the fractional and integer parts of x. |
normal | normal(a[, axis=(axis0, axis1, ...)]) –> Array |
outer | outer(u, v) –> MatrixN |
patchMath | Overload various math functions to work element-wise on iterables |
pow | Return x**y (x to the power of y). |
prod | prod(a[, start=1[, axis=(axis0, axis1, ...)]]) –> numeric or Array |
radians | This function has been overriden from math.radians to work element-wise on iterables |
readonly | Marks a class member as protected, allowing metaProtected to prevent re-assignation on the classes it generates |
real | the real part of x |
round | Round a number to a given precision in decimal digits (default 0 digits). |
setRange | Resets x range from x linear interpolation of oldmin to oldmax to x linear interpolation from newmin to newmax |
sin | Return the sine of x (measured in radians). |
sinh | Return the hyperbolic sine of x. |
smoothmap | Returns the value of a smooth remapping function. |
smoothstep | Returns the value of a smooth step function. |
sqlength | sqlength(a[, axis=(axis0, axis1, ...)]) –> numeric or Array |
sqrt | Return the square root of x. |
sum | sum(a[, start=0[, axis=(axis0, axis1, ...)]]) –> numeric or Array |
tan | Return the tangent of x (measured in radians). |
tanh | Return the hyperbolic tangent of x. |
trunc | Truncates x to the nearest Integral toward 0. Uses the __trunc__ magic method. |
Classes
Array | A generic n-dimensional array class using nested lists for storage. |
ArrayIter | A general purpose iterator on Arrays. |
MatrixN | A generic size MatrixN class, basically a 2 dimensional Array. |
VectorN | A generic size VectorN class derived from Array, basically a 1 dimensional Array. |
metaReadOnlyAttr | A metaclass to allow to define read-only class attributes, accessible either on the class or it’s instances and protected against re-write or re-definition. |