Function

simd_make_double4(_:)

Returns a new vector with the first, second, and third elements from a three-element vector, and other elements set to zero.

Declaration

func simd_make_double4(_ other: simd_double3) -> simd_double4

See Also

Vector Creation Functions

func simd_make_double4(simd_double8) -> simd_double4

Returns a new vector by truncating the specified vector.

func simd_make_double4(Double) -> simd_double4

Returns a new vector with the first element set to a scalar value, and other elements set to zero.

func simd_make_double4(simd_double2) -> simd_double4

Returns a new vector with the first and second elements from a two-element vector, and other elements set to zero.

func simd_make_double4(simd_double4) -> simd_double4

Returns a new vector from a four-element vector.

func simd_make_double4(Double, Double, simd_double2) -> simd_double4

Returns a new vector from 2 scalar values and a two-element vector.

func simd_make_double4(Double, simd_double2, Double) -> simd_double4

Returns a new vector from 2 scalar values and a two-element vector.

func simd_make_double4(simd_double2, Double, Double) -> simd_double4

Returns a new vector from 2 scalar values and a two-element vector.

func simd_make_double4(simd_double2, simd_double2) -> simd_double4

Returns a new vector from 2 two-element vectors.

func simd_make_double4(Double, simd_double3) -> simd_double4

Returns a new vector from a scalar value and a three-element vector.

func simd_make_double4(simd_double3, Double) -> simd_double4

Returns a new vector from a scalar value and a three-element vector.

func simd_make_double4_undef(Double) -> simd_double4

Returns a new vector with the first element set to a scalar value, and other elements undefined.

func simd_make_double4_undef(simd_double2) -> simd_double4

Returns a new vector with the first and second elements from a two-element vector, and other elements undefined.

func simd_make_double4_undef(simd_double3) -> simd_double4

Returns a new vector with the first, second, and third elements from a three-element vector, and other elements undefined.