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

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

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

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

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

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