mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-10 10:25:36 +01:00
clean up
This commit is contained in:
parent
c5d5a2cfe4
commit
897b5e3d0d
1 changed files with 0 additions and 4 deletions
|
|
@ -47,14 +47,10 @@ TCAD.math.Matrix.prototype.multiply = function(m) {
|
|||
var out = new TCAD.math.Matrix(nRows, nCols);
|
||||
|
||||
var outData = out.data;
|
||||
// Will hold a column of "m".
|
||||
var mCol = TCAD.math._arr(nSum);
|
||||
var mData = m.data;
|
||||
|
||||
// Multiply.
|
||||
for (var col = 0; col < nCols; col++) {
|
||||
// Copy all elements of column "col" of "m" so that
|
||||
// will be in contiguous memory.
|
||||
for (var mRow = 0; mRow < nSum; mRow++) {
|
||||
mCol[mRow] = mData[mRow][col];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue