Struct VelocityGradient
- Namespace
- H.Extensions.Unit
- Assembly
- H.Extensions.Unit.dll
public readonly struct VelocityGradient : IPhysicalQuantity
- Implements
- Inherited Members
- Extension Methods
Constructors
VelocityGradient(PhysicalQuantity)
public VelocityGradient(PhysicalQuantity q)
Parameters
VelocityGradient(double)
public VelocityGradient(double v)
Parameters
v
double
Properties
Dimensions
public Dimensions Dimensions { get; }
Property Value
Value
public double Value { get; init; }
Property Value
Methods
Compare(VelocityGradient, VelocityGradient)
public static int Compare(VelocityGradient v1, VelocityGradient v2)
Parameters
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Parse(string)
public static VelocityGradient Parse(string s)
Parameters
s
string
Returns
Parse(string, UnitsSystem)
public static VelocityGradient Parse(string s, UnitsSystem system)
Parameters
s
stringsystem
UnitsSystem
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
ToString(params Unit[])
public string ToString(params Unit[] units)
Parameters
units
Unit[]
Returns
ToString(UnitsSystem, FormatOption)
public string ToString(UnitsSystem system, UnitsSystem.FormatOption option)
Parameters
system
UnitsSystemoption
UnitsSystem.FormatOption
Returns
ToString(FormatOption)
public string ToString(UnitsSystem.FormatOption option)
Parameters
option
UnitsSystem.FormatOption
Returns
ToString(int, params Unit[])
public string ToString(int precision, params Unit[] units)
Parameters
Returns
TryParse(string, UnitsSystem, out VelocityGradient)
public static bool TryParse(string s, UnitsSystem system, out VelocityGradient q)
Parameters
s
stringsystem
UnitsSystemq
VelocityGradient
Returns
TryParse(string, out VelocityGradient)
public static bool TryParse(string s, out VelocityGradient q)
Parameters
Returns
Operators
operator +(VelocityGradient, VelocityGradient)
public static VelocityGradient operator +(VelocityGradient v1, VelocityGradient v2)
Parameters
Returns
operator /(VelocityGradient, Dimensionless)
public static VelocityGradient operator /(VelocityGradient v1, Dimensionless v2)
Parameters
Returns
operator /(VelocityGradient, VelocityGradient)
public static Dimensionless operator /(VelocityGradient v1, VelocityGradient v2)
Parameters
Returns
operator /(VelocityGradient, double)
public static VelocityGradient operator /(VelocityGradient v1, double v2)
Parameters
v1
VelocityGradientv2
double
Returns
operator /(VelocityGradient, int)
public static VelocityGradient operator /(VelocityGradient v1, int v2)
Parameters
v1
VelocityGradientv2
int
Returns
operator ==(VelocityGradient, VelocityGradient)
public static bool operator ==(VelocityGradient v1, VelocityGradient v2)
Parameters
Returns
operator >(VelocityGradient, VelocityGradient)
public static bool operator >(VelocityGradient v1, VelocityGradient v2)
Parameters
Returns
operator >=(VelocityGradient, VelocityGradient)
public static bool operator >=(VelocityGradient v1, VelocityGradient v2)
Parameters
Returns
operator !=(VelocityGradient, VelocityGradient)
public static bool operator !=(VelocityGradient v1, VelocityGradient v2)
Parameters
Returns
operator <(VelocityGradient, VelocityGradient)
public static bool operator <(VelocityGradient v1, VelocityGradient v2)
Parameters
Returns
operator <=(VelocityGradient, VelocityGradient)
public static bool operator <=(VelocityGradient v1, VelocityGradient v2)
Parameters
Returns
operator *(VelocityGradient, Area)
public static KinematicViscosity operator *(VelocityGradient v1, Area v2)
Parameters
v1
VelocityGradientv2
Area
Returns
operator *(VelocityGradient, CoefficientOfViscosity)
public static Pressure operator *(VelocityGradient v1, CoefficientOfViscosity v2)
Parameters
Returns
operator *(VelocityGradient, Dimensionless)
public static VelocityGradient operator *(VelocityGradient v1, Dimensionless v2)
Parameters
Returns
operator *(VelocityGradient, Length)
public static Velocity operator *(VelocityGradient v1, Length v2)
Parameters
v1
VelocityGradientv2
Length
Returns
operator *(VelocityGradient, double)
public static VelocityGradient operator *(VelocityGradient v1, double v2)
Parameters
v1
VelocityGradientv2
double
Returns
operator *(VelocityGradient, int)
public static VelocityGradient operator *(VelocityGradient v1, int v2)
Parameters
v1
VelocityGradientv2
int
Returns
operator *(double, VelocityGradient)
public static VelocityGradient operator *(double v1, VelocityGradient v2)
Parameters
v1
doublev2
VelocityGradient
Returns
operator -(VelocityGradient, VelocityGradient)
public static VelocityGradient operator -(VelocityGradient v1, VelocityGradient v2)
Parameters
Returns
operator -(VelocityGradient)
public static VelocityGradient operator -(VelocityGradient v)