/** * Parses {@link DenseVector} from the given Matrix Market string. * * @param mm the string in Matrix Market format * @return a parsed vector */ public static DenseVector fromMatrixMarket(String mm) { return Vector.fromMatrixMarket(mm).to(Vectors.DENSE); }