public WrapperLongMatrix2D(LongMatrix2D newContent) { if (newContent != null) try { setUp(newContent.rows(), newContent.columns()); } catch (IllegalArgumentException exc) { // we can hold rows*columns>Integer.MAX_VALUE cells ! if (!"matrix too large".equals(exc.getMessage())) throw exc; } this.content = newContent; }