Class ValueUtil

java.lang.Object
tools.mdsd.probdist.api.apache.util.ValueUtil

public class ValueUtil extends Object
  • Constructor Details

    • ValueUtil

      public ValueUtil()
  • Method Details

    • asDoubleArray

      public static double[] asDoubleArray(List<NumericalValue> doubles)
    • asDoubleArray

      public static double[] asDoubleArray(Vector vector)
    • asDouble2DArray

      public static double[][] asDouble2DArray(Matrix matrix)
    • toValueList

      public static <T extends Value<?>> List<T> toValueList(double[] doubles, Function<Double,T> valueMapper)