Lines Matching refs:matB
24 var out, matA, matB, identity, result;
35 matB = [7, 8,
101 beforeEach(function() { result = mat2d.multiply(out, matA, matB); });
106 it("should not modify matB", function() { expect(matB).toBeEqualish(oldB); });
110 beforeEach(function() { result = mat2d.multiply(matA, matA, matB); });
114 it("should not modify matB", function() { expect(matB).toBeEqualish(oldB); });
117 describe("when matB is the output matrix", function() {
118 beforeEach(function() { result = mat2d.multiply(matB, matA, matB); });
120 it("should place values into matB", function() { expect(matB).toBeEqualish([25, 28, 57, 64, 100, 112]); });
121 it("should return matB", function() { expect(result).toBe(matB); });