/// <overloads>This operator is overloaded for all numeric types.</overloads> /// <summary> /// Elementwise division /// </summary> /// <param name="in1">dividend</param> /// <param name="in2">divisor</param> /// <returns>New ILArray of same type as in1 of the same size than in1 and in2 holding /// the elementwise division of both arrays: (return array = dividend ./ in2)</returns> /// <remarks>This operator is overloaded for all numeric datatypes: <![CDATA[ILArray<double>,ILArray<float>,ILArray<complex>,ILArray<fcomplex>,ILArray<byte>,ILArray<char>,ILArray<Int16>,ILArray<Int32>,ILArray<Int64>,ILArray<UInt16>,ILArray<UInt32>,ILArray<UInt64>,]]></remarks> public static ILArray <byte> operator /(ILArray <byte> in1, ILArray <BaseT> in2) { if (false) { } else if (in2 is ILArray <byte> ) { return(ILMath.divide(in1, in2 as ILArray <byte>)); } throw new Exception("Operator / not defined for " + in1.GetType().Name + " and " + in2.GetType().Name); }
/// <overloads>This operator is overloaded for all numeric types.</overloads> /// <summary> /// Elementwise division /// </summary> /// <param name="in1">dividend</param> /// <param name="in2">divisor</param> /// <returns>New ILArray of same type as in1 of the same size than in1 and in2 holding /// the elementwise division of both arrays: (return array = dividend ./ in2)</returns> /// <remarks>This operator is overloaded for all numeric datatypes: <![CDATA[ILArray<double>,ILArray<float>,ILArray<complex>,ILArray<fcomplex>,ILArray<byte>,ILArray<char>,ILArray<Int16>,ILArray<Int32>,ILArray<Int64>,ILArray<UInt16>,ILArray<UInt32>,ILArray<UInt64>,]]></remarks> public static /*!HC:outArr1*/ ILArray <double> operator /(/*!HC:inCls1*/ ILArray <double> in1, ILArray <BaseT> in2) { if (false) { } else if (in2 is /*!HC:inCls2*/ ILArray <double> ) { return(ILMath.divide(in1, in2 as /*!HC:inCls2*/ ILArray <double>)); } throw new Exception("Operator / not defined for " + in1.GetType().Name + " and " + in2.GetType().Name); }