CompAero/IsentropecRelations.py
def calc_mach_from_rho0_rho(rho0_rho: float, gamma: float) -> float:
        """Calculates the Mach number for a flow given the ratio of total density to static density

        Args:
            rho0_rho (float): Ratio of total density to static density
            gamma (float): ratio of specific heats

        Returns:
            float: mach number
        """

        return brenth(IsentropicRelations.calc_rho0_rho, 0, 30, args=(gamma, rho0_rho))
Calculates the Mach number for a flow given the ratio of total density to static density

        Args:
            rho0_rho (float): Ratio of total density to static density
            gamma (float): ratio of specific heats

        Returns:
            float: mach number
        
Calculates the Mach number for a flow given the ratio of total density to static density
Calculates the Mach number for a flow given the ratio of total density to static density
def calc_mach_from_rho0_rho(rho0_rho: float, gamma: float) -> float:
        return brenth(IsentropicRelations.calc_rho0_rho, 0, 30, args=(gamma, rho0_rho))
def calc_mach_from_rho0_rho ( rho0_rho : float , gamma : float ) -> float : return brenth ( IsentropicRelations . calc_rho0_rho , 0 , 30 , args = ( gamma , rho0_rho ) )
Calculates the Mach number for a flow given the ratio of total density to static density
Calculates the Mach number for a flow given the ratio of total density to static density
"""Calculates the Mach number for a flow given the ratio of total density to static density

        Args:
            rho0_rho (float): Ratio of total density to static density
            gamma (float): ratio of specific heats

        Returns:
            float: mach number
        """
None
float
rho0_rho
float
Ratio of total density to static density
Ratio of total density to static density
gamma
float
ratio of specific heats
ratio of specific heats