Vector512.Lerp Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lerp(Vector512<Double>, Vector512<Double>, Vector512<Double>) |
Performs a linear interpolation between two vectors based on the given weighting. |
Lerp(Vector512<Single>, Vector512<Single>, Vector512<Single>) |
Performs a linear interpolation between two vectors based on the given weighting. |
Performs a linear interpolation between two vectors based on the given weighting.
public:
static System::Runtime::Intrinsics::Vector512<double> Lerp(System::Runtime::Intrinsics::Vector512<double> x, System::Runtime::Intrinsics::Vector512<double> y, System::Runtime::Intrinsics::Vector512<double> amount);
public static System.Runtime.Intrinsics.Vector512<double> Lerp(System.Runtime.Intrinsics.Vector512<double> x, System.Runtime.Intrinsics.Vector512<double> y, System.Runtime.Intrinsics.Vector512<double> amount);
static member Lerp : System.Runtime.Intrinsics.Vector512<double> * System.Runtime.Intrinsics.Vector512<double> * System.Runtime.Intrinsics.Vector512<double> -> System.Runtime.Intrinsics.Vector512<double>
Public Function Lerp (x As Vector512(Of Double), y As Vector512(Of Double), amount As Vector512(Of Double)) As Vector512(Of Double)
Parameters
Returns
The interpolated vector.
Applies to
.NET 10 and .NET 9
Product | Versions |
---|---|
.NET | 9, 10 |
Performs a linear interpolation between two vectors based on the given weighting.
public:
static System::Runtime::Intrinsics::Vector512<float> Lerp(System::Runtime::Intrinsics::Vector512<float> x, System::Runtime::Intrinsics::Vector512<float> y, System::Runtime::Intrinsics::Vector512<float> amount);
public static System.Runtime.Intrinsics.Vector512<float> Lerp(System.Runtime.Intrinsics.Vector512<float> x, System.Runtime.Intrinsics.Vector512<float> y, System.Runtime.Intrinsics.Vector512<float> amount);
static member Lerp : System.Runtime.Intrinsics.Vector512<single> * System.Runtime.Intrinsics.Vector512<single> * System.Runtime.Intrinsics.Vector512<single> -> System.Runtime.Intrinsics.Vector512<single>
Public Function Lerp (x As Vector512(Of Single), y As Vector512(Of Single), amount As Vector512(Of Single)) As Vector512(Of Single)
Parameters
Returns
The interpolated vector.
Applies to
.NET 10 and .NET 9
Product | Versions |
---|---|
.NET | 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: