public static Mass operator *(Duration duration, MassFlow massFlow) { return(Mass.FromKilograms(massFlow.KilogramsPerSecond * duration.Seconds)); }
public static Mass operator *(Volume volume, Density density) { return(Mass.FromKilograms(density.KilogramsPerCubicMeter * volume.CubicMeters)); }
public static Mass operator *(TimeSpan time, MassFlow massFlow) { return(Mass.FromKilograms(massFlow.KilogramsPerSecond * time.TotalSeconds)); }
/// <summary>Get the total <see cref="Mass"/> by dividing the component <see cref="Mass"/> by a <see cref="MassFraction"/>.</summary> public static Mass operator /(Mass mass, MassFraction massFraction) { return(Mass.FromKilograms(mass.Kilograms / massFraction.DecimalFractions)); }
/// <summary>Get <see cref="Mass"/> from <see cref="Mass"/> multiplied by a <see cref="MassFraction"/>.</summary> public static Mass operator *(MassFraction massFraction, Mass mass) { return(Mass.FromKilograms(massFraction.DecimalFractions * mass.Kilograms)); }
/// <summary>Get <see cref="Mass" /> from <see cref="MassConcentration" /> times <see cref="Volume" />.</summary> public static Mass operator *(MassConcentration density, Volume volume) { return(Mass.FromKilograms(density.KilogramsPerCubicMeter * volume.CubicMeters)); }
/// <summary>Get <see cref="Mass"/> from <see cref="Force"/> divided by <see cref="Acceleration"/>.</summary> public static Mass operator /(Force force, Acceleration acceleration) { return(Mass.FromKilograms(force.Newtons / acceleration.MetersPerSecondSquared)); }