allmatch
AllMatch()
self.match
is a matching function that matches all inputs.
match(X)
Since this matching function matches all inputs, this always returns an
all-ones matrix of shape (N, 1)
(with each entry corresponding to one
of the rows of the input matrix).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
X |
array of shape
|
Input matrix. |
required |
Returns:
Type | Description |
---|---|
array
|
Matching vector |