private static void SoftmaxExample() { var matA = new NMatrix(1, 3, new double[] { 0.3, 2.9, 4.0 }); Console.WriteLine($"A: {matA.ToString()}"); var matResult = NMath.Softmax(matA); Console.WriteLine($"Softmax(A): {matResult.ToString()}"); }