class DiagonalMatrix extends AbstractRealMatrix implements Serializable {

    @Override
    public RealMatrix copy() {
        return new DiagonalMatrix(data);
    }

    public  DiagonalMatrix(final int dimension);
    public  DiagonalMatrix(final double[] d);
    public  DiagonalMatrix(final double[] d, final boolean copyArray);

}