jnumeric
Class UnaryUfunc
- java.lang.Object
-
- org.python.core.PyObject
-
- jnumeric.UnaryUfunc
-
- All Implemented Interfaces:
- java.io.Serializable
public class UnaryUfunc extends PyObject
Function that accepts one PyMultiarray.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.python.core.PyObject
PyObject.ConversionException
-
-
Field Summary
Fields Modifier and Type Field and Description static jnumeric.UnaryFunctionarccosReturns arccos(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionarccoshReturns arccosh(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionarcsinReturns arcsin(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionarcsinhReturns arcsinh(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionarctanReturns arctan(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionarctanhReturns arctanh(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionceilReturns ceil(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionconjugateReturns conjugate(a) and stores the result in r if supplied.static jnumeric.UnaryFunctioncosReturns cos(a) and stores the result in r if supplied.static jnumeric.UnaryFunctioncoshReturns cosh(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionexpReturns exp(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionfloorReturns floor(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionimaginaryReturns imaginary(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionlogReturns log(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionlog10Returns log10(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionlogicalNotReturns the logical inverse of a and stores the result in r if supplied.static jnumeric.UnaryFunctionrealReturns real(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionsinReturns sin(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionsinhReturns sinh(a) and stores the result in r if supplied.static jnumeric.UnaryFunctionsqrtReturns sqrt(a) and stores the result in r if supplied.static jnumeric.UnaryFunctiontanReturns tan(a) and stores the result in r if supplied.static jnumeric.UnaryFunctiontanhReturns tanh(a) and stores the result in r if supplied.-
Fields inherited from class org.python.core.PyObject
gcMonitorGlobal, TYPE
-
-
Constructor Summary
Constructors Constructor and Description UnaryUfunc(jnumeric.UnaryFunction function)Wraps a UnaryFunction into a universal function.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description PyObject__call__(PyObject o)A variant of the __call__ method with one argument.PyObject__call__(PyObject o, PyMultiarray result)Two argument unary functions are provided for compatibility with CNumeric.PyObject__findattr_ex__(java.lang.String name)Attribute lookup hook.-
Methods inherited from class org.python.core.PyObject
__abs__, __add__, __and__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __cmp__, __coerce__, __coerce_ex__, __complex__, __contains__, __delattr__, __delattr__, __delete__, __delitem__, __delitem__, __delslice__, __delslice__, __dir__, __div__, __divmod__, __ensure_finalizer__, __eq__, __findattr__, __findattr__, __finditem__, __finditem__, __finditem__, __float__, __floordiv__, __format__, __ge__, __get__, __getattr__, __getattr__, __getitem__, __getitem__, __getnewargs__, __getslice__, __getslice__, __gt__, __hash__, __hex__, __iadd__, __iand__, __idiv__, __idivmod__, __ifloordiv__, __ilshift__, __imod__, __imul__, __index__, __int__, __invert__, __ior__, __ipow__, __irshift__, __isub__, __iter__, __iternext__, __itruediv__, __ixor__, __le__, __len__, __long__, __lshift__, __lt__, __mod__, __mul__, __ne__, __neg__, __nonzero__, __not__, __oct__, __or__, __pos__, __pow__, __pow__, __radd__, __rand__, __rdiv__, __rdivmod__, __reduce__, __reduce_ex__, __reduce_ex__, __repr__, __rfloordiv__, __rlshift__, __rmod__, __rmul__, __ror__, __rpow__, __rrshift__, __rshift__, __rsub__, __rtruediv__, __rxor__, __set__, __setattr__, __setattr__, __setitem__, __setitem__, __setitem__, __setslice__, __setslice__, __str__, __sub__, __tojava__, __truediv__, __trunc__, __unicode__, __xor__, _add, _and, _callextra, _cmp, _div, _divmod, _doget, _doget, _doset, _eq, _floordiv, _ge, _gt, _iadd, _iand, _idiv, _idivmod, _ifloordiv, _ilshift, _imod, _imul, _in, _ior, _ipow, _irshift, _is, _isnot, _isub, _itruediv, _ixor, _jcall, _jcallexc, _jthrow, _le, _lshift, _lt, _mod, _mul, _ne, _notin, _or, _pow, _rshift, _sub, _truediv, _xor, asDouble, asIndex, asIndex, asInt, asInt, asIterable, asLong, asLong, asName, asName, asString, asString, asStringOrNull, asStringOrNull, bit_length, conjugate, delDict, delType, dispatch__init__, equals, fastGetClass, fastGetDict, getDict, getType, hashCode, implementsDescrDelete, implementsDescrGet, implementsDescrSet, invoke, invoke, invoke, invoke, invoke, invoke, isCallable, isDataDescr, isIndex, isInteger, isMappingType, isNumberType, isSequenceType, noAttributeError, object___subclasshook__, readonlyAttributeError, setDict, setType, toString
-
-
-
-
Field Detail
-
arccos
public static final jnumeric.UnaryFunction arccos
Returns arccos(a) and stores the result in r if supplied.
-
arccosh
public static final jnumeric.UnaryFunction arccosh
Returns arccosh(a) and stores the result in r if supplied.
-
arcsin
public static final jnumeric.UnaryFunction arcsin
Returns arcsin(a) and stores the result in r if supplied.
-
arcsinh
public static final jnumeric.UnaryFunction arcsinh
Returns arcsinh(a) and stores the result in r if supplied.
-
arctan
public static final jnumeric.UnaryFunction arctan
Returns arctan(a) and stores the result in r if supplied.
-
arctanh
public static final jnumeric.UnaryFunction arctanh
Returns arctanh(a) and stores the result in r if supplied.
-
ceil
public static final jnumeric.UnaryFunction ceil
Returns ceil(a) and stores the result in r if supplied.
-
conjugate
public static final jnumeric.UnaryFunction conjugate
Returns conjugate(a) and stores the result in r if supplied.
-
cos
public static final jnumeric.UnaryFunction cos
Returns cos(a) and stores the result in r if supplied.
-
cosh
public static final jnumeric.UnaryFunction cosh
Returns cosh(a) and stores the result in r if supplied.
-
exp
public static final jnumeric.UnaryFunction exp
Returns exp(a) and stores the result in r if supplied.
-
floor
public static final jnumeric.UnaryFunction floor
Returns floor(a) and stores the result in r if supplied.
-
imaginary
public static final jnumeric.UnaryFunction imaginary
Returns imaginary(a) and stores the result in r if supplied.
-
log
public static final jnumeric.UnaryFunction log
Returns log(a) and stores the result in r if supplied.
-
log10
public static final jnumeric.UnaryFunction log10
Returns log10(a) and stores the result in r if supplied.
-
logicalNot
public static final jnumeric.UnaryFunction logicalNot
Returns the logical inverse of a and stores the result in r if supplied.
-
real
public static final jnumeric.UnaryFunction real
Returns real(a) and stores the result in r if supplied.
-
sin
public static final jnumeric.UnaryFunction sin
Returns sin(a) and stores the result in r if supplied.
-
sinh
public static final jnumeric.UnaryFunction sinh
Returns sinh(a) and stores the result in r if supplied.
-
sqrt
public static final jnumeric.UnaryFunction sqrt
Returns sqrt(a) and stores the result in r if supplied.
-
tan
public static final jnumeric.UnaryFunction tan
Returns tan(a) and stores the result in r if supplied.
-
tanh
public static final jnumeric.UnaryFunction tanh
Returns tanh(a) and stores the result in r if supplied.
-
-
Constructor Detail
-
UnaryUfunc
public UnaryUfunc(jnumeric.UnaryFunction function)
Wraps a UnaryFunction into a universal function.- Parameters:
function- The function to wrap
-
-
Method Detail
-
__findattr_ex__
public PyObject __findattr_ex__(java.lang.String name)
Description copied from class:PyObjectAttribute lookup hook. If the attribute is not found, null may be returned or a Py.AttributeError can be thrown, whatever is more correct, efficient and/or convenient for the implementing class. Client code should usePyObject.__getattr__(String)orPyObject.__findattr__(String). Both methods have a clear policy for failed lookups.- Overrides:
__findattr_ex__in classPyObject- Returns:
- The looked up value. May return null if the attribute is not found
-
__call__
public PyObject __call__(PyObject o)
Description copied from class:PyObjectA variant of the __call__ method with one argument. The default behavior is to invoke__call__(args, keywords)with the appropriate arguments. The only reason to override this function would be for improved performance.
-
__call__
public PyObject __call__(PyObject o, PyMultiarray result)
Two argument unary functions are provided for compatibility with CNumeric. As implemented, they are no more efficient in memory usage or speed than one argument unary functions (and perhaps less so).- Parameters:
o- Input arrayresult- Array to store the result- Returns:
- The result, which is the same as result
-
-
DataMelt 3.0 © DataMelt by jWork.ORG