Skip to main content

deep_causality_algebra/algebra/
distributive.rs

1/*
2 * SPDX-License-Identifier: MIT
3 * Copyright (c) 2023 - 2026. The DeepCausality Authors and Contributors. All Rights Reserved.
4 */
5use crate::Float;
6
7/// Marker trait: Promises that a * (b + c)  == (a * b) + (a * c).
8pub trait Distributive {}
9
10impl<T> Distributive for T where T: Float {}