1use crate::prelude::*;
2use crate::quantities::*;
3use crate::{
4 impl_div, impl_mul, impl_mul_relation_with_other, impl_mul_relation_with_self,
5 impl_mul_with_self, impl_sqrt,
6};
7use ndarray::{Array1, Array2};
8#[cfg(feature = "pyo3")]
9use pyo3::pymethods;
10
11impl_mul_relation_with_other!(Acceleration, Time, Velocity);
12impl_mul_relation_with_other!(Acceleration, Mass, Force);
13impl_mul_relation_with_other!(AngularVelocity, Time, Angle);
14impl_mul_relation_with_other!(AngularVelocity, Distance, Velocity);
15impl_mul_relation_with_other!(AngularAcceleration, Time, AngularVelocity);
16impl_mul_relation_with_other!(Area, Stress, Force);
17impl_mul_relation_with_other!(InverseDistance, Volume, Area);
18impl_mul_relation_with_other!(InverseArea, AreaOfMoment, Area);
19impl_mul_relation_with_other!(Distance, Volume, AreaOfMoment);
20impl_mul_relation_with_other!(Compliance, Force, Distance);
21impl_mul_relation_with_other!(Compliance, ForceArea, Volume);
22impl_mul_relation_with_other!(Density, Volume, Mass);
23impl_mul_relation_with_other!(Distance, Area, Volume);
24impl_mul_relation_with_other!(Distance, Stiffness, Force);
25impl_mul_relation_with_other!(Distance, InverseArea, InverseDistance);
26impl_mul_relation_with_other!(InverseDistance, Area, Distance);
27impl_mul_relation_with_other!(Velocity, Time, Distance);
28impl_mul_relation_with_other!(Force, Distance, ForceDistance);
29impl_mul_relation_with_other!(Force, Area, ForceArea);
30impl_mul_relation_with_other!(ForceArea, Distance, ForceVolume);
31impl_mul_relation_with_other!(AreaOfMoment, Stress, ForceArea);
32impl_mul_relation_with_other!(ForceDistance, Distance, ForceArea);
33impl_mul_relation_with_other!(Mass, VelocitySquared, ForceDistance);
34impl_mul_relation_with_other!(Voltage, Charge, ForceDistance);
35impl_mul_relation_with_other!(Stress, Volume, ForceDistance);
36impl_mul_relation_with_other!(ForcePerDistancePowerFour, Volume, Stiffness);
37impl_mul_relation_with_other!(ForcePerVolume, InverseDistance, ForcePerDistancePowerFour);
38impl_mul_relation_with_other!(ForcePerVolume, Volume, Force);
39impl_mul_relation_with_other!(Density, Acceleration, ForcePerVolume);
40impl_mul_relation_with_other!(ForcePerVolume, Area, MassPerTimeSquare);
41impl_mul_relation_with_other!(ForcePerVolume, Distance, MassPerDistanceTimeSquare);
42impl_mul_relation_with_other!(InverseDistance, Stress, ForcePerVolume);
43impl_mul_relation_with_other!(InverseDistance, ForceDistance, Force);
44impl_mul_relation_with_other!(MassPerDistanceTimeSquare, Distance, MassPerTimeSquare);
45impl_mul_relation_with_other!(Velocity, Distance, Time);
46
47impl_mul_relation_with_self!(Distance, Area);
48impl_mul_relation_with_self!(Area, AreaOfMoment);
49impl_mul_relation_with_self!(InverseDistance, InverseArea);
50impl_mul_relation_with_self!(Stress, StressSquared);