#NEWLINE# def outDegreeSequence( self ) : #NEWLINE# #INDENT# '\n        :returns: a vector of the (out)degree sequence for each vertex.\n        ' #NEWLINE# A = self . nativeAdjacencyMatrix ( ) #NEWLINE# degrees = numpy . array ( A . sum ( 1 ) , dtype = numpy . int32 ) . ravel ( ) #NEWLINE# return A