Generic Initializer

init(clamping:)

Creates a new vector from the given vector, clamping the values of the given vector’s elements if necessary. ある新しいベクターをこの与えられたベクターから作成します、与えられたベクターのもつ要素の値を必要に応じてクランプします。

Declaration 宣言

init<Other>(clamping other: SIMD8<Other>) where Other : FixedWidthInteger, Other : SIMDScalar
Available when Scalar conforms to FixedWidthInteger. ScalarFixedWidthIntegerに準拠する場合に利用可能です。

Parameters パラメータ

other

The vector to convert. 変換するベクター。