Returns the sum of two matrices.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- simd
Declaration
func simd_add(_ __x: simd _double2x2, _ __y: simd _double2x2) -> simd _double2x2
Returns the sum of two matrices.
SDKs
Framework
func simd_add(_ __x: simd _double2x2, _ __y: simd _double2x2) -> simd _double2x2
func simd _sub(simd _double2x2, simd _double2x2) -> simd _double2x2
Returns the difference of two matrices.
func simd _mul(Double, simd _double2x2) -> simd _double2x2
Returns the product of a scalar and a matrix.
func simd _mul(simd _double2x2, simd _double2x2) -> simd _double2x2
Returns the product of two matrices.
func simd _mul(simd _double3x2, simd _double2x3) -> simd _double2x2
Returns the product of two matrices.