示例#1
0
        /// <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);
        }
示例#2
0
 /// <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));
 }
示例#3
0
 /// <summary>
 /// (..., end, ...)
 /// </summary>
 /// <param name="ilExpression">~ end</param>
 protected static ILNumerics.Misc.ILExpression _(ILNumerics.Misc.ILExpression ilExpression)
 {
     return(ilExpression);
 }