Network.gamma_times

Network.gamma_times(x, node=None, return_as: str = 'csr') scipy.sparse.base.spmatrix[source]

Calculate Gamma @ x.

Parameters
xndarray

Argument.

nodeint, optional

If given, result of dot product from row slice Gamma[node, :] and x is returned:

Gamma[node, :] @ x
return_asstr, default=”csr”

Return type of dot product if result is spmatrix.

Returns
ndarray or spmatrix

Dot product of Gamma and x.

See also

numpy.dot