iheartla / Iheartla.github.io

0 stars 0 forks source link

[cpp/Eigen] Allow non-unicode 'exotic' output #8

Open pressureless opened 3 years ago

pressureless commented 3 years ago

Created by @SoufianeKHIAT:

C++ compiler in theory support Unicode character but in practice not really, which slower the usage of the generated code.

For instance with: https://cragl.cs.gmu.edu/iheartla/evaluation/gallery/plenoptic_modeling_22/index.html

Generate characters like: kᵣ, v̄, δ, ... Which can be replaced by: k_r, v_bar, delta, ...

In general greek letter can be upper and lower case for instance delta (δ) is different from Delta (Δ). And we can generate variable name with some convention. indicies [varname][indice] Some rules like with character decoration {hat, vec, bar, ...}