sunscreen_math 0.10.0

This crate contains GPU implementations that support the Sunscreen compiler.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::ring::Ring;

/// A trait for fields.
pub trait Field: Ring {
    /// Compute the inverse of `self`
    fn inverse(&self) -> Self;
}

/// A marker trait denoting this configuration is for a field
pub trait FieldConfig {}