Added doublearray implementations for convenience