Float64x2 withX(
double x
)

Returns a new Float64x2 copied from this with a new x value.

Source

/// Returns a new [Float64x2] copied from [this] with a new x value.
Float64x2 withX(double x);