Skip to content

Commit 1509273

Browse files
committed
fix typo
1 parent 0300428 commit 1509273

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sim/model.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,8 @@ func (b *BaseModel) Observe(x, u, wn mat.Vector) (mat.Vector, error) {
122122
return out.ColView(0), nil
123123
}
124124

125-
// Dims returns input and output model dimensions.
126-
// n is state vector length, p is input vector length, q is
127-
// measured state length (output vector) and r is distrubance input length.
125+
// SystemDims returns internal state length (nx), input vector length (nu),
126+
// external/observable/output state length (ny) and disturbance vector length (nz).
128127
func (b *BaseModel) SystemDims() (nx, nu, ny, nz int) {
129128
nx, _ = b.A.Dims()
130129
if b.B != nil {

0 commit comments

Comments
 (0)