I'm no macro expert, but I think one could parse the variable names in a
macro to enable Tim Wheeler's as @subind Σ₁₁ to get Σ[1,1]
I see that most of the latex symbols representing digits cannot be used as
variable/field name, (e.g., \msansone, \mbfone). I guess this is a
deliberate choice, made to prevent disasters from happening when this kind
of notation is over abused. I have to say though that there are probably a
cou
On Tuesday, May 10, 2016 at 11:07:00 AM UTC-4, Tim Wheeler wrote:
>
> I would love to see a₁ automatically call getindex(a, 1). It would make
> math easier.
>
It would also make it impossible for you to have a scalar variable with a
name like a₁, which is pretty common.
I would love to see a₁ automatically call getindex(a, 1). It would make
math easier.
I'd love to be able to write:
b = μ₂ + Σ₁₂*(a₁ - μ₁)/Σ₁₁
Λ = Σ₂₂ - Σ₁₂*Σ₁₂/Σ₁₁
for μ::Vector{F<:Real}
and Σ::Matrix{F<:Real}
Σ could be accessed via Σ₁₁ to get Σ[1,1]. Of course this breaks down with
digits l