blockMatrixMax
Output vector of row- or column-wise maximum of the input matrix
Information
If rowMax = true, this block outputs the row-wise maximum
of the input matrix u,
otherwise it outputs the column-wise maximum of the input matrix u.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | rowMax | true | If true, outputs row-wise maximum, otherwise column-wise |
| Integer | nRow | Number of rows in input matrix | |
| Integer | nCol | Number of columns in input matrix |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput[nRow,nCol] | u | Input for the matrix max function | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput[if rowMax then size(u, 1) else size(u, 2)] | y | Output with vector of row- or colum-wise maximum of the input matrix |
Revisions
-
May 17, 2019, by Milica Grahovac:
First implementation.