SIMDTools

Platform Compatibility Swift Version

SIMDTools 提供了实用函数和扩展,用于在 Swift 中处理 SIMD 矩阵和向量。

概述

simd-tools 包包含:

请参阅该包的文档,以获取更详细的使用说明。

将 SIMDTools 添加为依赖项

要使用 SIMDTools 包,首先将其添加为依赖项

let package = Package(
    // name, platforms, products, etc.
    dependencies: [
        // other dependencies
        .package(url: "https://github.com/computer-graphics-tools/simd-tools", from: "0.0.1"),
    ],
    targets: [
        // targets
    ]
)

使用该包需要 Swift 5.9。

教程

用法

许可证

SIMDTools 基于 MIT 许可证