RCAIDE.Library.Methods.Aerodynamics.Vortex_Lattice_Method.deflect_control_surface.flip_2#

flip_2(A, B, T1, T2)[source]#

This swaps values based on a double boolean

If T1 is false A and B are kept as is. T2 is not used

If T1 is true A and B are swapped T2 is applied at the second position

Assumptions: None

Source: N/A

Inputs: input_A [int,float,array] input_B [int,float,array] T1 [bool] T2 [bool/int/float]

Outputs: swapped or not values

Properties Used: N/A