Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.987 | IfStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 210 | Closure/closure/goog/math/matrix.js |
2 | 3 | 477 | Closure/closure/goog/math/matrix.js |
| ||||
if (!goog.math.Size.equals(this.size_, m.getSize( ))){ throw Error('Matrix summation is only supported on arrays of equal size'); } |
| ||||
if (!goog.math.Size.equals(this.size_, m.getSize( ))){ throw Error( 'Matrix subtraction is only supported on arrays of equal size.'); } |
| |||
if (!goog.math.Size.equals(this.size_,m.getSize( ))) { throw Error( [[#variable20e4b060]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#20e4b060]] | 'Matrix subtraction is only supported on arrays of equal size.' |
1 | 2 | [[#20e4b060]] | 'Matrix summation is only supported on arrays of equal size' |