import { Matrix } from './Matrix' ; export class ComplexDiagonalMatrix extends Matrix { private static TYPENAME : string = 'diagonal matrix' ; param name param value param freeIndices param fixedIndices param validValue constructor ( name = '' , value = '' , freeIndices = [ ] , fixedIndices = [ ] , validValue = true , type = ComplexDiagonalMatrix . TYPENAME ) { super ( name , value , freeIndices , fixedIndices , validValue , type ) ; } public typename ( ) { return `complex ${ ComplexDiagonalMatrix . TYPENAME }` ; } public createConcreteType ( name , value , freeIndices , fixedIndices , validValue ) { return new ComplexDiagonalMatrix ( name , value , freeIndices , fixedIndices , validValue ) ; } }