From 453598b49cb3d4a62b1797dbc90f0e3dd4521329 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Wed, 19 Apr 2017 11:56:09 +0530 Subject: Copyright message updated in added files and libraries separated in 'thirdparty' folder --- macros/FunctionAnnotation/FA_SZ_DIFF.sci | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'macros/FunctionAnnotation/FA_SZ_DIFF.sci') diff --git a/macros/FunctionAnnotation/FA_SZ_DIFF.sci b/macros/FunctionAnnotation/FA_SZ_DIFF.sci index df183100..5639ce77 100644 --- a/macros/FunctionAnnotation/FA_SZ_DIFF.sci +++ b/macros/FunctionAnnotation/FA_SZ_DIFF.sci @@ -1,4 +1,17 @@ -// Copyright (C) 2016 - IIT Bombay - FOSSEE +function outsize = FA_SZ_DIFF(in1size, in2val, in3val) +//function outsize = FA_SZ_DIFF(in1size, in2val, in3val) +// ----------------------------------------------------------------- +// Get size of output for diff function +// +// Input data: +// in1size: string specifying the size of first input argument. +// in2val: string specifying the value of second input argument. +// in3val: string specifying the value of third input argument. +// +// Output data: +// outsize: string containing the size for output argument. +// +// Copyright (C) 2017 - IIT Bombay - FOSSEE // // This file must be used under the terms of the CeCILL. // This source file is licensed as described in the file COPYING, which @@ -8,9 +21,15 @@ // Author: Siddhesh Wani // Organization: FOSSEE, IIT Bombay // Email: toolbox@scilab.in +// + +// ----------------------------------------------------------------- + +// ------------------------------ +// --- Check input arguments. --- +// ------------------------------ +SCI2CNInArgCheck(argn(3),3,3); -//This fucntion calulates size of output depending upon input -function outsize = FA_SZ_DIFF(in1size, in2val, in3val) in1size = string(in1size); in1row = eval(in1size(1)); in1col = eval(in1size(2)); -- cgit