Commit graph

21 commits

Author SHA1 Message Date
Alexander Meißner
642d8bdbdb Replaces Scale trait by impl Mul<f32>. 2023-09-20 17:00:46 +02:00
Alexander Meißner
c806f94dc1 Improves MultiVectorClass::is_scalar(). 2023-09-20 16:50:56 +02:00
Alexander Meißner
d73b6a253c Blank scalars without the wrapper class. 2023-09-20 15:33:26 +02:00
Alexander Meißner
a7090ff329 Adds return data_type field to ExpressionContent::InvokeInstanceMethod. 2023-09-20 15:12:50 +02:00
Alexander Meißner
63d99f1583 Adds data type filed to ExpressionContent::Variable. 2023-09-20 15:04:33 +02:00
Alexander Meißner
a55d7a79c1 Derives Debug trait for Expression. 2023-09-20 15:04:33 +02:00
Alexander Meißner
ca88a2981c Uses element names instead of indices for the parameters of multivector constructors in rust. 2023-07-24 22:00:30 +02:00
Alexander Meißner
340ef20738 Adds element wise multiplication as Mul and division as Div. 2022-11-26 17:45:22 +01:00
Alexander Meißner
e9061a1105 Code cleanup. 2022-11-26 17:45:22 +01:00
Alexander Meißner
09948e3c3e Adds Scale trait. 2022-11-26 15:57:24 +01:00
Alexander Meißner
cdebda2e29 Moves implementation of Div to GeometricQuotient. 2022-11-26 14:43:06 +01:00
Alexander Meißner
48b86638a5 Removes Mul alias for GeometricProduct. 2022-11-26 14:43:06 +01:00
Alexander Meißner
1945e38881 Adds from_groups() constructors to Rust emitter. 2022-11-26 14:23:56 +01:00
Alexander Meißner
9e3f6959b5 Improves usability by providing accessor methods, index traits and conversion traits implementations. 2022-10-16 23:15:17 +02:00
Alexander Meißner
53e514d861 Adds more prebuilt projective geometric algebras.
Renames Automorph => Automorphism.
Renames Transpose => Reversal.
Renames Conjugate => Conjugation.
Removes Reflection (as that is covered by Transformation).
Fixes std::fmt::Display for BasisElement again (not only -1 but also 0).
2021-04-21 19:06:05 +02:00
Alexander Meißner
8c025b5dc2 Fixes std::fmt::Display for BasisElement. 2021-04-18 17:51:47 +02:00
Alexander Meißner
365ddcba44 Adds support for negative basis elements and fixes wrong duals. 2021-04-17 23:32:37 +02:00
Alexander Meißner
62f230ff9a Make order of traits in emitted code deterministic. 2021-04-17 15:57:15 +02:00
Alexander Meißner
b275827704 Implements debug, index and assign traits in Rust target. 2021-04-17 13:43:52 +02:00
Alexander Meißner
c5aefbc138 Moves simd crate in root crate 2021-04-04 16:31:23 +02:00
Alexander Meißner
07fa767cf5 Implements code generator for Rust and GLSL. 2021-03-27 15:09:46 +01:00