/// <summary> /// Performs a reversed element-wise subtraction on each column /// </summary> public DataFrame ReverseSubtract <T>(T value, bool inPlace = false) where T : unmanaged { DataFrame retDataFrame = inPlace ? this : new DataFrame(); for (int i = 0; i < Columns.Count; i++) { DataFrameColumn baseColumn = _columnCollection[i]; DataFrameColumn newColumn = baseColumn.ReverseSubtract(value, inPlace); if (inPlace) { retDataFrame.Columns[i] = newColumn; } else { retDataFrame.Columns.Insert(i, newColumn); } } return(retDataFrame); }