Operations<T>.Convert To Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Convert | Converts an instance of the operand type to the specified type. |
Convert | Converts an instance of the operand type to the specified type. |
ConvertTo<U>(T)
Converts an instance of the operand type to the specified type.
public static U ConvertTo<U>(
T operand
)
Parameters
- operand T
Type Parameters
- U
- The type to convert to.
Return Value
Uvalue converted to a value of type U.
ConvertTo<U>(T, T, U)
Converts an instance of the operand type to the specified type.
public static U ConvertTo<U>(
T value,
T missingValue,
U toMissingValue
)
Parameters
Type Parameters
- U
- The type to convert to.
Return Value
Uvalue converted to a value of type U.