docs: public static TableFactor pointDistribution(VariableNumMap vars, Assignment... assignments) {
      TableFactorBuilder builder = new TableFactorBuilder(vars, SparseTensorBuilder.getFactory());
      for (int i = 0; i < assignments.length; i++) {
        builder.setWeight(assignments[i], 1.0);
      }
      // TODO: support for implicit repmat of the assignments.
  
      return builder.build();
    }