Skip to content

Commit

Permalink
Tidy up expanded output.
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneycb committed Aug 15, 2019
1 parent 0439ef5 commit 2702ca8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -5,7 +5,7 @@ const vsprintf = require('sprintf-js').vsprintf;

const ROW_TEMPLATE = "%s & %s & %s";
const MATRIX_TEMPLATE = "\\begin{bmatrix} %s \\\\ %s \\\\ %s \\end{bmatrix}";
const EXPANDED_ROW_TEMPLATE = "%s * x + %s * y + %s * z";
const EXPANDED_ROW_TEMPLATE = "%sx + %sy + %sz";

m1 = mathjs.matrix([
[mathjs.cos(toRadians(45)),0,mathjs.sin(toRadians(45))],
Expand Down

0 comments on commit 2702ca8

Please sign in to comment.