/// <summary>
 ///
 /// </summary>
 public static void Remap(this ISampledField <Vector3d> field, Interval3d from, Interval3d to, ISampledField <Vector3d> result, bool parallel = false)
 {
     if (parallel)
     {
         Matrix.Parallel.RemapColumns(field.Values, from, to, result.Values);
     }
     else
     {
         Matrix.RemapColumns(field.Values, from, to, result.Values);
     }
 }
 /// <summary>
 ///
 /// </summary>
 public static double Sum(this ISampledField <double> field)
 {
     return(Vector.Sum(field.Values));
 }
 /// <summary>
 ///
 /// </summary>
 public static void Evaluate(this ISampledField <Vector3d> field, Interval3d interval, ISampledField <Vector3d> result, bool parallel = false)
 {
     if (parallel)
     {
         Matrix.Parallel.EvaluateColumns(field.Values, interval, result.Values);
     }
     else
     {
         Matrix.EvaluateColumns(field.Values, interval, result.Values);
     }
 }