Mathcad15 How to format the output of the debug trace function
Hello,
I am trying to control the output of the trace() function for debugging.
Ideally I will want something like the fprintf function of several programming language to control the characters that the output displays.
It becomes really cumbersome to read the output if the vectors are not aligned as for instance
What I would like
Iteration 1
vec1_vector(3) [1.0000e-06, 0.0000e00 , 0.0000e00 ] __vec2 vector(3) [0.0000e00 , 0.0000e00 , 0.0000e00 ]
Iteration 2
vec1_vector(3) [1.6667e-06, 0.0000e00 , 1.3413e-02] __vec2 vector(3) [0.0000e00 , 1.3413e-01, 1.3413e-01]
Iteration 3
vec1_vector(3) [1.6667e-06, 2.4513e-01, 1.3413e-02] __vec2 vector(3) [2.4245e-01, 1.3413e-01, 1.3413e-01]
What I am getting
Iteration 1
vec1_vector(3) [1e-06, 0, 0] __vec2 vector(3) [0, 0, 0]
Iteration 2
vec1_vector(3) [1.16666666666667e-06, 0, 0.013413413] __vec2 vector(3) [0, 0.13413, 0.13413]
Iteration 3
vec1_vector(3) [1.16666666666667e-06, 0.24513435635647, 0.013413413] __vec2 vector(3) [0.2424542, 0.134113513, 0.13413]

