Class Printer
- java.lang.Object
-
- io.github.hakkelt.ndarrays.internal.Printer
-
public class Printer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_FLOATING_POINT_FORMATstatic StringDEFAULT_INTEGER_FORMAT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringcontentToString(String dataType, String name, String typeName, String format, BiFunction<Integer,String,String> printItem, int[] shape, int[] multipliers)static StringdimsToString(int[] shape)static StringprintVector(int[] indices)
-
-
-
Field Detail
-
DEFAULT_INTEGER_FORMAT
public static final String DEFAULT_INTEGER_FORMAT
- See Also:
- Constant Field Values
-
DEFAULT_FLOATING_POINT_FORMAT
public static final String DEFAULT_FLOATING_POINT_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
contentToString
public static String contentToString(String dataType, String name, String typeName, String format, BiFunction<Integer,String,String> printItem, int[] shape, int[] multipliers)
-
dimsToString
public static String dimsToString(int[] shape)
-
printVector
public static String printVector(int[] indices)
-
-