1

I'm trying to print the dimensions of some Vector spaces, but I want to print strings with it so I can read the results more easily. I tried this

n = 0; While[dimF[n] > 0, StringForm["dimH_`1`=`2`", n, dimH[n]]; n++]

But it isn't printing anything.

Edmund
  • 42,267
  • 3
  • 51
  • 143
André Gomes
  • 187
  • 6

1 Answers1

1

I solved the problem doing this

n = 0; 
While[dimF[n] > 0,  Print["dimH_", n, "=", dimH[n]]; n++]
Kuba
  • 136,707
  • 13
  • 279
  • 740
André Gomes
  • 187
  • 6