From e36eac94dd517bb69d3e5782516ee58942451991 Mon Sep 17 00:00:00 2001 From: Siddhesh Wani Date: Thu, 4 May 2017 16:15:18 +0530 Subject: Basic functions and image processing working with MSVC on windows x64 --- macros/FunctionAnnotation/FA_SZ_DEC2BASE.sci | 2 +- macros/FunctionAnnotation/FA_SZ_DEC2BIN.sci | 2 +- macros/FunctionAnnotation/FA_SZ_DEC2HEX.sci | 2 +- macros/FunctionAnnotation/FA_SZ_DEC2OCT.sci | 2 +- macros/FunctionAnnotation/FA_SZ_FACTOR.sci | 2 +- macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci | 2 +- macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci | 2 +- macros/FunctionAnnotation/FA_SZ_PRIMES.sci | 2 +- macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.sci | 2 +- macros/FunctionAnnotation/lib | Bin 0 -> 2256 bytes macros/FunctionAnnotation/names | 74 +++++++++++++++++++++ 11 files changed, 83 insertions(+), 9 deletions(-) create mode 100644 macros/FunctionAnnotation/lib create mode 100644 macros/FunctionAnnotation/names (limited to 'macros/FunctionAnnotation') diff --git a/macros/FunctionAnnotation/FA_SZ_DEC2BASE.sci b/macros/FunctionAnnotation/FA_SZ_DEC2BASE.sci index c5f39ab..4cd6467 100644 --- a/macros/FunctionAnnotation/FA_SZ_DEC2BASE.sci +++ b/macros/FunctionAnnotation/FA_SZ_DEC2BASE.sci @@ -12,7 +12,7 @@ if (isnum(in1val)) then //disp(out); else - error(36, "Wrong input argument '+in1val+'."); + error(36, "Wrong input argument "+in1val+"."); end if (in2_num>10) then diff --git a/macros/FunctionAnnotation/FA_SZ_DEC2BIN.sci b/macros/FunctionAnnotation/FA_SZ_DEC2BIN.sci index fc20525..75d0cb0 100644 --- a/macros/FunctionAnnotation/FA_SZ_DEC2BIN.sci +++ b/macros/FunctionAnnotation/FA_SZ_DEC2BIN.sci @@ -9,7 +9,7 @@ if (isnum(inval)) then //disp(out); else - error(36, "Wrong input argument '+inval+'."); + error(36, "Wrong input argument "+inval+"."); end diff --git a/macros/FunctionAnnotation/FA_SZ_DEC2HEX.sci b/macros/FunctionAnnotation/FA_SZ_DEC2HEX.sci index 688e1da..c1e0777 100644 --- a/macros/FunctionAnnotation/FA_SZ_DEC2HEX.sci +++ b/macros/FunctionAnnotation/FA_SZ_DEC2HEX.sci @@ -9,7 +9,7 @@ if (isnum(inval)) then //disp(out); else - error(36, "Wrong input argument '+inval+'."); + error(36, "Wrong input argument "+inval+"."); end diff --git a/macros/FunctionAnnotation/FA_SZ_DEC2OCT.sci b/macros/FunctionAnnotation/FA_SZ_DEC2OCT.sci index 44544cc..056d333 100644 --- a/macros/FunctionAnnotation/FA_SZ_DEC2OCT.sci +++ b/macros/FunctionAnnotation/FA_SZ_DEC2OCT.sci @@ -9,7 +9,7 @@ if (isnum(inval)) then //disp(out); else - error(36, "Wrong input argument '+inval+'."); + error(36, "Wrong input argument "+inval+"."); end diff --git a/macros/FunctionAnnotation/FA_SZ_FACTOR.sci b/macros/FunctionAnnotation/FA_SZ_FACTOR.sci index e44f036..d816ff7 100644 --- a/macros/FunctionAnnotation/FA_SZ_FACTOR.sci +++ b/macros/FunctionAnnotation/FA_SZ_FACTOR.sci @@ -9,7 +9,7 @@ if (isnum(inval)) then //disp(out); else - error(36, "Wrong input argument '+inval+'."); + error(36, "Wrong input argument "+inval+"."); end diff --git a/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci b/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci index bb02b98..5ff03a6 100644 --- a/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci +++ b/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci @@ -33,4 +33,4 @@ else end -endfunction: +endfunction diff --git a/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci b/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci index 69a816c..86f2aa7 100644 --- a/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci +++ b/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci @@ -30,4 +30,4 @@ SCI2CNInArgCheck(argn(1),1,1); in1num = string(eval(insize(1))); outsize = in1num; -endfunction: +endfunction diff --git a/macros/FunctionAnnotation/FA_SZ_PRIMES.sci b/macros/FunctionAnnotation/FA_SZ_PRIMES.sci index 7b94531..5a45068 100644 --- a/macros/FunctionAnnotation/FA_SZ_PRIMES.sci +++ b/macros/FunctionAnnotation/FA_SZ_PRIMES.sci @@ -9,7 +9,7 @@ if (isnum(inval)) then //disp(out); else - error(36, "Wrong input argument '+inval+'."); + error(36, "Wrong input argument "+inval+"."); end diff --git a/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.sci b/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.sci index f99d156..50b897e 100644 --- a/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.sci +++ b/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.sci @@ -44,7 +44,7 @@ elseif(inval == '2') then outsize(1) = string(in1num_c); outsize(2) = string(in1num_c + in2num_c); else - error(36, "Wrong input argument '+inval+'. Use 1 or 2 as first argument in cat command."); + error(36, "Wrong input argument "+inval+". Use 1 or 2 as first argument in cat command."); end endfunction diff --git a/macros/FunctionAnnotation/lib b/macros/FunctionAnnotation/lib new file mode 100644 index 0000000..d9cc476 Binary files /dev/null and b/macros/FunctionAnnotation/lib differ diff --git a/macros/FunctionAnnotation/names b/macros/FunctionAnnotation/names new file mode 100644 index 0000000..8962de0 --- /dev/null +++ b/macros/FunctionAnnotation/names @@ -0,0 +1,74 @@ +FA_ADD +FA_DIV +FA_GetDefaultPrecision +FA_GetFunAnn +FA_GetOutArgInfo +FA_GetResizeApproach +FA_INT +FA_MAX +FA_MIN +FA_MUL +FA_REAL +FA_SCHUR_SZ +FA_SCHUR_TP +FA_SUB +FA_SZ_1 +FA_SZ_2 +FA_SZ_COLUMN_DIAG +FA_SZ_COL_DIAG_IN_EX +FA_SZ_DEC2BASE +FA_SZ_DEC2BIN +FA_SZ_DEC2HEX +FA_SZ_DEC2OCT +FA_SZ_DIFF +FA_SZ_FACTOR +FA_SZ_FROM_VAL +FA_SZ_LINSPACE_ROW +FA_SZ_LQE +FA_SZ_LQR +FA_SZ_OBSCNT +FA_SZ_OPAPEX +FA_SZ_OPBACKSLASH +FA_SZ_OPCC +FA_SZ_OPDOTAPEX +FA_SZ_OPDOTBACKSLASH +FA_SZ_OPDOTHAT +FA_SZ_OPDOTSLASH +FA_SZ_OPDOTSTAR +FA_SZ_OPHAT +FA_SZ_OPLOGAND +FA_SZ_OPLOGEQ +FA_SZ_OPLOGGE +FA_SZ_OPLOGGT +FA_SZ_OPLOGLE +FA_SZ_OPLOGLT +FA_SZ_OPLOGNE +FA_SZ_OPLOGNOT +FA_SZ_OPLOGOR +FA_SZ_OPMINUS +FA_SZ_OPPLUS +FA_SZ_OPPLUSA +FA_SZ_OPRC +FA_SZ_OPSLASH +FA_SZ_OPSTAR +FA_SZ_PRIMES +FA_SZ_ROW_COLUMN_CAT +FA_SZ_ROW_DIAG +FA_SZ_ROW_DIAG_INS_EXT +FA_SZ_SEL1 +FA_SZ_SEL2 +FA_TP_C +FA_TP_COMPLEX +FA_TP_CVIMAGE +FA_TP_D +FA_TP_I +FA_TP_INT16 +FA_TP_INT8 +FA_TP_MAX +FA_TP_MIN_REAL +FA_TP_REAL +FA_TP_S +FA_TP_UINT16 +FA_TP_UINT8 +FA_TP_USER +FA_TP_Z -- cgit