Skip to main content
21-Topaz II
April 28, 2016
Solved

About infix, prefix postfix operators

  • April 28, 2016
  • 2 replies
  • 2755 views

With the operators provided by mathcad, can we create the math operators <a, b> = ...., [A, B] = ...., ect? it does not seem feasible. Do you agree?

Otherwise, I would like very much, see clarifying examples.

Thank you very much.

Sincerely F.M.

Best answer by StuartBruff

F.M. wrote:

With the operators provided by mathcad, can we create the math operators <a, b> = ...., [A, B] = ...., ect? it does not seem feasible. Do you agree?

Otherwise, I would like very much, see clarifying examples.

No, I don't think it is possible ... except by visual overlaying tricks.   I've got a long, looonnnggg standing request for more mathematical notation support in Mathcad, including (but not limited to) Dirac bra-ket notation and function arguments as subscripts (eg, Ja(x ) rather than the programmer's notation J(a,x)).  Tree notation as a display option for nested arrays is another feature I've asked for (we've got a two-leaf input operator, but I'd like a multi-leaf variant as well).

I'd also like to have name aliases for operators (eg, add for +) to allow them to be used as function arguments (alternatively, to be able to press some key combination that deletes the placeholders and just leaves the operator symbol), eg, table(add,0,10) or table(+,0,10)).

Stuart

2 replies

23-Emerald V
April 28, 2016

F.M. wrote:

With the operators provided by mathcad, can we create the math operators <a, b> = ...., [A, B] = ...., ect? it does not seem feasible. Do you agree?

Otherwise, I would like very much, see clarifying examples.

No, I don't think it is possible ... except by visual overlaying tricks.   I've got a long, looonnnggg standing request for more mathematical notation support in Mathcad, including (but not limited to) Dirac bra-ket notation and function arguments as subscripts (eg, Ja(x ) rather than the programmer's notation J(a,x)).  Tree notation as a display option for nested arrays is another feature I've asked for (we've got a two-leaf input operator, but I'd like a multi-leaf variant as well).

I'd also like to have name aliases for operators (eg, add for +) to allow them to be used as function arguments (alternatively, to be able to press some key combination that deletes the placeholders and just leaves the operator symbol), eg, table(add,0,10) or table(+,0,10)).

Stuart

-MFra-21-Topaz IIAuthor
21-Topaz II
April 29, 2016

Thank you. Things, then, are as I feared!

Greetings

F.M.