import { IMatrix } from './IMatrix' ; export default abstract class AbstractMatrix implements IMatrix { _v : Float32Array = new Float32Array ( ) ; at ( row_i , column_i ) { throw new Error ( 'Method not implemented.' ) ; } toString ( ) { throw new Error ( 'Method not implemented.' ) ; } toStringApproximately ( ) { throw new Error ( 'Method not implemented.' ) ; } flattenAsArray ( ) { throw new Error ( 'Method not implemented.' ) ; } isDummy ( ) { if ( this . _v . length === 0 ) { return true ; } else { return false ; } } v ( i ) { return this . _v [ i ] ; } determinant ( ) { throw new Error ( 'Method not implemented.' ) ; } get className ( ) : string { return this . constructor . name ; } get isIdentityMatrixClass ( ) : boolean { return false ; } isTheSourceSame ( arrayBuffer ) { return this . _v . buffer === arrayBuffer ; } }