---
title: "simd_make_char2(_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/simd_make_char2(_:)-97vf3"
---

# simd_make_char2(_:)

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

## Declaration

```swift
func simd_make_char2(_ other: CChar) -> simd_char2
```

## See Also

### Functions to Create Two-Element Vectors From Scalar Values

- [simd_make_char2(_:_:)](simd/simd_make_char2(_:_:).md)
- [simd_make_char2_undef(_:)](simd/simd_make_char2_undef(_:).md)
