/// <summary> /// Creates a DenseAnsi from file(s) in sparse format. Throws an exception if the class cannot be created. /// </summary> /// <param name="inputSparsePattern">The name of a file (or a pattern matching several files). The file(s) are in sparse format.</param> /// <returns>The new DenseAnsi.</returns> public static DenseAnsi GetInstanceFromSparse(string inputSparsePattern) { DenseAnsi denseAnsi = new DenseAnsi(); denseAnsi.GetInstanceFromSparseInternal(inputSparsePattern); return(denseAnsi); }
public static DenseAnsi GetInstanceFromSparse(IEnumerable <RowKeyColKeyValue <string, string, char> > tripleEnumerable) { DenseAnsi denseAnsi = new DenseAnsi(); denseAnsi.GetInstanceFromSparseInternal(tripleEnumerable); return(denseAnsi); }