deep_causality_algebra 0.2.0

Abstract algebra traits (groups, rings, fields, algebras) and isomorphism markers for deep_causality.
Documentation
1
2
3
4
5
6
7
8
9
10
/*
 * SPDX-License-Identifier: MIT
 * Copyright (c) 2023 - 2026. The DeepCausality Authors and Contributors. All Rights Reserved.
 */
use crate::Float;

/// Marker trait: Promises that a * (b + c)  == (a * b) + (a * c).
pub trait Distributive {}

impl<T> Distributive for T where T: Float {}