예제 #1
0
        protected static double min(out int index, ILArray <double> ilArray)
        {
            ILArray <int>    idx;
            ILArray <double> result = MatlabCode.min(out idx, ilArray);

            index = idx._Scalar();

            return(result._Scalar());
        }
예제 #2
0
 protected static ILArray <double> nan(int size1, int size2)
 {
     return(double.NaN * MatlabCode.ones(size1, size2));
 }
예제 #3
0
 protected static ILArray <int> zeros_(int size1, int size2)
 {
     return(MatlabCode.zeros <int>(size1, size2));
 }
예제 #4
0
 protected static ILArray <double> zeros(int size1, int size2)
 {
     return(MatlabCode.zeros <double>(size1, size2));
 }
예제 #5
0
 protected static ILArray <double> _c(decimal start, decimal limit)
 {
     return(MatlabCode._c(start, 1, limit));
 }
예제 #6
0
 protected static ILArray <int> _c_(int start, int limit)
 {
     return(MatlabCode._c_(start, 1, limit));
 }
예제 #7
0
        protected static double max_(ILArray <double> ilArray)
        {
            ILArray <double> result = MatlabCode.max(ilArray);

            return(result._Scalar());
        }
예제 #8
0
        protected static int max_(ILArray <int> ilArray)
        {
            ILArray <int> result = MatlabCode.max(ilArray);

            return(result._Scalar());
        }
예제 #9
0
        protected static int round_(double value)
        {
            var result = MatlabCode.round(value);

            return((int)result);
        }
예제 #10
0
        protected static int floor_(double value)
        {
            var result = MatlabCode.floor(value);

            return((int)result);
        }
예제 #11
0
        protected static int ceil_(double value)
        {
            var result = MatlabCode.ceil(value);

            return((int)result);
        }
예제 #12
0
 protected static int length(ILArray <double> ilArray)
 {
     return(MatlabCode.length <double>(ilArray));
 }
예제 #13
0
 protected static int length(ILArray <int> ilArray)
 {
     return(MatlabCode.length <int>(ilArray));
 }