Instance Method インスタンスメソッド

sum()

The sum of the scalars in the vector. ベクターの中のスカラーそれらの合計。

Declaration 宣言

func sum() -> Scalar
Available when Scalar conforms to FloatingPoint. ScalarFloatingPointに準拠する場合に利用可能です。