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 String
DEFAULT_FLOATING_POINT_FORMAT
static String
DEFAULT_INTEGER_FORMAT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
contentToString(String dataType, String name, String typeName, String format, BiFunction<Integer,String,String> printItem, int[] shape, int[] multipliers)
static String
dimsToString(int[] shape)
static String
printVector(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)
-
-