Development helpers
This commit is contained in:
parent
2aa7f5f9b3
commit
c5ed91dfef
2 changed files with 28 additions and 0 deletions
2
Makefile
Normal file
2
Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
src/lib.rs: codegen/src/rust_gpu.rs
|
||||||
|
cd codegen && cargo run --
|
||||||
26
codegen/run
Executable file
26
codegen/run
Executable file
|
|
@ -0,0 +1,26 @@
|
||||||
|
# cargo run -- ppga2d:0,1,1;Scalar:1;MultiVector:1,e12,e1,e2|e0,e012,e01,-e02;Rotor:1,e12;Point:e12,e01,-e02;IdealPoint:e01,-e02;Plane:e0,e2,e1;Translator:1,e01,-e02;Motor:1,e12,e01,-e02;MotorDual:e012,e0,e2,e1
|
||||||
|
|
||||||
|
# ppga2d:0,1,1;
|
||||||
|
# Scalar:1;
|
||||||
|
# MultiVector:1,e12,e1,e2|e0,e012,e01,-e02;
|
||||||
|
# Rotor:1,e12;
|
||||||
|
# Point:e12,e01,-e02;
|
||||||
|
# IdealPoint:e01,-e02;
|
||||||
|
# Plane:e0,e2,e1;
|
||||||
|
# Translator:1,e01,-e02;
|
||||||
|
# Motor:1,e12,e01,-e02;
|
||||||
|
# MotorDual:e012,e0,e2,e1
|
||||||
|
|
||||||
|
# cga2d:1,1,1,-1;
|
||||||
|
# Scalar:1;
|
||||||
|
# MultiVector:1,e12,e1,e2|e0,e012,e01,-e02|e2,e3;
|
||||||
|
# Rotor:1,e12;
|
||||||
|
# Point:e12,e01,-e02;
|
||||||
|
# IdealPoint:e01,-e02;
|
||||||
|
# Plane:e0,e2,e1;
|
||||||
|
# Translator:1,e01,-e02;
|
||||||
|
# Motor:1,e12,e01,-e02;
|
||||||
|
# MotorDual:e012,e0,e2,e1
|
||||||
|
|
||||||
|
|
||||||
|
cargo run -- "cga2d:1,1,1,-1;Scalar:1;MultiVector:1,e12,e1,e2|e0,e012,e01,-e02;Rotor:1,e12;Point:e12,e01,-e02;IdealPoint:e01,-e02;Plane:e0,e2,e1;Translator:1,e01,-e02;Motor:1,e12,e01,-e02;MotorDual:e012,e0,e2,e1"
|
||||||
Loading…
Add table
Reference in a new issue