Example #1
0
 /// <summary>
 /// Converts an array to a matrix with one element.
 /// </summary>
 /// <param name="arr">The array to be converted.</param>
 /// <returns>A jagged array a.k.a. matrix.</returns>
 public static double[][] AsMatrix(this double[] arr)
 {
     return(VectorUtilities.AsMatrix(arr));
 }