Network.times_gamma

Network.times_gamma(x, edge=None, return_as: str = 'csr')[source]

Calculate x @ Gamma.

Parameters
xndarray or spmatrix

Argument.

edgeint, optional

If given, result of dot product of x and column slice is returned:

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

Return type of dot product if result is spmatrix.

Returns
ndarray or spmatrix

Dot product of x and Gamma.

See also

numpy.dot