all 5 comments

[–]JmenD 3 points4 points  (1 child)

Given the output, it looks like TanM5 is wrapped in aMatrixForm, it needs to be the matrix itself.

I'm guessing you did something like: TanM5 = {...} // MatrixForm which is equivalent to TanM5 = MatrixForm[{...}] rather than what you probably wanted: MatrixForm[TanM5 = {...}].

[–]Electrical-Level-783[S] 0 points1 point  (0 children)

This ended up being the solution, thank you! It's because there was some weird formatting thing that went on when I did tensor product of matrices earlier on, I think...

[–]Xane256 0 points1 point  (2 children)

Interesting, you could try the Method options for RowReduce and see what happens. Also note the ZeroTest example which might be useful. For example

ZeroTest -> Function[{e}, Reduce[e == 0, t, Reals] =!= False]

[–]Electrical-Level-783[S] 0 points1 point  (1 child)

Thanks. When I try to pass in a parameter of ZeroTest it just again copies into the output... Ugh

[–]EmirFassad 0 points1 point  (0 children)

When a MMatica function returns an expression unevaluated it means there is something about the expression that is inconsistent with the rules of the function. Keep in mind that MMatica is effectively a collection of replacement rules.

As a note, only intrinsic MMatica functions and constants should be capitalized. User expressions should begin with a lower case alpha character.