MCPcopy Create free account
hub / github.com/cvxpy/cvxpy / shape

Method shape

cvxpy/interface/base_matrix_interface.py:63–64  ·  view source on GitHub ↗
(self, matrix)

Source from the content-addressed store, hash-verified

61 # Return the dimensions of the matrix.
62 @abc.abstractmethod
63 def shape(self, matrix):
64 raise NotImplementedError()
65
66 # Get the matrix interpreted as a scalar.
67 @abc.abstractmethod

Callers 3

sizeMethod · 0.95
shapeFunction · 0.45
indexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected