A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python-control.readthedocs.io/en/stable/generated/control.negate.html below:

control.negate — Python Control Systems Library 0.10.2 documentation

Python Control Systems Library control.negate
control.negate(sys, **kwargs)[source]

Return the negative of a system.

Parameters:
sysscalar, array, or InputOutputSystem

I/O systems to negate.

Returns:
outInputOutputSystem

Negated system.

Other Parameters:
inputs, outputsstr, or list of str, optional

List of strings that name the individual signals. If not given, signal names will be of the form ‘s[i]’ (where ‘s’ is one of ‘u’, or ‘y’). See InputOutputSystem for more information.

statesstr, or list of str, optional

List of names for system states. If not given, state names will be of of the form ‘x[i]’ for interconnections of linear systems or ‘<subsys_name>.<state_name>’ for interconnected nonlinear systems.

namestring, optional

System name (used for specifying signals). If unspecified, a generic name ‘sys[id]’ is generated with a unique integer id.

Notes

This function is a wrapper for the __neg__ function in the StateSpace and TransferFunction classes. The output type is the same as the input type.

Examples

>>> G = ct.tf([2], [1, 1])
>>> G.dcgain()
np.float64(2.0)
>>> Gn = ct.negate(G) # Same as sys2 = -sys1.
>>> Gn.dcgain()
np.float64(-2.0)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4