/// <summary> /// = (end) /// </summary> /// <param name="colon"></param> public static double _(this ILArray <double> ilArray, ILNumerics.Misc.ILExpression index) { ILArray <double> result = ilArray[index]; if (!result.IsScalar) { throw new ApplicationException(); } return((double)result); }
/// <summary> /// (..., i:end, ...) /// </summary> /// <param name="colon">':'</param> /// <param name="ilExpression">~ end</param> protected static ILBaseArray _(int index, char colon, ILNumerics.Misc.ILExpression ilExpression) { return(ILMath.r(index - 1, ilExpression)); }
/// <summary> /// (..., end, ...) /// </summary> /// <param name="ilExpression">~ end</param> protected static ILNumerics.Misc.ILExpression _(ILNumerics.Misc.ILExpression ilExpression) { return(ilExpression); }