- sparse.elemwise(func, *args, **kwargs)¶
Apply a function to any number of arguments.
The result of applying the function.
- Return type
ValueError – If the operation would result in a dense matrix, or if the operands don’t have broadcastable shapes.
A similar Numpy construct. Note that any
ufunccan be used as the
funcinput to this function.
Previously, operations with Numpy arrays were sometimes supported. Now, it is necessary to convert Numpy arrays to