///<summary> /// Sttrips a surface: expiry by strike, from a flattened cube, excluding the strike headers. ///</summary> ///<param name="inputRange">The input data range.</param> ///<param name="tenorFilter">The tenor string to filter on.</param> ///<param name="numTenors">The number of tenors.</param> ///<param name="strikeArray">The strike array.</param> ///<returns></returns> public object[,] FilterSurfaceWithExpiries(Excel.Range inputRange, String tenorFilter, int numTenors, Double[] strikeArray) { var values = inputRange.get_Value(System.Reflection.Missing.Value) as object[, ]; return(DataRangeHelper.FilterSurfaceWithExpiries(values, tenorFilter, numTenors, strikeArray)); }