code: def ChiSquared(k: vertex_constructor_param_types, label: Optional[str]=None) -> Vertex:
      
      return Double(context.jvm_view().ChiSquaredVertex, label, cast_to_integer_vertex(k))
docs: One to one constructor for mapping some shape of k to
      a matching shaped ChiSquared.
      
      :param k: the number of degrees of freedom