/// <summary> /// Constructs a matrix with cells having ascending values. /// For debugging purposes. /// </summary> /// <param name="slices"></param> /// <param name="rows"></param> /// <param name="columns"></param> /// <returns></returns> public DoubleMatrix3D Ascending(int slices, int rows, int columns) { //Cern.Jet.Math.Functions F = Cern.Jet.Math.Functions.functions; return(Descending(slices, rows, columns).Assign(F1.Chain(F1.Neg, F1.Minus(slices * rows * columns)))); }