Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
MathPrettyPrinter
Commits
4fae08da
Commit
4fae08da
authored
Jul 04, 2018
by
0xJMR
Browse files
Removes solution operator.
parent
ed1baf9e
Pipeline
#60609
passed with stages
in 1 minute and 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/mpp/montimath/TeXMathPrettyPrinter.java
View file @
4fae08da
...
@@ -140,8 +140,10 @@ public class TeXMathPrettyPrinter extends MathPrettyPrinter implements TeXMathSt
...
@@ -140,8 +140,10 @@ public class TeXMathPrettyPrinter extends MathPrettyPrinter implements TeXMathSt
}
}
@Override
@Override
public
void
revisit
(
ASTMathArithmeticMatrixSolutionExpression
node
)
{
public
void
revisit
(
ASTMathArithmeticMatrixLeftDivideExpression
node
)
{
this
.
printer
.
print
(
"~\\backslash\\backslash~"
);
this
.
printSpace
();
this
.
printer
.
print
(
"~\\backslash~"
);
this
.
printSpace
();
}
}
@Override
@Override
...
...
src/test/resources/models/montimath/vanilla/SolEqu.m
View file @
4fae08da
...
@@ -2,8 +2,8 @@ package montimath.vanilla;
...
@@ -2,8 +2,8 @@ package montimath.vanilla;
script SolEqu
script SolEqu
Q^{3,1} A = [3 6 2; 1 2 8; 7 9 4] \
\
[2;3;4];
Q^{3,1} A = [3 6 2; 1 2 8; 7 9 4] \ [2;3;4];
Q^{3,1} Bmat = ([3/2 6/2 2/2; 1/2 2/2 8/2; 7/2 9/2 4/2]+[3/2 6/2 2/2; 1/2 2/2 8/2; 7/2 9/2 4/2]) \
\
[2;3;4];
Q^{3,1} Bmat = ([3/2 6/2 2/2; 1/2 2/2 8/2; 7/2 9/2 4/2]+[3/2 6/2 2/2; 1/2 2/2 8/2; 7/2 9/2 4/2]) \ [2;3;4];
//Q(0 m : 100 m)^{3,1} C = [3 m 6 m 2 m; 1 m 2 m 8 m; 7 m 9 m 4 m] \
\
[2 m*m;3 m*m;4 m*m];
//Q(0 m : 100 m)^{3,1} C = [3 m 6 m 2 m; 1 m 2 m 8 m; 7 m 9 m 4 m] \ [2 m*m;3 m*m;4 m*m];
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment