Skip to main content
Best answer by Werner_E

What do you expect e2(..) to be?
You never defined that function anywhere, so of course Prime does not know what to do.

Maybe you are trying to duplicate something from a source, where the author had defined a function e2( ) (obviously a function which should do some row operations on the input matrix). So you will have to look for that function definition and retype it as well in front of the failing expression.

EDIT: By chance I found it. You seem to work on the examples in the Prime help. Here the function e2( ) is defined and you have to copy the definition of that function to your worksheet so you use it. Its not a standard built-in function.

Once you copy it to your worksheet (anywhere above the first usage) you get the desired result:

Werner_E_0-1688658598204.png

 

3 replies

23-Emerald IV
July 2, 2023

Please attach your Prime worksheet, not just a picture

 

Success!

Luc

1-Visitor
July 6, 2023

the file is attached here 

25-Diamond I
July 2, 2023

@RR_10728663 wrote:

I use matchad prime 8 and for some reason this row operation doesn't work I can't seem to figure out why

 


Which row operation???

 

How would anybody be able to help without seeing how your function e2( ) is defined?

You don't even say which error message you get! Is it something along the line "variable not defined"? Then you may be another victim of Primes faulty auto-labelling.

 

So I only can second what Luc had written - attach your worksheet!

Werner_E25-Diamond IAnswer
25-Diamond I
July 6, 2023

What do you expect e2(..) to be?
You never defined that function anywhere, so of course Prime does not know what to do.

Maybe you are trying to duplicate something from a source, where the author had defined a function e2( ) (obviously a function which should do some row operations on the input matrix). So you will have to look for that function definition and retype it as well in front of the failing expression.

EDIT: By chance I found it. You seem to work on the examples in the Prime help. Here the function e2( ) is defined and you have to copy the definition of that function to your worksheet so you use it. Its not a standard built-in function.

Once you copy it to your worksheet (anywhere above the first usage) you get the desired result:

Werner_E_0-1688658598204.png

 

25-Diamond I
July 6, 2023

Some additional remarks:

The function e2 stems from the times of real Mathcad and was taken over in Prime without much thinking.
Even in real Mathcad it could have been written a bit simpler

Werner_E_0-1688668360880.png

Prime is one step (actually quite a lot of steps) backward but there are still some rare bits which can be considered an improvement. One of them is the introduction of the row selector. Using it the function can be written straightforward

Werner_E_1-1688668583639.png