diff options
144 files changed, 4459 insertions, 0 deletions
diff --git a/DESCRIPTION b/DESCRIPTION new file mode 100644 index 0000000..32ad281 --- /dev/null +++ b/DESCRIPTION @@ -0,0 +1,85 @@ +// Modify this file to provide a description of your toolbox. +// This file is used by Atoms GUI in scilab, to show information about the toolbox. +// +// Note that it will NOT be used when publishing your toolbox on http://atoms.scilab.org; +// the present file is only used if you distribute your toolbox yourself. +// On the http://atoms.scilab.org site, only the information you provide there is used. +// +// +// Lines starting with // are comments +// (you can remove all the comments designed to help you) +// Lines starting with a space are continuation of the previous field. +// Empty lines separate fields. + + +// Unique identifier for this toolbox. +// It must be alphanumeric, start with a letter and contain neither space +// nor special characters other than underscore or dash. +Toolbox: toolbox_skeleton + +// Human-friendly name for your toolbox +Title: Toolbox Skeleton + +// One-line description for your toolbox +Summary: Skeleton of a valid atoms package + +// Version number, in format 'major.minor.patch', or +// 'major.minor.patch', where all fields are numbers. +// If you are just starting your toolbox, you should use '0.1' or '0.1.0'. +// Use '1.0' or '1.0.0' for a tested, good quality first version. +Version: 0.1.0 + +// Name(s) of the author(s) of this toolbox. +// They are usually the original copyright holders +// (persons or entities) +Author: Your Name + Other Author + +// Name(s) and email address(es) of the person(s) maintaining this toolbox +Maintainer: Your Name <name@address.com> + Other Maintainer <othername@address.com> + +// Categories that this toolbox belongs to. +// The toolbox will appear in the Scilab Atoms GUI +// under the categories that you select here. +Category: biology - Robotic_2 + CatB - SScat2 + biology - modelisation_III + +// Name of the institution (company, university, lab...) who has developped the toolbox. +// If you developped the toolbox as an individual, then just enter "private individual" +Entity: Scilab Enterprises + +// Optional website that has more information about this toolbox +WebSite: http://www.scilab.org + +// License under which the toolbox will be published +License: GPL 2.0 + +// Version of Scilab supported by this toolbox, +// prefixed by =, >= ... +ScilabVersion: >= 6.0 + +// Other toolbox(es) that must be installed in order +// this toolboxes to work. Atoms will automatically ensure that +// the dependent toolboxes listed here are installed on the user's +// Scilab installation. +// Each toolbox dependency must be in format: +// <operator> <toolbox name> <toolbox version|any> +// where operator can be: ~, >, <, >=, <= +// If multiple dependencies, put one per line (starting each line with a space) +Depends: + +// Creation date +Date: 2016-03-01 + +Description: Succinct presentation of this toolbox. + + It should cover: + - What problem the toolbox solves, + - If it requires any third-party software or hardware, + and how to install them, + - Some basics about how to use it, such as an example of use. + but ensuring that each line starts with a space. + + diff --git a/builder.sce b/builder.sce new file mode 100644 index 0000000..02dce1b --- /dev/null +++ b/builder.sce @@ -0,0 +1,52 @@ +// Copyright (C) 2008 - INRIA +// Copyright (C) 2009-2011 - DIGITEO + +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +mode(-1); +lines(0); + +function main_builder() + TOOLBOX_NAME = "scilab_toolbox"; + TOOLBOX_TITLE = "scilab_toolbox"; + toolbox_dir = get_absolute_file_path("builder.sce"); + + // Check Scilab's version + // ============================================================================= + + try + v = getversion("scilab"); + catch + error(gettext("Scilab 5.3 or more is required.")); + end + + if v(1) < 5 & v(2) < 3 then + // new API in scilab 5.3 + error(gettext("Scilab 5.3 or more is required.")); + end + + // Check modules_manager module availability + // ============================================================================= + + if ~isdef("tbx_build_loader") then + error(msprintf(gettext("%s module not installed."), "modules_manager")); + end + + // Action + // ============================================================================= + + tbx_builder_macros(toolbox_dir); + tbx_builder_src(toolbox_dir); + tbx_builder_gateway(toolbox_dir); + tbx_build_localization(toolbox_dir); + tbx_builder_help(toolbox_dir); + tbx_build_loader(toolbox_dir); + tbx_build_cleaner(toolbox_dir); + +endfunction +// ============================================================================= +main_builder(); +clear main_builder; // remove main_builder on stack +// ============================================================================= + + diff --git a/changelog.txt b/changelog.txt new file mode 100644 index 0000000..1ebfa89 --- /dev/null +++ b/changelog.txt @@ -0,0 +1,13 @@ +changelog of the toolbox_skeleton + +Please update this file to describe the modifications of your toolbox + +A format of change log could be: + + +toolbox_skeleton (version) + * Change 1 + * Change 2 + * ... + -- Author <author@email.com> Tue, 18 Dec 2007 14:50:02 +0100 + diff --git a/cleaner.sce b/cleaner.sce new file mode 100644 index 0000000..aab2d3e --- /dev/null +++ b/cleaner.sce @@ -0,0 +1,64 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder.sce: Please, do not edit this file + +oldmode = mode(); +oldlines = lines()(2); +lines(0); + +function perform_clean() + root_tlbx = get_absolute_file_path('cleaner.sce'); + + if isfile(root_tlbx + '/macros/cleanmacros.sce') then + exec(root_tlbx+'/macros/cleanmacros.sce'); + else + if isdir(root_tlbx + "/macros/") then + deletefile(root_tlbx + "/macros/lib"); + binfiles = findfiles(root_tlbx + "/macros/", "*.bin"); + if ~isempty(binfiles) then + deletefile(root_tlbx + "/macros/" + binfiles); + end + end + end + + if isfile(root_tlbx + "/src/cleaner_src.sce") then + exec(root_tlbx + "/src/cleaner_src.sce"); + mdelete(root_tlbx + "/src/cleaner_src.sce"); + end + + if isfile(root_tlbx + "/sci_gateway/cleaner_gateway.sce") then + exec(root_tlbx + "/sci_gateway/cleaner_gateway.sce"); + mdelete(root_tlbx + "/sci_gateway/cleaner_gateway.sce"); + end + + if isfile(root_tlbx + "/help/cleaner_help.sce") then + exec(root_tlbx + "/help/cleaner_help.sce"); + else + if isdir(root_tlbx + "/jar/") then + rmdir(root_tlbx + "/jar/", "s"); + end + end + + if isfile(root_tlbx + "/loader.sce") then + mdelete(root_tlbx + "/loader.sce"); + end + + if isfile(root_tlbx + "/unloader.sce") then + mdelete(root_tlbx + "/unloader.sce"); + end +endfunction + +try + perform_clean(); +catch + [errmsg, tmp, nline, func] = lasterror(); + msg = "%s: error on line #%d: ""%s""\n"; + msg = msprintf(msg, func, nline, errmsg); + lines(oldlines); + mode(oldmode); + clear perform_clean oldlines oldmode tmp nline func errmsg; + error(msg); +end + +lines(oldlines) +mode(oldmode); +clear perform_clean oldlines oldmode; diff --git a/demos/c_sum.dem.sce b/demos/c_sum.dem.sce new file mode 100644 index 0000000..68ea6d0 --- /dev/null +++ b/demos/c_sum.dem.sce @@ -0,0 +1,16 @@ +// +// This file is released under the 3-clause BSD license. See COPYING-BSD. + + +function demo_c_sum() + + mode(-1); + lines(0); + + disp("c_sum(3,4)"); + disp(c_sum(3,4)); + +endfunction + +demo_c_sum(); +clear demo_c_sum; diff --git a/demos/cpp_find.dem.sce b/demos/cpp_find.dem.sce new file mode 100644 index 0000000..5614737 --- /dev/null +++ b/demos/cpp_find.dem.sce @@ -0,0 +1,18 @@ +// +// This file is released under the 3-clause BSD license. See COPYING-BSD. + + +function demo_cpp_find() + mode(-1); + lines(0); + + disp("cpp_find(''Scilab is a numerical computational package'',''numerical'')"); + disp("position : " + string(cpp_find("Scilab is a numerical computational package","numerical"))); + disp("cpp_find(''Scilab is a numerical computational package'',''package'')"); + disp("position: " + string(cpp_find("Scilab is a numerical computational package","package"))); + +endfunction + + +demo_cpp_find(); +clear demo_cpp_find;
\ No newline at end of file diff --git a/demos/fortran_sum.dem.sce b/demos/fortran_sum.dem.sce new file mode 100644 index 0000000..de96506 --- /dev/null +++ b/demos/fortran_sum.dem.sce @@ -0,0 +1,16 @@ +// +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function demo_fortran_sum() + + mode(-1); + lines(0); + + disp("fortran_sum(3,4)"); + disp(fortran_sum(3,4)); + +endfunction + +demo_fortran_sum(); +clear demo_fortran_sum; + diff --git a/demos/scilab_sum.dem.sce b/demos/scilab_sum.dem.sce new file mode 100644 index 0000000..6e872aa --- /dev/null +++ b/demos/scilab_sum.dem.sce @@ -0,0 +1,15 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function demo_scilab_sum() + + mode(-1); + lines(0); + + disp("scilab_sum(3,4)"); + disp(scilab_sum(3,4)); + +endfunction + + +demo_scilab_sum(); +clear demo_scilab_sum;
\ No newline at end of file diff --git a/demos/toolbox_skeleton.dem.gateway.sce b/demos/toolbox_skeleton.dem.gateway.sce new file mode 100644 index 0000000..09d6bf6 --- /dev/null +++ b/demos/toolbox_skeleton.dem.gateway.sce @@ -0,0 +1,17 @@ +// +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function subdemolist = demo_gateway() + demopath = get_absolute_file_path("toolbox_skeleton.dem.gateway.sce"); + + subdemolist = ["sum with Scilab" ,"scilab_sum.dem.sce"; .. + "A c sum " ,"c_sum.dem.sce" ; .. + "The sum with fortran" ,"fortran_sum.dem.sce" ; .. + "A find in cpp" ,"cpp_find.dem.sce" ; ]; + + subdemolist(:,2) = demopath + subdemolist(:,2); + +endfunction + +subdemolist = demo_gateway(); +clear demo_gateway; // remove demo_gateway on stack diff --git a/etc/scilab_toolbox.quit b/etc/scilab_toolbox.quit new file mode 100644 index 0000000..f3ee38e --- /dev/null +++ b/etc/scilab_toolbox.quit @@ -0,0 +1,37 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +// Some specific hooks can be specify here when the module is unloaded. + +function quitModule() + + etc_tlbx = get_absolute_file_path("scilab_toolbox.quit"); + etc_tlbx = getshortpathname(etc_tlbx); + root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") ); + + //unlink libraries + [bOK, ilib] = c_link('skeleton_cpp'); + if bOK then + ulink(ilib); + end + + [bOK, ilib] = c_link('skeleton_c'); + if bOK then + ulink(ilib); + end + + [bOK, ilib] = c_link('skeleton_fortran'); + if bOK then + ulink(ilib); + end + + // Remove Preferences GUI + // ============================================================================= + if getscilabmode() == "STD" then + removeModulePreferences(root_tlbx); + end + +endfunction + + +quitModule(); +clear quitModule; diff --git a/etc/scilab_toolbox.start b/etc/scilab_toolbox.start new file mode 100644 index 0000000..d68618b --- /dev/null +++ b/etc/scilab_toolbox.start @@ -0,0 +1,68 @@ +// Copyright (C) 2008 - INRIA +// Copyright (C) 2009 - DIGITEO + +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function toolbox_skeletonlib = startModule() + + TOOLBOX_NAME = "scilab_toolbox"; + TOOLBOX_TITLE = "scilab_toolbox"; + + mprintf("Start " + TOOLBOX_TITLE + "\n"); + + if isdef("scilab_toolboxlib") then + warning("scilab_toolbox library is already loaded"); + return; + end + + etc_tlbx = get_absolute_file_path("scilab_toolbox.start"); + etc_tlbx = getshortpathname(etc_tlbx); + root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") ); + +//Load functions library +// ============================================================================= + mprintf("\tLoad macros\n"); + pathmacros = pathconvert( root_tlbx ) + "macros" + filesep(); + toolbox_skeletonlib = lib(pathmacros); + +// load gateways and Java libraries +// ============================================================================= + verboseMode = ilib_verbose(); + ilib_verbose(0); + mprintf("\tLoad gateways\n"); + exec(pathconvert(root_tlbx+"/sci_gateway/loader_gateway.sce",%f)); + mprintf("\tLoad Java libraries\n"); + exec(pathconvert(root_tlbx+"/src/java/loader.sce",%f)); + ilib_verbose(verboseMode); + +// load localization + addlocalizationdomain(TOOLBOX_NAME, root_tlbx + "/locales"); + +// Load and add help chapter +// ============================================================================= + if or(getscilabmode() == ["NW";"STD"]) then + mprintf("\tLoad help\n"); + path_addchapter = pathconvert(root_tlbx+"/jar"); + if ( isdir(path_addchapter) <> [] ) then + add_help_chapter(TOOLBOX_NAME, path_addchapter, %F); + end + end + +// Load demos +// ============================================================================= + if or(getscilabmode() == ["NW";"STD"]) then + mprintf("\tLoad demos\n"); + pathdemos = pathconvert(root_tlbx+"/demos/scilab_toolbox.dem.gateway.sce", %F, %T); + add_demo(TOOLBOX_TITLE, pathdemos); + end + +// Load Preferences GUI +// ============================================================================= + if getscilabmode() == "STD" then + addModulePreferences(TOOLBOX_TITLE, root_tlbx, etc_tlbx + "scilab_toolbox_preferences.xml"); + end + +endfunction + +toolbox_skeletonlib = startModule(); +clear startModule; // remove startModule on stack diff --git a/etc/toolbox_skeleton_preferences.xml b/etc/toolbox_skeleton_preferences.xml new file mode 100644 index 0000000..f4f08c0 --- /dev/null +++ b/etc/toolbox_skeleton_preferences.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<body> + <Form text="_d(toolbox_skeleton, Rectangle)"> + <Entry text="_d(toolbox_skeleton, My Title)" value="exemple"/> + <Select text="_d(toolbox_skeleton, Height)" value="18"> + <Option value="12"/> + <Option value="18"/> + <Option value="24"/> + </Select> + <Select text="_d(toolbox_skeleton, Width)" value="18"> + <Option value="12"/> + <Option value="18"/> + <Option value="24"/> + </Select> + <Color text="_d(toolbox_skeleton, Color)" value="#0000ff"/> + <Checkbox text="_d(toolbox_skeleton, Outline)" value="yes"/> + </Form> +</body> diff --git a/etc/toolbox_skeleton_preferences.xsl b/etc/toolbox_skeleton_preferences.xsl new file mode 100644 index 0000000..3d57d0d --- /dev/null +++ b/etc/toolbox_skeleton_preferences.xsl @@ -0,0 +1,39 @@ +<?xml version='1.0' encoding='utf-8'?> +<xsl:stylesheet version ="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + + <xsl:import href="$SCI/modules/preferences/src/xslt/XCommon.xsl"/> + + <xsl:template match="toolbox_skeleton" mode="tooltip">Environment</xsl:template> + <xsl:template match="toolbox_skeleton"> + <VSpace height="25"/> + <Title text="Environment"> + <HBox> + Foo: + <xsl:call-template name="Select"> + <xsl:with-param name="among"> + <option foo="bar"/> + <option foo="barbar"/> + <option foo="barbarbar"/> + </xsl:with-param> + </xsl:call-template> + </HBox> + </Title> + </xsl:template> + + <xsl:template match="save"> + <VSpace height="25"/> + <Title text="Save"> + <HBox> + <Checkbox listener="ActionListener"> + <xsl:if test="@bar='true'"> + <xsl:attribute name="checked">checked</xsl:attribute> + </xsl:if> + <actionPerformed set="bar" value="true"> + <xsl:call-template name="context"/> + </actionPerformed> + </Checkbox> + Save: + </HBox> + </Title> + </xsl:template> +</xsl:stylesheet>
\ No newline at end of file diff --git a/help/builder_help.sce b/help/builder_help.sce new file mode 100644 index 0000000..8f93d27 --- /dev/null +++ b/help/builder_help.sce @@ -0,0 +1,8 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +here = get_absolute_file_path("builder_help.sce"); +d = dir(here); +d = d.name(d.isdir); +la_LA = d(grep(d, "/[a-z]{2}_[A-Z]{2}/", "r")); // filtering out ./images/ ./mml/, ... +tbx_builder_help_lang(la_LA, here); +clear here d la_LA diff --git a/help/cleaner_help.sce b/help/cleaner_help.sce new file mode 100644 index 0000000..a2b5e7e --- /dev/null +++ b/help/cleaner_help.sce @@ -0,0 +1,21 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function cleaner_help() + path = get_absolute_file_path("cleaner_help.sce"); + langdirs = dir(path); + langdirs = langdirs.name(langdirs.isdir); + + for l = 1:size(langdirs, "*") + masterfile = fullpath(path + filesep() + langdirs(l) + "/master_help.xml"); + mdelete(masterfile); + + jarfile = fullpath(path + "/../jar/scilab_" + langdirs(l) + "_help.jar"); + mdelete(jarfile); + + tmphtmldir = fullpath(path + "/" + langdirs(l) + "/scilab_" + langdirs(l) + "_help"); + rmdir(tmphtmldir, "s"); + end +endfunction + +cleaner_help(); +clear cleaner_help; diff --git a/help/en_US/build_help.sce b/help/en_US/build_help.sce new file mode 100644 index 0000000..7065316 --- /dev/null +++ b/help/en_US/build_help.sce @@ -0,0 +1,3 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +tbx_build_help(TOOLBOX_TITLE,get_absolute_file_path("build_help.sce")); diff --git a/help/en_US/c_multiplybypi.xml b/help/en_US/c_multiplybypi.xml new file mode 100644 index 0000000..469fc4e --- /dev/null +++ b/help/en_US/c_multiplybypi.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is released under the 3-clause BSD license. See COPYING-BSD. + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="c_multiplybypi" xml:lang="en"> + <refnamediv> + <refname>c_multiplybypi</refname> + <refpurpose>multiply by %pi a number</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Syntax</title> + <synopsis>a = multiplybypi(b)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>b</term> + <listitem> + <para>first input argument</para> + </listitem> + </varlistentry> + <varlistentry> + <term>a</term> + <listitem> + <para>output argument</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>Do a special multiplication.</para> + <para>Add here a paragraph of the function description </para> + <para> + LaTeX can also be used to render equation: In this case, the rendering should <latex>$x*\pi$</latex> + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example">c_multiplybypi(3)</programlisting> + </refsection> + <refsection role="see also"> + <title>See also</title> + <simplelist type="inline"> + <member> + <link linkend="c_sum">c_sum</link> + </member> + <member> + <link type="scilab" linkend="scilab.help/sum">Link to the Scilab help page</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/help/en_US/c_sub.xml b/help/en_US/c_sub.xml new file mode 100644 index 0000000..9b82fc2 --- /dev/null +++ b/help/en_US/c_sub.xml @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is released under the 3-clause BSD license. See COPYING-BSD. + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:scilab="http://www.scilab.org" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="c_sub" xml:lang="en"> + <refnamediv> + <refname>c_sub</refname> + <refpurpose>subtraction from C</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Syntax</title> + <synopsis>a = c_sub(b,c)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>b</term> + <listitem> + <para>first input argument</para> + </listitem> + </varlistentry> + <varlistentry> + <term>c</term> + <listitem> + <para>second input argument</para> + </listitem> + </varlistentry> + <varlistentry> + <term>a</term> + <listitem> + <para>output argument</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>Do a subtraction.</para> + <para>Add here a paragraph of the function description </para> + <para> + LaTeX can also be used to render equation: In this case, the rendering should <latex>$x-y$</latex> + </para> + <para>It is now possible to include an image in using Scilab code (this requires to declare the namespace xmlns:scilab="http://www.scilab.org"):</para> + <programlisting role="xml"> + <![CDATA[ + <scilab:image> + plot3d(); + </scilab:image> + ]]> + </programlisting> + <scilab:image> + plot3d(); + </scilab:image> + <para>If an image contains a localized string then the attribute scilab:localized="true" is required:</para> + <programlisting role="xml"> + <![CDATA[ + <scilab:image localized="true"> + plot2d(); + xtitle("My Beautiful 2D plots"); + </scilab:image> + ]]> + </programlisting> + <scilab:image localized="true"> + plot2d(); + xtitle("My Beautiful 2D plots"); + </scilab:image> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example">c_sub(3,4)</programlisting> + </refsection> + <refsection role="see also"> + <title>See also</title> + <simplelist type="inline"> + <member> + <link linkend="c_sum">c_sum</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/help/en_US/c_sum.xml b/help/en_US/c_sum.xml new file mode 100644 index 0000000..fe04116 --- /dev/null +++ b/help/en_US/c_sum.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is released under the 3-clause BSD license. See COPYING-BSD. + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="c_sum" xml:lang="en"> + <refnamediv> + <refname>c_sum</refname> + <refpurpose>sum from C</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Syntax</title> + <synopsis>a = c_sum(b,c)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>b</term> + <listitem> + <para>first input argument</para> + </listitem> + </varlistentry> + <varlistentry> + <term>c</term> + <listitem> + <para>second input argument</para> + </listitem> + </varlistentry> + <varlistentry> + <term>a</term> + <listitem> + <para>output argument</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>Do a sum.</para> + <para>Add here a paragraph of the function description </para> + <para> + LaTeX can also be used to render equation: In this case, the rendering should <latex>$x+y$</latex> + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example">c_sum(3,4)</programlisting> + </refsection> + <refsection role="see also"> + <title>See also</title> + <simplelist type="inline"> + <member> + <link linkend="fortran_sum">fortran_sum</link> + </member> + <member> + <link type="scilab" linkend="scilab.help/sum">Link to the Scilab help page</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/help/en_US/fortran_sum.xml b/help/en_US/fortran_sum.xml new file mode 100644 index 0000000..a2f9a31 --- /dev/null +++ b/help/en_US/fortran_sum.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is released under the 3-clause BSD license. See COPYING-BSD. + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="fortran_sum" xml:lang="en"> + <refnamediv> + <refname>fortran_sum</refname> + <refpurpose>sum from fortran</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Syntax</title> + <synopsis>a = fortran_sum(b,c)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>b</term> + <listitem> + <para>first input argument</para> + </listitem> + </varlistentry> + <varlistentry> + <term>c</term> + <listitem> + <para>second input argument</para> + </listitem> + </varlistentry> + <varlistentry> + <term>a</term> + <listitem> + <para>output argument</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>Do a sum.</para> + <para>Add here a paragraph of the function description</para> + <para> + LaTeX can also be used to render equation: In this case, the rendering should <latex>$x+y$</latex> + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example">fortran_sum(3,4)</programlisting> + </refsection> + <refsection role="see also"> + <title>See also</title> + <simplelist type="inline"> + <member> + <link linkend="c_sum">c_sum</link> + </member> + <member> + <link type="scilab" linkend="scilab.help/sum">Link to the Scilab help page</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml new file mode 100644 index 0000000..a0a966a --- /dev/null +++ b/help/en_US/master_help.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE book [ +<!--Begin Entities--> +<!ENTITY a06d3b00d61ea56fc7571e7455d8a0d1c SYSTEM "/home/rupak/scilab-toolbox/scilab_octave/help/en_US/c_multiplybypi.xml"> +<!ENTITY a003542bbd4f55220fe2c17712c0f6a7e SYSTEM "/home/rupak/scilab-toolbox/scilab_octave/help/en_US/c_sub.xml"> +<!ENTITY ab79a7d1d373c3f015b976e4487b178ab SYSTEM "/home/rupak/scilab-toolbox/scilab_octave/help/en_US/c_sum.xml"> +<!ENTITY ae7095c198105d1b3a214969adf557ef3 SYSTEM "/home/rupak/scilab-toolbox/scilab_octave/help/en_US/fortran_sum.xml"> +<!ENTITY a9b397e825847e3d90bb44595dce973bd SYSTEM "/home/rupak/scilab-toolbox/scilab_octave/help/en_US/scilab_sum.xml"> +<!--End Entities--> +]> +<book version="5.0-subset Scilab" xml:lang="en_US" + xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:mml="http://www.w3.org/1998/Math/MathML" + xmlns:html="http://www.w3.org/1999/xhtml" + xmlns:db="http://docbook.org/ns/docbook"> + <info xml:id='scilab_toolbox_manual'> + <title>scilab_toolbox</title> + </info> + +<part xml:id='section_597319ec0f8f262cff8ce5d679429f35'> +<title>scilab_toolbox</title> +&a06d3b00d61ea56fc7571e7455d8a0d1c; +&a003542bbd4f55220fe2c17712c0f6a7e; +&ab79a7d1d373c3f015b976e4487b178ab; +&ae7095c198105d1b3a214969adf557ef3; +&a9b397e825847e3d90bb44595dce973bd; +</part> +</book> diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS Binary files differnew file mode 100644 index 0000000..f1cddab --- /dev/null +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB new file mode 100644 index 0000000..d99b2cc --- /dev/null +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB @@ -0,0 +1 @@ +eut2,ʪ,ʪ2/`
\ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS new file mode 100644 index 0000000..9345f8c --- /dev/null +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS @@ -0,0 +1,2 @@ + +~tv(zCkՀ
\ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS Binary files differnew file mode 100644 index 0000000..faa3492 --- /dev/null +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA new file mode 100644 index 0000000..aad24d4 --- /dev/null +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -0,0 +1,2 @@ +JavaSearch 1.0 +TMAP bs=2048 rt=0 fl=-1 id1=97 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP Binary files differnew file mode 100644 index 0000000..dbf944c --- /dev/null +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP diff --git a/help/en_US/scilab_en_US_help/ScilabCaution.png b/help/en_US/scilab_en_US_help/ScilabCaution.png Binary files differnew file mode 100644 index 0000000..a9e4ff3 --- /dev/null +++ b/help/en_US/scilab_en_US_help/ScilabCaution.png diff --git a/help/en_US/scilab_en_US_help/ScilabEdit.png b/help/en_US/scilab_en_US_help/ScilabEdit.png Binary files differnew file mode 100644 index 0000000..188e1c1 --- /dev/null +++ b/help/en_US/scilab_en_US_help/ScilabEdit.png diff --git a/help/en_US/scilab_en_US_help/ScilabExecute.png b/help/en_US/scilab_en_US_help/ScilabExecute.png Binary files differnew file mode 100644 index 0000000..a7de0fe --- /dev/null +++ b/help/en_US/scilab_en_US_help/ScilabExecute.png diff --git a/help/en_US/scilab_en_US_help/ScilabImportant.png b/help/en_US/scilab_en_US_help/ScilabImportant.png Binary files differnew file mode 100644 index 0000000..81e9ed2 --- /dev/null +++ b/help/en_US/scilab_en_US_help/ScilabImportant.png diff --git a/help/en_US/scilab_en_US_help/ScilabNote.png b/help/en_US/scilab_en_US_help/ScilabNote.png Binary files differnew file mode 100644 index 0000000..8851b99 --- /dev/null +++ b/help/en_US/scilab_en_US_help/ScilabNote.png diff --git a/help/en_US/scilab_en_US_help/ScilabTip.png b/help/en_US/scilab_en_US_help/ScilabTip.png Binary files differnew file mode 100644 index 0000000..8851b99 --- /dev/null +++ b/help/en_US/scilab_en_US_help/ScilabTip.png diff --git a/help/en_US/scilab_en_US_help/ScilabWarning.png b/help/en_US/scilab_en_US_help/ScilabWarning.png Binary files differnew file mode 100644 index 0000000..a9e4ff3 --- /dev/null +++ b/help/en_US/scilab_en_US_help/ScilabWarning.png diff --git a/help/en_US/scilab_en_US_help/_LaTeX_c_multiplybypi.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_c_multiplybypi.xml_1.png Binary files differnew file mode 100644 index 0000000..2575c07 --- /dev/null +++ b/help/en_US/scilab_en_US_help/_LaTeX_c_multiplybypi.xml_1.png diff --git a/help/en_US/scilab_en_US_help/_LaTeX_c_sub.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_c_sub.xml_1.png Binary files differnew file mode 100644 index 0000000..3e7ef87 --- /dev/null +++ b/help/en_US/scilab_en_US_help/_LaTeX_c_sub.xml_1.png diff --git a/help/en_US/scilab_en_US_help/_LaTeX_c_sum.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_c_sum.xml_1.png Binary files differnew file mode 100644 index 0000000..033aefe --- /dev/null +++ b/help/en_US/scilab_en_US_help/_LaTeX_c_sum.xml_1.png diff --git a/help/en_US/scilab_en_US_help/_LaTeX_fortran_sum.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_fortran_sum.xml_1.png Binary files differnew file mode 100644 index 0000000..033aefe --- /dev/null +++ b/help/en_US/scilab_en_US_help/_LaTeX_fortran_sum.xml_1.png diff --git a/help/en_US/scilab_en_US_help/_LaTeX_scilab_sum.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_scilab_sum.xml_1.png Binary files differnew file mode 100644 index 0000000..033aefe --- /dev/null +++ b/help/en_US/scilab_en_US_help/_LaTeX_scilab_sum.xml_1.png diff --git a/help/en_US/scilab_en_US_help/c_code.css b/help/en_US/scilab_en_US_help/c_code.css new file mode 100644 index 0000000..948d2ee --- /dev/null +++ b/help/en_US/scilab_en_US_help/c_code.css @@ -0,0 +1,54 @@ +.ccomment { + font-style: italic; + color: #b22222 +} + +.cdefault { + font-style: normal; + color: #000000 +} + +.copenclose { + font-style: normal; + color: #000000 +} + +.coperator { + font-style: normal; + color: #000000 +} + +.cstring { + font-style: normal; + color: #a6557a +} + +.ctype { + font-style: normal; + color: #55a655 +} + +.cpreprocessor { + font-style: normal; + color: #9965a6 +} + +.cid { + font-style: normal; + color: #000000 +} + +.ckeyword { + font-style: normal; + color: #ad3ff2 +} + +.cmodifier { + font-style: normal; + color: #ad3ff2 +} + +.cnumber { + font-style: normal; + color: #008b8b +} diff --git a/help/en_US/scilab_en_US_help/c_multiplybypi.html b/help/en_US/scilab_en_US_help/c_multiplybypi.html new file mode 100644 index 0000000..b67fae8 --- /dev/null +++ b/help/en_US/scilab_en_US_help/c_multiplybypi.html @@ -0,0 +1,75 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>c_multiplybypi</title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + <span class="previous"><a href="section_597319ec0f8f262cff8ce5d679429f35.html"><< scilab_toolbox</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="c_sub.html">c_sub >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> <a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a> > c_multiplybypi</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">c_multiplybypi</h1> + <p class="refpurpose">multiply by %pi a number</p></div> + <div class="refsynopsisdiv"><h3 class="title">Syntax</h3> + <div class="synopsis"><pre><span class="default">a</span><span class="default"> = </span><span class="default">multiplybypi</span><span class="default">(</span><span class="default">b</span><span class="default">)</span></pre></div></div> + <div class="refsection"><h3 class="title">Arguments</h3> + <dl><dt><span class="term">b</span> + <dd><p class="para">first input argument</p></dd></dt> + <dt><span class="term">a</span> + <dd><p class="para">output argument</p></dd></dt></dl></div> + <div class="refsection"><h3 class="title">Description</h3> + <p class="para">Do a special multiplication.</p> + <p class="para">Add here a paragraph of the function description</p> + <p class="para">LaTeX can also be used to render equation: In this case, the rendering should <span><img src='./_LaTeX_c_multiplybypi.xml_1.png' style='position:relative;top:2px;width:38px;height:12px' alt='$x*\pi$'/></span></p></div> + <div class="refsection"><h3 class="title">Examples</h3> + <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">c_multiplybypi</span><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> + <div class="refsection"><h3 class="title">See also</h3> + <ul class="itemizedlist"><li class="member"><a href="c_sum.html" class="link">c_sum</a> — sum from C</li> + <li class="member"><a href="scilab://scilab.help/sum" class="link">Link to the Scilab help page</a></li></ul></div> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + <span class="previous"><a href="section_597319ec0f8f262cff8ce5d679429f35.html"><< scilab_toolbox</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="c_sub.html">c_sub >></a></span> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/en_US/scilab_en_US_help/c_sub.html b/help/en_US/scilab_en_US_help/c_sub.html new file mode 100644 index 0000000..14306d7 --- /dev/null +++ b/help/en_US/scilab_en_US_help/c_sub.html @@ -0,0 +1,87 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>c_sub</title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + <span class="previous"><a href="c_multiplybypi.html"><< c_multiplybypi</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="c_sum.html">c_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> <a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a> > c_sub</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">c_sub</h1> + <p class="refpurpose">subtraction from C</p></div> + <div class="refsynopsisdiv"><h3 class="title">Syntax</h3> + <div class="synopsis"><pre><span class="default">a</span><span class="default"> = </span><span class="functionid">c_sub</span><span class="default">(</span><span class="default">b</span><span class="default">,</span><span class="default">c</span><span class="default">)</span></pre></div></div> + <div class="refsection"><h3 class="title">Arguments</h3> + <dl><dt><span class="term">b</span> + <dd><p class="para">first input argument</p></dd></dt> + <dt><span class="term">c</span> + <dd><p class="para">second input argument</p></dd></dt> + <dt><span class="term">a</span> + <dd><p class="para">output argument</p></dd></dt></dl></div> + <div class="refsection"><h3 class="title">Description</h3> + <p class="para">Do a subtraction.</p> + <p class="para">Add here a paragraph of the function description</p> + <p class="para">LaTeX can also be used to render equation: In this case, the rendering should <span><img src='./_LaTeX_c_sub.xml_1.png' style='position:relative;top:6px;width:41px;height:18px' alt='$x-y$'/></span></p> + <p class="para">It is now possible to include an image in using Scilab code (this requires to declare the namespace xmlns:scilab="http://www.scilab.org"):</p> + <div class="programlisting"><pre class="xmlcode"><span class="xmllowtag"><</span><span class="xmltagname">scilab:image</span><span class="xmlgreattag">></span> +<span class="xmldefault"> plot3d();</span> +<span class="xmllowclose"></</span><span class="xmltagname">scilab:image</span><span class="xmlgreattag">></span></pre></div> + <img src='./c_sub_1.png'/> + <p class="para">If an image contains a localized string then the attribute scilab:localized="true" is required:</p> + <div class="programlisting"><pre class="xmlcode"><span class="xmllowtag"><</span><span class="xmltagname">scilab:image</span> <span class="xmlattributename">localized</span><span class="xmlequal">=</span><span class="xmlattributevalue">"true"</span><span class="xmlgreattag">></span> +<span class="xmldefault"> plot2d();</span> +<span class="xmldefault"> xtitle("My Beautiful 2D plots");</span> +<span class="xmllowclose"></</span><span class="xmltagname">scilab:image</span><span class="xmlgreattag">></span></pre></div> + <img src='./c_sub_en_US_2.png'/></div> + <div class="refsection"><h3 class="title">Examples</h3> + <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">c_sub</span><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">4</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> + <div class="refsection"><h3 class="title">See also</h3> + <ul class="itemizedlist"><li class="member"><a href="c_sum.html" class="link">c_sum</a> — sum from C</li></ul></div> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + <span class="previous"><a href="c_multiplybypi.html"><< c_multiplybypi</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="c_sum.html">c_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/en_US/scilab_en_US_help/c_sub_1.png b/help/en_US/scilab_en_US_help/c_sub_1.png Binary files differnew file mode 100644 index 0000000..167902e --- /dev/null +++ b/help/en_US/scilab_en_US_help/c_sub_1.png diff --git a/help/en_US/scilab_en_US_help/c_sub_en_US_2.png b/help/en_US/scilab_en_US_help/c_sub_en_US_2.png Binary files differnew file mode 100644 index 0000000..4a47b12 --- /dev/null +++ b/help/en_US/scilab_en_US_help/c_sub_en_US_2.png diff --git a/help/en_US/scilab_en_US_help/c_sum.html b/help/en_US/scilab_en_US_help/c_sum.html new file mode 100644 index 0000000..72af33d --- /dev/null +++ b/help/en_US/scilab_en_US_help/c_sum.html @@ -0,0 +1,77 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>c_sum</title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + <span class="previous"><a href="c_sub.html"><< c_sub</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="fortran_sum.html">fortran_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> <a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a> > c_sum</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">c_sum</h1> + <p class="refpurpose">sum from C</p></div> + <div class="refsynopsisdiv"><h3 class="title">Syntax</h3> + <div class="synopsis"><pre><span class="default">a</span><span class="default"> = </span><span class="functionid">c_sum</span><span class="default">(</span><span class="default">b</span><span class="default">,</span><span class="default">c</span><span class="default">)</span></pre></div></div> + <div class="refsection"><h3 class="title">Arguments</h3> + <dl><dt><span class="term">b</span> + <dd><p class="para">first input argument</p></dd></dt> + <dt><span class="term">c</span> + <dd><p class="para">second input argument</p></dd></dt> + <dt><span class="term">a</span> + <dd><p class="para">output argument</p></dd></dt></dl></div> + <div class="refsection"><h3 class="title">Description</h3> + <p class="para">Do a sum.</p> + <p class="para">Add here a paragraph of the function description</p> + <p class="para">LaTeX can also be used to render equation: In this case, the rendering should <span><img src='./_LaTeX_c_sum.xml_1.png' style='position:relative;top:6px;width:41px;height:18px' alt='$x+y$'/></span></p></div> + <div class="refsection"><h3 class="title">Examples</h3> + <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">c_sum</span><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">4</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> + <div class="refsection"><h3 class="title">See also</h3> + <ul class="itemizedlist"><li class="member"><a href="fortran_sum.html" class="link">fortran_sum</a> — sum from fortran</li> + <li class="member"><a href="scilab://scilab.help/sum" class="link">Link to the Scilab help page</a></li></ul></div> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + <span class="previous"><a href="c_sub.html"><< c_sub</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="fortran_sum.html">fortran_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/en_US/scilab_en_US_help/fortran_sum.html b/help/en_US/scilab_en_US_help/fortran_sum.html new file mode 100644 index 0000000..cae6218 --- /dev/null +++ b/help/en_US/scilab_en_US_help/fortran_sum.html @@ -0,0 +1,77 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>fortran_sum</title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + <span class="previous"><a href="c_sum.html"><< c_sum</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="scilab_sum.html">scilab_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> <a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a> > fortran_sum</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">fortran_sum</h1> + <p class="refpurpose">sum from fortran</p></div> + <div class="refsynopsisdiv"><h3 class="title">Syntax</h3> + <div class="synopsis"><pre><span class="default">a</span><span class="default"> = </span><span class="functionid">fortran_sum</span><span class="default">(</span><span class="default">b</span><span class="default">,</span><span class="default">c</span><span class="default">)</span></pre></div></div> + <div class="refsection"><h3 class="title">Arguments</h3> + <dl><dt><span class="term">b</span> + <dd><p class="para">first input argument</p></dd></dt> + <dt><span class="term">c</span> + <dd><p class="para">second input argument</p></dd></dt> + <dt><span class="term">a</span> + <dd><p class="para">output argument</p></dd></dt></dl></div> + <div class="refsection"><h3 class="title">Description</h3> + <p class="para">Do a sum.</p> + <p class="para">Add here a paragraph of the function description</p> + <p class="para">LaTeX can also be used to render equation: In this case, the rendering should <span><img src='./_LaTeX_fortran_sum.xml_1.png' style='position:relative;top:6px;width:41px;height:18px' alt='$x+y$'/></span></p></div> + <div class="refsection"><h3 class="title">Examples</h3> + <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">fortran_sum</span><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">4</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> + <div class="refsection"><h3 class="title">See also</h3> + <ul class="itemizedlist"><li class="member"><a href="c_sum.html" class="link">c_sum</a> — sum from C</li> + <li class="member"><a href="scilab://scilab.help/sum" class="link">Link to the Scilab help page</a></li></ul></div> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + <span class="previous"><a href="c_sum.html"><< c_sum</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="scilab_sum.html">scilab_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/en_US/scilab_en_US_help/index.html b/help/en_US/scilab_en_US_help/index.html new file mode 100644 index 0000000..171fa2b --- /dev/null +++ b/help/en_US/scilab_en_US_help/index.html @@ -0,0 +1,71 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title></title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + + + + + <br /><br /> + <h3 class="book-title">scilab_toolbox</h3> +<ul class="list-part"><a name="scilab_toolbox_manual"></a><div class="info"></div> + +<li><a href="section_597319ec0f8f262cff8ce5d679429f35.html" class="part">scilab_toolbox</a> +<ul class="list-chapter"><li><a href="c_multiplybypi.html" class="refentry">c_multiplybypi</a> — <span class="refentry-description">multiply by %pi a number</span></li> + + + +<li><a href="c_sub.html" class="refentry">c_sub</a> — <span class="refentry-description">subtraction from C</span></li> + + + +<li><a href="c_sum.html" class="refentry">c_sum</a> — <span class="refentry-description">sum from C</span></li> + + + +<li><a href="fortran_sum.html" class="refentry">fortran_sum</a> — <span class="refentry-description">sum from fortran</span></li> + + + +<li><a href="scilab_sum.html" class="refentry">scilab_sum</a> — <span class="refentry-description">sum from scilab</span></li></ul></li></ul> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/en_US/scilab_en_US_help/jhelpidx.xml b/help/en_US/scilab_en_US_help/jhelpidx.xml new file mode 100644 index 0000000..aa5a66e --- /dev/null +++ b/help/en_US/scilab_en_US_help/jhelpidx.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE index PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Index Version 1.0//EN" "http://java.sun.com/products/javahelp/index_1_0.dtd"> +<index version="1.0"/>
\ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm new file mode 100644 index 0000000..2a2b05b --- /dev/null +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE map PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN" "http://java.sun.com/products/javahelp/map_1_0.dtd"> +<map version="1.0"> +<mapID target="index" url="index.html"/> +<mapID target="section_597319ec0f8f262cff8ce5d679429f35" url="section_597319ec0f8f262cff8ce5d679429f35.html"/> +<mapID target="c_multiplybypi" url="c_multiplybypi.html"/> +<mapID target="c_sub" url="c_sub.html"/> +<mapID target="c_sum" url="c_sum.html"/> +<mapID target="fortran_sum" url="fortran_sum.html"/> +<mapID target="scilab_sum" url="scilab_sum.html"/> +</map>
\ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelpset.hs b/help/en_US/scilab_en_US_help/jhelpset.hs new file mode 100644 index 0000000..f1e5a6c --- /dev/null +++ b/help/en_US/scilab_en_US_help/jhelpset.hs @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE helpset + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN" "http://java.sun.com/products/javahelp/helpset_1_0.dtd"> +<helpset version="1.0"> +<title>scilab_toolbox</title> +<maps> +<homeID>top</homeID> +<mapref location="jhelpmap.jhm"/> +</maps> +<view> +<name>TOC</name> +<label>Table Of Contents</label> +<type>javax.help.TOCView</type> +<data>jhelptoc.xml</data> +</view> +<view> +<name>Index</name> +<label>Index</label> +<type>javax.help.IndexView</type> +<data>jhelpidx.xml</data> +</view> +<view> +<name>Search</name> +<label>Search</label> +<type>javax.help.SearchView</type> +<data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data> +</view> +</helpset>
\ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml new file mode 100644 index 0000000..bb44574 --- /dev/null +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE toc PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN" "http://java.sun.com/products/javahelp/toc_1_0.dtd"> +<toc version="1.0"> +<tocitem target="index" text="scilab_toolbox"> +<tocitem target="section_597319ec0f8f262cff8ce5d679429f35" text="scilab_toolbox"> +<tocitem target="c_multiplybypi" text="c_multiplybypi"/> +<tocitem target="c_sub" text="c_sub"/> +<tocitem target="c_sum" text="c_sum"/> +<tocitem target="fortran_sum" text="fortran_sum"/> +<tocitem target="scilab_sum" text="scilab_sum"/> +</tocitem> +</tocitem> +</toc>
\ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/scilab_code.css b/help/en_US/scilab_en_US_help/scilab_code.css new file mode 100644 index 0000000..658f42e --- /dev/null +++ b/help/en_US/scilab_en_US_help/scilab_code.css @@ -0,0 +1,96 @@ +.scilabcomment { + font-style: italic; + color: #01a801 +} + +.scilabdefault { + font-style: normal; + color: #000000 +} + +.scilabspecial { + font-style: normal; + color: #ffaa00 +} + +.scilabconstants { + font-style: normal; + color: #da70d6 +} + +.scilaboperator { + font-style: normal; + color: #5c5c5c +} + +.scilabnumber { + font-style: normal; + color: #bc8f8f +} + +.scilabfkeyword { + font-style: normal; + color: #b01813 +} + +.scilabskeyword { + font-style: normal; + color: #a020f0 +} + +.scilabckeyword { + font-style: normal; + color: #5f9ea0 +} + +.scilabcommand { + font-style: normal; + color: #32b9b9 +} + +.scilabmacro { + font-style: normal; + color: #ae5cb0 +} + +a.scilabcommand { + font-style: normal; + text-decoration: underline; + color: #32b9b9 +} + +a.scilabmacro { + font-style: normal; + text-decoration: underline; + color: #ae5cb0 +} + +.scilabstring { + font-style: normal; + color: #bc8f8f +} + +.scilabid { + font-style: normal; + color: #000000 +} + +.scilabinputoutputargs { + font-weight: bold; + color: #834310 +} + +.scilabfunctionid { + font-weight: bold; + color: #000000 +} + +.scilabfield { + font-style: normal; + color: #aaaaaa +} + +.scilabopenclose { + font-style: normal; + color: #4a55db +} diff --git a/help/en_US/scilab_en_US_help/scilab_sum.html b/help/en_US/scilab_en_US_help/scilab_sum.html new file mode 100644 index 0000000..93555f0 --- /dev/null +++ b/help/en_US/scilab_en_US_help/scilab_sum.html @@ -0,0 +1,75 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>scilab_sum</title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + <span class="previous"><a href="fortran_sum.html"><< fortran_sum</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> <a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a> > scilab_sum</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">scilab_sum</h1> + <p class="refpurpose">sum from scilab</p></div> + <div class="refsynopsisdiv"><h3 class="title">Syntax</h3> + <div class="synopsis"><pre><span class="default">a</span><span class="default"> = </span><span class="functionid">scilab_sum</span><span class="default">(</span><span class="default">b</span><span class="default">,</span><span class="default">c</span><span class="default">)</span></pre></div></div> + <div class="refsection"><h3 class="title">Arguments</h3> + <dl><dt><span class="term">b</span> + <dd><p class="para">first input argument</p></dd></dt> + <dt><span class="term">c</span> + <dd><p class="para">second input argument</p></dd></dt> + <dt><span class="term">a</span> + <dd><p class="para">output argument</p></dd></dt></dl></div> + <div class="refsection"><h3 class="title">Description</h3> + <p class="para">Do a sum.</p> + <p class="para">Add here a paragraph of the function description</p> + <p class="para">LaTeX can also be used to render equation: In this case, the rendering should <span><img src='./_LaTeX_scilab_sum.xml_1.png' style='position:relative;top:6px;width:41px;height:18px' alt='$x+y$'/></span></p></div> + <div class="refsection"><h3 class="title">Examples</h3> + <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">scilab_sum</span><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">4</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> + <div class="refsection"><h3 class="title">See also</h3> + <ul class="itemizedlist"><li class="member"><a href="c_sum.html" class="link">c_sum</a> — sum from C</li> + <li class="member"><a href="scilab://scilab.help/sum" class="link">Link to the Scilab help page</a></li></ul></div> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + <span class="previous"><a href="fortran_sum.html"><< fortran_sum</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_597319ec0f8f262cff8ce5d679429f35.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/en_US/scilab_en_US_help/section_466e7e8f8f6e2576a122988d1165c26e.html b/help/en_US/scilab_en_US_help/section_466e7e8f8f6e2576a122988d1165c26e.html new file mode 100644 index 0000000..5768f30 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_466e7e8f8f6e2576a122988d1165c26e.html @@ -0,0 +1,71 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title></title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="index.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> scilab_toolbox</span> + + <br /><br /> + <h3 class="title-part">scilab_toolbox</h3> +<ul class="list-chapter"><li><a href="c_multiplybypi.html" class="refentry">c_multiplybypi</a> — <span class="refentry-description">multiply by %pi a number</span></li> + + + +<li><a href="c_sub.html" class="refentry">c_sub</a> — <span class="refentry-description">subtraction from C</span></li> + + + +<li><a href="c_sum.html" class="refentry">c_sum</a> — <span class="refentry-description">sum from C</span></li> + + + +<li><a href="fortran_sum.html" class="refentry">fortran_sum</a> — <span class="refentry-description">sum from fortran</span></li> + + + +<li><a href="scilab_sum.html" class="refentry">scilab_sum</a> — <span class="refentry-description">sum from scilab</span></li></ul> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="index.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/en_US/scilab_en_US_help/section_597319ec0f8f262cff8ce5d679429f35.html b/help/en_US/scilab_en_US_help/section_597319ec0f8f262cff8ce5d679429f35.html new file mode 100644 index 0000000..5768f30 --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_597319ec0f8f262cff8ce5d679429f35.html @@ -0,0 +1,71 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title></title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="index.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> scilab_toolbox</span> + + <br /><br /> + <h3 class="title-part">scilab_toolbox</h3> +<ul class="list-chapter"><li><a href="c_multiplybypi.html" class="refentry">c_multiplybypi</a> — <span class="refentry-description">multiply by %pi a number</span></li> + + + +<li><a href="c_sub.html" class="refentry">c_sub</a> — <span class="refentry-description">subtraction from C</span></li> + + + +<li><a href="c_sum.html" class="refentry">c_sum</a> — <span class="refentry-description">sum from C</span></li> + + + +<li><a href="fortran_sum.html" class="refentry">fortran_sum</a> — <span class="refentry-description">sum from fortran</span></li> + + + +<li><a href="scilab_sum.html" class="refentry">scilab_sum</a> — <span class="refentry-description">sum from scilab</span></li></ul> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="index.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/en_US/scilab_en_US_help/style.css b/help/en_US/scilab_en_US_help/style.css new file mode 100644 index 0000000..edc0b85 --- /dev/null +++ b/help/en_US/scilab_en_US_help/style.css @@ -0,0 +1,386 @@ +body { + color:#000000; + background-color:#ffffff; + font-family:sans-serif; + font-size:100%; + margin:5px; + padding:0; + background : url("/img/body.png"); + background-repeat : repeat-x; +} + +.para { + padding-left: 10px; +} + +.refname { + color: #ff6c0a; +} +.refpurpose { + font-size: 110%; +} + +.synopsis { + border: 1px solid #CCCCCC; + width:80%; + padding: 0.5em; +} + +.editbar { + text-align: right; +} + +.term { + color:#A00000; + font-size:100%; + font-weight: 600; +} + +h3 { + color: #0033FF; + font-weight: bold; + font-size:130%; + margin-bottom: 10px; +} + +h4 { + color: #0066FF; + font-weight: bold; + font-size:120%; + margin-bottom: 5px; +} + +h5 { + color: #0099FF; + font-weight: bold; + font-size:110%; + margin-bottom: 1px; +} + +.programlisting { + font-family: monospace; + font-size: 100%; + background-color:#F4F4FF; + border-color:#CCCCCC; + border-style:solid; + border-width:2px medium; + width:90%; + color:#333333; + line-height:120%; + padding:10px; + direction: ltr; +} + +.literal { + font-family: monospace; + font-size: 100%; +} + +.option { + font-family: monospace; + font-style: italic; + font-size: 100%; +} + +.command { + font-family: monospace; + font-size: 100%; + color: #32b9b9; +} + +.function { + font-family: monospace; + font-size: 100%; + color: #32b9b9; + direction: ltr; +} + +.varname { + font-family: monospace; + font-weight: bold; + font-size: 100%; + direction: ltr; +} + +.constant { + font-family: monospace; + font-size: 100%; + color: #da70d6; +} + +a { + color: blue; + text-decoration:none; +} + +a:hover { + text-decoration:underline; +} + +.itemizedlist { + list-style-type: disc; +} + +.inline-list li { + display: inline; + list-style-type: disc; +} + +.vert-list { + list-style-type: disc; +} + +pre { + margin-bottom: 0px; + margin-top: 0px; + direction: ltr; +} + +.leftpart { + position:absolute; + float:left; + width: 186px; + padding: 5px; + font-size: smaller; +} + +.content { + margin-top: 100px; + margin-left: 196px +} + +.container { + margin: 0 auto; + width:1024px; +} + +ul.toc li.list-active { + list-style-type:disc; + font-weight:bold; +} + +ul.toc li.parent { + font-size: 115%; + padding: 5px 0px 5px 11px; + border-bottom: 1px solid #cccccc; + margin-bottom: 5px; +} + +ul.toc li.root { + font-size: 135%; + padding: 5px 0px 5px 11px; + border-bottom: 1px solid #cccccc; + margin-bottom: 5px; +} + +ul.toc li { + font-size: 85%; + margin: 1px 0 1px 1px; + padding: 1px 0 1px 11px; + background-repeat: no-repeat; + background-position: center left; + list-style-type: circle; +} + +.next { + float:right; + text-align: right; +} + +.center { + text-align: center; +} + +.screen { + font-family: monospace; + font-size: 100%; + background-color:#FFFFFF; + border-color:#CCCCCC; + border-style:solid; + border-width:2px medium; + width:90%; + color:#333333; + line-height:120%; + padding:10px; +} + +/* Top and bottom navigation controls on manual pages --------------------- */ +div.manualnavbar { + background-color: #F0F0FF; + color: inherit; + padding: 4px; + margin-bottom: 10px; + direction: ltr; +} +div.manualnavbar .prev { + padding-right: 4px; +} +div.manualnavbar .next { + text-align: right; + padding-left: 4px; +} + +div.manualnavbar .top { + text-align: center; + display: block; +} + +div.manualnavbar hr { + color: #cccccc; + background-color: #cccccc; +} + +/* Footer navigation area ------------------------------------------------- */ + +#pagefooter { + position: relative; + font-size: 75%; + color: inherit; + background-color: #e5e5e5; + width: 100%; +} + +#pagefooterleft { + top: 0px; + left: 0px; + padding: 6px; + margin-right: 30%; +} + +#pagefooterright { + text-align: right; + margin-left: 50%; + padding: 6px; +} +#footnav { + color: inherit; + background-color: #9999cc; + border-width: 1px 0px; + border-color: #333366; + border-style: solid; + text-align: right; + padding-right: 6px; +} + + + + + #global{ +/* width: 90%; */ + max-width: 90em; +/* min-width: 850px; */ + margin-left: auto; + margin-right: auto; + } + + #myHeader{ + background-color:#000000; + color:white; + margin-bottom : 10px; + position : relative; + text-align: center; +/* width : 1024px;*/ + height : 100px; + padding-left : 20px; + background : url("http://atoms.scilab.org/images/homepage/cadre_head.png"); + background-repeat : no-repeat; + background-position : 0px 0px; + + } + + #myFooter{ + background-color:#E5E5E5; + font-color:black; +/* width: 90%;*/ + max-width: 90em; +/* min-width: 850px; + margin-left: 5%; + margin-right: 5%;*/ + margin-top:10px; + padding:10px; + } + + #mainArea{ + width: 100%; + overflow: hidden; + } + + #myLeftArea{ + color:white; + float: left; + width: 180px; + padding:5px; + } + + #myMiddleArea{ + color:black; + margin-left: 200px; + padding: 10px 20px; + } + + #myRightArea{ + color:white; + float: right; + width: 200px; + padding: 12px 20px; + } + + +div#cadre_head +{ + position : relative; + text-align: center; +/* width : 1024px;*/ + height : 100px; + padding-left : 20px; + background : url("/img/cadre_head.png"); + background-repeat : no-repeat; + background-position : 0px 0px; +} + + +div#slogan{ + position: absolute; + top : 50px; + left:251px; + color:#0000AA; + font: 120%, Georgia,Serif; +} +div#cadre_help +{ + position: absolute; + top:45px; + right:0px; + font-size:0.8em; + color:#0000AA; +} +table +{ + border-collapse:collapse +} +th, td { + padding: 4px; +} +table.revhistory +{ + width:90%; + border-color:#CCCCCC; + border-style:solid; + border-width:2px medium; + margin-bottom: 10px; +} + +table.revhistory tr.title td +{ + background-color: #CCCCEE; + font-weight: bold; +} + +td.revnumber +{ + vertical-align: top; +} +tr +{ + vertical-align: top; +} diff --git a/help/en_US/scilab_en_US_help/xml_code.css b/help/en_US/scilab_en_US_help/xml_code.css new file mode 100644 index 0000000..9e4c27f --- /dev/null +++ b/help/en_US/scilab_en_US_help/xml_code.css @@ -0,0 +1,94 @@ +.xmlcomment { + font-style: italic; + color: #01a801 +} + +.xmldefault { + font-style: normal; + color: #000000 +} + +.xmlentity { + font-style: normal; + color: #ffaa00 +} + +.xmlopeninstr { + font-style: normal; + color: #000000 +} + +.xmlcloseinstr { + font-style: normal; + color: #000000 +} + +.xmlinstrname { + font-style: normal; + color: #9965a6 +} + +.xmllowtag { + font-style: normal; + color: #000000 +} + +.xmltagname { + font-style: normal; + color: #0303ff +} + +.xmllowclose { + font-style: normal; + color: #000000 +} + +.xmlopencomment { + font-style: italic; + color: #01a801 +} + +.xmlcommentend { + font-style: italic; + color: #01a801 +} + +.xmlcomment { + font-style: italic; + color: #01a801 +} + +.xmlopencdata { + font-style: normal; + color: #c45555 +} + +.xmlcdataend { + font-style: normal; + color: #c45555 +} + +.xmlcdata { + font-style: normal; + color: #000000 +} + +.xmlattributename { + font-style: normal; + color: #9965a6 +} + +.xmlequal { + font-style: normal; + color: #000000 +} + +.xmlattributevalue { + font-style: normal; + color: #973964 +} + +.xmlautoclose { + font-style: normal; + color: #000000 +} diff --git a/help/en_US/scilab_sum.xml b/help/en_US/scilab_sum.xml new file mode 100644 index 0000000..5a6bdb5 --- /dev/null +++ b/help/en_US/scilab_sum.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * + * This file is released under the 3-clause BSD license. See COPYING-BSD. + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="scilab_sum" xml:lang="en"> + <refnamediv> + <refname>scilab_sum</refname> + <refpurpose>sum from scilab</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Syntax</title> + <synopsis>a = scilab_sum(b,c)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>b</term> + <listitem> + <para>first input argument</para> + </listitem> + </varlistentry> + <varlistentry> + <term>c</term> + <listitem> + <para>second input argument</para> + </listitem> + </varlistentry> + <varlistentry> + <term>a</term> + <listitem> + <para>output argument</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>Do a sum.</para> + <para>Add here a paragraph of the function description </para> + <para> + LaTeX can also be used to render equation: In this case, the rendering should <latex>$x+y$</latex> + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example">scilab_sum(3,4)</programlisting> + </refsection> + <refsection role="see also"> + <title>See also</title> + <simplelist type="inline"> + <member> + <link linkend="c_sum">c_sum</link> + </member> + <member> + <link type="scilab" linkend="scilab.help/sum">Link to the Scilab help page</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/help/fr_FR/build_help.sce b/help/fr_FR/build_help.sce new file mode 100644 index 0000000..7065316 --- /dev/null +++ b/help/fr_FR/build_help.sce @@ -0,0 +1,3 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +tbx_build_help(TOOLBOX_TITLE,get_absolute_file_path("build_help.sce")); diff --git a/help/fr_FR/c_multiplybypi.xml b/help/fr_FR/c_multiplybypi.xml new file mode 100644 index 0000000..b23737d --- /dev/null +++ b/help/fr_FR/c_multiplybypi.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * + * This file is released under the 3-clause BSD license. See COPYING-BSD. + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="c_multiplybypi" xml:lang="en"> + <refnamediv> + <refname>c_multiplybypi</refname> + <refpurpose>Multiple par %pi un nombre</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>a = multiplybypi(b)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>b</term> + <listitem> + <para>Premier argument d'entrée</para> + </listitem> + </varlistentry> + <varlistentry> + <term>a</term> + <listitem> + <para>Argument de sortie</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>Fait une multiplication particulière.</para> + <para>Ajoutez ici plus d'informations sur cette fonction </para> + <para> + LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <latex>$x*\pi$</latex> + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example">c_multiplybypi(3)</programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="c_sum">c_sum</link> + </member> + <member> + <link type="scilab" linkend="scilab.help/sum">Lien vers la page d'aide sum de Scilab</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/help/fr_FR/c_sub.xml b/help/fr_FR/c_sub.xml new file mode 100644 index 0000000..5b121e7 --- /dev/null +++ b/help/fr_FR/c_sub.xml @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * + * This file is released under the 3-clause BSD license. See COPYING-BSD. + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:scilab="http://www.scilab.org" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="c_sub" xml:lang="en"> + <refnamediv> + <refname>c_sub</refname> + <refpurpose>calcule de la soustraction depuis du code C</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Squence d'appel</title> + <synopsis>a = c_sub(b,c)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>b</term> + <listitem> + <para>Premier argument d'entre</para> + </listitem> + </varlistentry> + <varlistentry> + <term>c</term> + <listitem> + <para>Second argument d'entre</para> + </listitem> + </varlistentry> + <varlistentry> + <term>a</term> + <listitem> + <para>Argument de sortie</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>calcule la soustraction.</para> + <para>Ajoutez ici plus d'informations sur cette fonction </para> + <para> + LaTeX peut etre utilis pour afficher l'quation: Dans ce cas, le rendu pourrait tre <latex>$x-y$</latex> + </para> + <para>Il est possible d'inclure une image en utilisant du code Scilab (il faut dclarer au pralable le namespace xmlns:scilab="http://www.scilab.org"):</para> + <programlisting role="xml"> + <![CDATA[ + <scilab:image> + plot3d(); + </scilab:image> + ]]> + </programlisting> + <scilab:image> + plot3d(); + </scilab:image> + <para>Si une image contient une chane de caractres localises, il faut alors ajouter l'attribut scilab:localized="true":</para> + <programlisting role="xml"> + <![CDATA[ + <scilab:image localized="true"> + plot2d(); + xtitle("Mes jolis plots 2D"); + </scilab:image> + ]]> + </programlisting> + <scilab:image localized="true"> + plot2d(); + xtitle("Mes jolis plots 2D"); + </scilab:image> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example">c_sub(3,4)</programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="c_sum">c_sum</link> + </member> + <member> + <link type="scilab" linkend="scilab.help/sum">Lien vers la page d'aide sum de Scilab</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/help/fr_FR/c_sum.xml b/help/fr_FR/c_sum.xml new file mode 100644 index 0000000..db218c8 --- /dev/null +++ b/help/fr_FR/c_sum.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * + * This file is released under the 3-clause BSD license. See COPYING-BSD. + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="c_sum" xml:lang="en"> + <refnamediv> + <refname>c_sum</refname> + <refpurpose>calcule de la somme depuis du code C</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Squence d'appel</title> + <synopsis>a = c_sum(b,c)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>b</term> + <listitem> + <para>Premier argument d'entree</para> + </listitem> + </varlistentry> + <varlistentry> + <term>c</term> + <listitem> + <para>Second argument d'entree</para> + </listitem> + </varlistentry> + <varlistentry> + <term>a</term> + <listitem> + <para>Argument de sortie</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>calcule la somme.</para> + <para>Ajoutez ici plus d'informations sur cette fonction </para> + <para> + LaTeX peut etre utilis pour afficher l'quation: Dans ce cas, le rendu pourrait tre <latex>$x+y$</latex> + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example">c_sum(3,4)</programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="fortran_sum">fortran_sum</link> + </member> + <member> + <link type="scilab" linkend="scilab.help/sum">Lien vers la page d'aide sum de Scilab</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/help/fr_FR/fortran_sum.xml b/help/fr_FR/fortran_sum.xml new file mode 100644 index 0000000..59c888a --- /dev/null +++ b/help/fr_FR/fortran_sum.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * + * This file is released under the 3-clause BSD license. See COPYING-BSD. + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="fortran_sum" xml:lang="en"> + <refnamediv> + <refname>fortran_sum</refname> + <refpurpose>calcule de la somme depuis du code fortran</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Squence d'appel</title> + <synopsis>a = c_sum(b,c)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>b</term> + <listitem> + <para>Premier argument d'entre</para> + </listitem> + </varlistentry> + <varlistentry> + <term>c</term> + <listitem> + <para>Second argument d'entre</para> + </listitem> + </varlistentry> + <varlistentry> + <term>a</term> + <listitem> + <para>Argument de sortie</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>calcule la somme.</para> + <para>Ajoutez ici plus d'informations sur cette fonction </para> + <para> + LaTeX peut etre utilis pour afficher l'quation: Dans ce cas, le rendu pourrait tre <latex>$x+y$</latex> + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example">fortran_sum(3,4)</programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="c_sum">c_sum</link> + </member> + <member> + <link type="scilab" linkend="scilab.help/sum">Lien vers la page d'aide sum de Scilab</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/help/fr_FR/master_help.xml b/help/fr_FR/master_help.xml new file mode 100644 index 0000000..f854181 --- /dev/null +++ b/help/fr_FR/master_help.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE book [ +<!--Begin Entities--> +<!ENTITY a3c720556a45fcfc7745ee792a9fe633d SYSTEM "/home/rupak/scilab-toolbox/scilab_octave/help/fr_FR/c_multiplybypi.xml"> +<!ENTITY a7f9c6ce18a641788fa6e4e43e6e731d0 SYSTEM "/home/rupak/scilab-toolbox/scilab_octave/help/fr_FR/c_sub.xml"> +<!ENTITY a9c6d0d701d8705951efd170fe90c8a6c SYSTEM "/home/rupak/scilab-toolbox/scilab_octave/help/fr_FR/c_sum.xml"> +<!ENTITY a6afc5da7e543babe545fcbd230790f42 SYSTEM "/home/rupak/scilab-toolbox/scilab_octave/help/fr_FR/fortran_sum.xml"> +<!ENTITY abbd0f768aa6903678007f2e97672bb05 SYSTEM "/home/rupak/scilab-toolbox/scilab_octave/help/fr_FR/scilab_sum.xml"> +<!--End Entities--> +]> +<book version="5.0-subset Scilab" xml:lang="fr_FR" + xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:mml="http://www.w3.org/1998/Math/MathML" + xmlns:html="http://www.w3.org/1999/xhtml" + xmlns:db="http://docbook.org/ns/docbook"> + <info xml:id='scilab_toolbox_manual'> + <title>scilab_toolbox</title> + </info> + +<part xml:id='section_6167af851f1275359a6b7e92eff5396f'> +<title>scilab_toolbox</title> +&a3c720556a45fcfc7745ee792a9fe633d; +&a7f9c6ce18a641788fa6e4e43e6e731d0; +&a9c6d0d701d8705951efd170fe90c8a6c; +&a6afc5da7e543babe545fcbd230790f42; +&abbd0f768aa6903678007f2e97672bb05; +</part> +</book> diff --git a/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/DOCS b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/DOCS Binary files differnew file mode 100644 index 0000000..4184a6c --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/DOCS diff --git a/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/DOCS.TAB b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/DOCS.TAB Binary files differnew file mode 100644 index 0000000..f3d30d3 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/DOCS.TAB diff --git a/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/OFFSETS b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/OFFSETS new file mode 100644 index 0000000..003b198 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/OFFSETS @@ -0,0 +1 @@ +abB@S4+@h@
\ No newline at end of file diff --git a/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/POSITIONS b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/POSITIONS Binary files differnew file mode 100644 index 0000000..d40a0ba --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/POSITIONS diff --git a/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/SCHEMA b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/SCHEMA new file mode 100644 index 0000000..f4bc6df --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/SCHEMA @@ -0,0 +1,2 @@ +JavaSearch 1.0 +TMAP bs=2048 rt=0 fl=-1 id1=114 id2=1 diff --git a/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/TMAP b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/TMAP Binary files differnew file mode 100644 index 0000000..28a28b1 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/JavaHelpSearch/TMAP diff --git a/help/fr_FR/scilab_fr_FR_help/ScilabCaution.png b/help/fr_FR/scilab_fr_FR_help/ScilabCaution.png Binary files differnew file mode 100644 index 0000000..a9e4ff3 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/ScilabCaution.png diff --git a/help/fr_FR/scilab_fr_FR_help/ScilabEdit.png b/help/fr_FR/scilab_fr_FR_help/ScilabEdit.png Binary files differnew file mode 100644 index 0000000..188e1c1 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/ScilabEdit.png diff --git a/help/fr_FR/scilab_fr_FR_help/ScilabExecute.png b/help/fr_FR/scilab_fr_FR_help/ScilabExecute.png Binary files differnew file mode 100644 index 0000000..a7de0fe --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/ScilabExecute.png diff --git a/help/fr_FR/scilab_fr_FR_help/ScilabImportant.png b/help/fr_FR/scilab_fr_FR_help/ScilabImportant.png Binary files differnew file mode 100644 index 0000000..81e9ed2 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/ScilabImportant.png diff --git a/help/fr_FR/scilab_fr_FR_help/ScilabNote.png b/help/fr_FR/scilab_fr_FR_help/ScilabNote.png Binary files differnew file mode 100644 index 0000000..8851b99 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/ScilabNote.png diff --git a/help/fr_FR/scilab_fr_FR_help/ScilabTip.png b/help/fr_FR/scilab_fr_FR_help/ScilabTip.png Binary files differnew file mode 100644 index 0000000..8851b99 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/ScilabTip.png diff --git a/help/fr_FR/scilab_fr_FR_help/ScilabWarning.png b/help/fr_FR/scilab_fr_FR_help/ScilabWarning.png Binary files differnew file mode 100644 index 0000000..a9e4ff3 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/ScilabWarning.png diff --git a/help/fr_FR/scilab_fr_FR_help/_LaTeX_c_multiplybypi.xml_1.png b/help/fr_FR/scilab_fr_FR_help/_LaTeX_c_multiplybypi.xml_1.png Binary files differnew file mode 100644 index 0000000..2575c07 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/_LaTeX_c_multiplybypi.xml_1.png diff --git a/help/fr_FR/scilab_fr_FR_help/_LaTeX_c_sub.xml_1.png b/help/fr_FR/scilab_fr_FR_help/_LaTeX_c_sub.xml_1.png Binary files differnew file mode 100644 index 0000000..3e7ef87 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/_LaTeX_c_sub.xml_1.png diff --git a/help/fr_FR/scilab_fr_FR_help/_LaTeX_c_sum.xml_1.png b/help/fr_FR/scilab_fr_FR_help/_LaTeX_c_sum.xml_1.png Binary files differnew file mode 100644 index 0000000..033aefe --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/_LaTeX_c_sum.xml_1.png diff --git a/help/fr_FR/scilab_fr_FR_help/_LaTeX_fortran_sum.xml_1.png b/help/fr_FR/scilab_fr_FR_help/_LaTeX_fortran_sum.xml_1.png Binary files differnew file mode 100644 index 0000000..033aefe --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/_LaTeX_fortran_sum.xml_1.png diff --git a/help/fr_FR/scilab_fr_FR_help/_LaTeX_scilab_sum.xml_1.png b/help/fr_FR/scilab_fr_FR_help/_LaTeX_scilab_sum.xml_1.png Binary files differnew file mode 100644 index 0000000..033aefe --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/_LaTeX_scilab_sum.xml_1.png diff --git a/help/fr_FR/scilab_fr_FR_help/c_code.css b/help/fr_FR/scilab_fr_FR_help/c_code.css new file mode 100644 index 0000000..948d2ee --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/c_code.css @@ -0,0 +1,54 @@ +.ccomment { + font-style: italic; + color: #b22222 +} + +.cdefault { + font-style: normal; + color: #000000 +} + +.copenclose { + font-style: normal; + color: #000000 +} + +.coperator { + font-style: normal; + color: #000000 +} + +.cstring { + font-style: normal; + color: #a6557a +} + +.ctype { + font-style: normal; + color: #55a655 +} + +.cpreprocessor { + font-style: normal; + color: #9965a6 +} + +.cid { + font-style: normal; + color: #000000 +} + +.ckeyword { + font-style: normal; + color: #ad3ff2 +} + +.cmodifier { + font-style: normal; + color: #ad3ff2 +} + +.cnumber { + font-style: normal; + color: #008b8b +} diff --git a/help/fr_FR/scilab_fr_FR_help/c_multiplybypi.html b/help/fr_FR/scilab_fr_FR_help/c_multiplybypi.html new file mode 100644 index 0000000..02407f4 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/c_multiplybypi.html @@ -0,0 +1,75 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>c_multiplybypi</title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + <span class="previous"><a href="section_6167af851f1275359a6b7e92eff5396f.html"><< scilab_toolbox</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="c_sub.html">c_sub >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> <a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a> > c_multiplybypi</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">c_multiplybypi</h1> + <p class="refpurpose">Multiple par %pi un nombre</p></div> + <div class="refsynopsisdiv"><h3 class="title">Séquence d'appel</h3> + <div class="synopsis"><pre><span class="default">a</span><span class="default"> = </span><span class="default">multiplybypi</span><span class="default">(</span><span class="default">b</span><span class="default">)</span></pre></div></div> + <div class="refsection"><h3 class="title">Arguments</h3> + <dl><dt><span class="term">b</span> + <dd><p class="para">Premier argument d'entrée</p></dd></dt> + <dt><span class="term">a</span> + <dd><p class="para">Argument de sortie</p></dd></dt></dl></div> + <div class="refsection"><h3 class="title">Description</h3> + <p class="para">Fait une multiplication particulière.</p> + <p class="para">Ajoutez ici plus d'informations sur cette fonction</p> + <p class="para">LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <span><img src='./_LaTeX_c_multiplybypi.xml_1.png' style='position:relative;top:2px;width:38px;height:12px' alt='$x*\pi$'/></span></p></div> + <div class="refsection"><h3 class="title">Exemples</h3> + <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">c_multiplybypi</span><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> + <div class="refsection"><h3 class="title">Voir aussi</h3> + <ul class="itemizedlist"><li class="member"><a href="c_sum.html" class="link">c_sum</a> — calcule de la somme depuis du code C</li> + <li class="member"><a href="scilab://scilab.help/sum" class="link">Lien vers la page d'aide sum de Scilab</a></li></ul></div> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + <span class="previous"><a href="section_6167af851f1275359a6b7e92eff5396f.html"><< scilab_toolbox</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="c_sub.html">c_sub >></a></span> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/fr_FR/scilab_fr_FR_help/c_sub.html b/help/fr_FR/scilab_fr_FR_help/c_sub.html new file mode 100644 index 0000000..c3e31ec --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/c_sub.html @@ -0,0 +1,88 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>c_sub</title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + <span class="previous"><a href="c_multiplybypi.html"><< c_multiplybypi</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="c_sum.html">c_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> <a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a> > c_sub</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">c_sub</h1> + <p class="refpurpose">calcule de la soustraction depuis du code C</p></div> + <div class="refsynopsisdiv"><h3 class="title">Séquence d'appel</h3> + <div class="synopsis"><pre><span class="default">a</span><span class="default"> = </span><span class="functionid">c_sub</span><span class="default">(</span><span class="default">b</span><span class="default">,</span><span class="default">c</span><span class="default">)</span></pre></div></div> + <div class="refsection"><h3 class="title">Arguments</h3> + <dl><dt><span class="term">b</span> + <dd><p class="para">Premier argument d'entrée</p></dd></dt> + <dt><span class="term">c</span> + <dd><p class="para">Second argument d'entrée</p></dd></dt> + <dt><span class="term">a</span> + <dd><p class="para">Argument de sortie</p></dd></dt></dl></div> + <div class="refsection"><h3 class="title">Description</h3> + <p class="para">calcule la soustraction.</p> + <p class="para">Ajoutez ici plus d'informations sur cette fonction</p> + <p class="para">LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <span><img src='./_LaTeX_c_sub.xml_1.png' style='position:relative;top:6px;width:41px;height:18px' alt='$x-y$'/></span></p> + <p class="para">Il est possible d'inclure une image en utilisant du code Scilab (il faut déclarer au préalable le namespace xmlns:scilab="http://www.scilab.org"):</p> + <div class="programlisting"><pre class="xmlcode"><span class="xmllowtag"><</span><span class="xmltagname">scilab:image</span><span class="xmlgreattag">></span> +<span class="xmldefault"> plot3d();</span> +<span class="xmllowclose"></</span><span class="xmltagname">scilab:image</span><span class="xmlgreattag">></span></pre></div> + <img src='./c_sub_1.png'/> + <p class="para">Si une image contient une chaîne de caractères localisées, il faut alors ajouter l'attribut scilab:localized="true":</p> + <div class="programlisting"><pre class="xmlcode"><span class="xmllowtag"><</span><span class="xmltagname">scilab:image</span> <span class="xmlattributename">localized</span><span class="xmlequal">=</span><span class="xmlattributevalue">"true"</span><span class="xmlgreattag">></span> +<span class="xmldefault"> plot2d();</span> +<span class="xmldefault"> xtitle("Mes jolis plots 2D");</span> +<span class="xmllowclose"></</span><span class="xmltagname">scilab:image</span><span class="xmlgreattag">></span></pre></div> + <img src='./c_sub_fr_FR_2.png'/></div> + <div class="refsection"><h3 class="title">Exemples</h3> + <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">c_sub</span><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">4</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> + <div class="refsection"><h3 class="title">Voir aussi</h3> + <ul class="itemizedlist"><li class="member"><a href="c_sum.html" class="link">c_sum</a> — calcule de la somme depuis du code C</li> + <li class="member"><a href="scilab://scilab.help/sum" class="link">Lien vers la page d'aide sum de Scilab</a></li></ul></div> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + <span class="previous"><a href="c_multiplybypi.html"><< c_multiplybypi</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="c_sum.html">c_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/fr_FR/scilab_fr_FR_help/c_sub_1.png b/help/fr_FR/scilab_fr_FR_help/c_sub_1.png Binary files differnew file mode 100644 index 0000000..167902e --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/c_sub_1.png diff --git a/help/fr_FR/scilab_fr_FR_help/c_sub_fr_FR_2.png b/help/fr_FR/scilab_fr_FR_help/c_sub_fr_FR_2.png Binary files differnew file mode 100644 index 0000000..9013a4a --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/c_sub_fr_FR_2.png diff --git a/help/fr_FR/scilab_fr_FR_help/c_sum.html b/help/fr_FR/scilab_fr_FR_help/c_sum.html new file mode 100644 index 0000000..3bbef2c --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/c_sum.html @@ -0,0 +1,77 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>c_sum</title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + <span class="previous"><a href="c_sub.html"><< c_sub</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="fortran_sum.html">fortran_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> <a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a> > c_sum</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">c_sum</h1> + <p class="refpurpose">calcule de la somme depuis du code C</p></div> + <div class="refsynopsisdiv"><h3 class="title">Séquence d'appel</h3> + <div class="synopsis"><pre><span class="default">a</span><span class="default"> = </span><span class="functionid">c_sum</span><span class="default">(</span><span class="default">b</span><span class="default">,</span><span class="default">c</span><span class="default">)</span></pre></div></div> + <div class="refsection"><h3 class="title">Arguments</h3> + <dl><dt><span class="term">b</span> + <dd><p class="para">Premier argument d'entréee</p></dd></dt> + <dt><span class="term">c</span> + <dd><p class="para">Second argument d'entréee</p></dd></dt> + <dt><span class="term">a</span> + <dd><p class="para">Argument de sortie</p></dd></dt></dl></div> + <div class="refsection"><h3 class="title">Description</h3> + <p class="para">calcule la somme.</p> + <p class="para">Ajoutez ici plus d'informations sur cette fonction</p> + <p class="para">LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <span><img src='./_LaTeX_c_sum.xml_1.png' style='position:relative;top:6px;width:41px;height:18px' alt='$x+y$'/></span></p></div> + <div class="refsection"><h3 class="title">Exemples</h3> + <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">c_sum</span><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">4</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> + <div class="refsection"><h3 class="title">Voir aussi</h3> + <ul class="itemizedlist"><li class="member"><a href="fortran_sum.html" class="link">fortran_sum</a> — calcule de la somme depuis du code fortran</li> + <li class="member"><a href="scilab://scilab.help/sum" class="link">Lien vers la page d'aide sum de Scilab</a></li></ul></div> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + <span class="previous"><a href="c_sub.html"><< c_sub</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="fortran_sum.html">fortran_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/fr_FR/scilab_fr_FR_help/fortran_sum.html b/help/fr_FR/scilab_fr_FR_help/fortran_sum.html new file mode 100644 index 0000000..1c42e18 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/fortran_sum.html @@ -0,0 +1,77 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>fortran_sum</title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + <span class="previous"><a href="c_sum.html"><< c_sum</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="scilab_sum.html">scilab_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> <a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a> > fortran_sum</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">fortran_sum</h1> + <p class="refpurpose">calcule de la somme depuis du code fortran</p></div> + <div class="refsynopsisdiv"><h3 class="title">Séquence d'appel</h3> + <div class="synopsis"><pre><span class="default">a</span><span class="default"> = </span><span class="default">c_sum</span><span class="default">(</span><span class="default">b</span><span class="default">,</span><span class="default">c</span><span class="default">)</span></pre></div></div> + <div class="refsection"><h3 class="title">Arguments</h3> + <dl><dt><span class="term">b</span> + <dd><p class="para">Premier argument d'entrée</p></dd></dt> + <dt><span class="term">c</span> + <dd><p class="para">Second argument d'entrée</p></dd></dt> + <dt><span class="term">a</span> + <dd><p class="para">Argument de sortie</p></dd></dt></dl></div> + <div class="refsection"><h3 class="title">Description</h3> + <p class="para">calcule la somme.</p> + <p class="para">Ajoutez ici plus d'informations sur cette fonction</p> + <p class="para">LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <span><img src='./_LaTeX_fortran_sum.xml_1.png' style='position:relative;top:6px;width:41px;height:18px' alt='$x+y$'/></span></p></div> + <div class="refsection"><h3 class="title">Exemples</h3> + <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">fortran_sum</span><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">4</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> + <div class="refsection"><h3 class="title">Voir aussi</h3> + <ul class="itemizedlist"><li class="member"><a href="c_sum.html" class="link">c_sum</a> — calcule de la somme depuis du code C</li> + <li class="member"><a href="scilab://scilab.help/sum" class="link">Lien vers la page d'aide sum de Scilab</a></li></ul></div> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + <span class="previous"><a href="c_sum.html"><< c_sum</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="scilab_sum.html">scilab_sum >></a></span> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/fr_FR/scilab_fr_FR_help/index.html b/help/fr_FR/scilab_fr_FR_help/index.html new file mode 100644 index 0000000..df62d59 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/index.html @@ -0,0 +1,71 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title></title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + + + + + <br /><br /> + <h3 class="book-title">scilab_toolbox</h3> +<ul class="list-part"><a name="scilab_toolbox_manual"></a><div class="info"></div> + +<li><a href="section_6167af851f1275359a6b7e92eff5396f.html" class="part">scilab_toolbox</a> +<ul class="list-chapter"><li><a href="c_multiplybypi.html" class="refentry">c_multiplybypi</a> — <span class="refentry-description">Multiple par %pi un nombre</span></li> + + + +<li><a href="c_sub.html" class="refentry">c_sub</a> — <span class="refentry-description">calcule de la soustraction depuis du code C</span></li> + + + +<li><a href="c_sum.html" class="refentry">c_sum</a> — <span class="refentry-description">calcule de la somme depuis du code C</span></li> + + + +<li><a href="fortran_sum.html" class="refentry">fortran_sum</a> — <span class="refentry-description">calcule de la somme depuis du code fortran</span></li> + + + +<li><a href="scilab_sum.html" class="refentry">scilab_sum</a> — <span class="refentry-description">calcule de la somme depuis du code scilab</span></li></ul></li></ul> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/fr_FR/scilab_fr_FR_help/jhelpidx.xml b/help/fr_FR/scilab_fr_FR_help/jhelpidx.xml new file mode 100644 index 0000000..aa5a66e --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/jhelpidx.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE index PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Index Version 1.0//EN" "http://java.sun.com/products/javahelp/index_1_0.dtd"> +<index version="1.0"/>
\ No newline at end of file diff --git a/help/fr_FR/scilab_fr_FR_help/jhelpmap.jhm b/help/fr_FR/scilab_fr_FR_help/jhelpmap.jhm new file mode 100644 index 0000000..d719dd6 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/jhelpmap.jhm @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE map PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN" "http://java.sun.com/products/javahelp/map_1_0.dtd"> +<map version="1.0"> +<mapID target="index" url="index.html"/> +<mapID target="section_6167af851f1275359a6b7e92eff5396f" url="section_6167af851f1275359a6b7e92eff5396f.html"/> +<mapID target="c_multiplybypi" url="c_multiplybypi.html"/> +<mapID target="c_sub" url="c_sub.html"/> +<mapID target="c_sum" url="c_sum.html"/> +<mapID target="fortran_sum" url="fortran_sum.html"/> +<mapID target="scilab_sum" url="scilab_sum.html"/> +</map>
\ No newline at end of file diff --git a/help/fr_FR/scilab_fr_FR_help/jhelpset.hs b/help/fr_FR/scilab_fr_FR_help/jhelpset.hs new file mode 100644 index 0000000..f1e5a6c --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/jhelpset.hs @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE helpset + PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN" "http://java.sun.com/products/javahelp/helpset_1_0.dtd"> +<helpset version="1.0"> +<title>scilab_toolbox</title> +<maps> +<homeID>top</homeID> +<mapref location="jhelpmap.jhm"/> +</maps> +<view> +<name>TOC</name> +<label>Table Of Contents</label> +<type>javax.help.TOCView</type> +<data>jhelptoc.xml</data> +</view> +<view> +<name>Index</name> +<label>Index</label> +<type>javax.help.IndexView</type> +<data>jhelpidx.xml</data> +</view> +<view> +<name>Search</name> +<label>Search</label> +<type>javax.help.SearchView</type> +<data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data> +</view> +</helpset>
\ No newline at end of file diff --git a/help/fr_FR/scilab_fr_FR_help/jhelptoc.xml b/help/fr_FR/scilab_fr_FR_help/jhelptoc.xml new file mode 100644 index 0000000..5c0bdde --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/jhelptoc.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE toc PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN" "http://java.sun.com/products/javahelp/toc_1_0.dtd"> +<toc version="1.0"> +<tocitem target="index" text="scilab_toolbox"> +<tocitem target="section_6167af851f1275359a6b7e92eff5396f" text="scilab_toolbox"> +<tocitem target="c_multiplybypi" text="c_multiplybypi"/> +<tocitem target="c_sub" text="c_sub"/> +<tocitem target="c_sum" text="c_sum"/> +<tocitem target="fortran_sum" text="fortran_sum"/> +<tocitem target="scilab_sum" text="scilab_sum"/> +</tocitem> +</tocitem> +</toc>
\ No newline at end of file diff --git a/help/fr_FR/scilab_fr_FR_help/scilab_code.css b/help/fr_FR/scilab_fr_FR_help/scilab_code.css new file mode 100644 index 0000000..658f42e --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/scilab_code.css @@ -0,0 +1,96 @@ +.scilabcomment { + font-style: italic; + color: #01a801 +} + +.scilabdefault { + font-style: normal; + color: #000000 +} + +.scilabspecial { + font-style: normal; + color: #ffaa00 +} + +.scilabconstants { + font-style: normal; + color: #da70d6 +} + +.scilaboperator { + font-style: normal; + color: #5c5c5c +} + +.scilabnumber { + font-style: normal; + color: #bc8f8f +} + +.scilabfkeyword { + font-style: normal; + color: #b01813 +} + +.scilabskeyword { + font-style: normal; + color: #a020f0 +} + +.scilabckeyword { + font-style: normal; + color: #5f9ea0 +} + +.scilabcommand { + font-style: normal; + color: #32b9b9 +} + +.scilabmacro { + font-style: normal; + color: #ae5cb0 +} + +a.scilabcommand { + font-style: normal; + text-decoration: underline; + color: #32b9b9 +} + +a.scilabmacro { + font-style: normal; + text-decoration: underline; + color: #ae5cb0 +} + +.scilabstring { + font-style: normal; + color: #bc8f8f +} + +.scilabid { + font-style: normal; + color: #000000 +} + +.scilabinputoutputargs { + font-weight: bold; + color: #834310 +} + +.scilabfunctionid { + font-weight: bold; + color: #000000 +} + +.scilabfield { + font-style: normal; + color: #aaaaaa +} + +.scilabopenclose { + font-style: normal; + color: #4a55db +} diff --git a/help/fr_FR/scilab_fr_FR_help/scilab_sum.html b/help/fr_FR/scilab_fr_FR_help/scilab_sum.html new file mode 100644 index 0000000..a615864 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/scilab_sum.html @@ -0,0 +1,75 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>scilab_sum</title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + <span class="previous"><a href="fortran_sum.html"><< fortran_sum</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> <a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a> > scilab_sum</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">scilab_sum</h1> + <p class="refpurpose">calcule de la somme depuis du code scilab</p></div> + <div class="refsynopsisdiv"><h3 class="title">Séquence d'appel</h3> + <div class="synopsis"><pre><span class="default">a</span><span class="default"> = </span><span class="functionid">scilab_sum</span><span class="default">(</span><span class="default">b</span><span class="default">,</span><span class="default">c</span><span class="default">)</span></pre></div></div> + <div class="refsection"><h3 class="title">Arguments</h3> + <dl><dt><span class="term">b</span> + <dd><p class="para">Premier argument d'entrée</p></dd></dt> + <dt><span class="term">c</span> + <dd><p class="para">Second argument d'entrée</p></dd></dt> + <dt><span class="term">a</span> + <dd><p class="para">Argument de sortie</p></dd></dt></dl></div> + <div class="refsection"><h3 class="title">Description</h3> + <p class="para">calcule la somme.</p> + <p class="para">Ajoutez ici plus d'informations sur cette fonction</p> + <p class="para">LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être <span><img src='./_LaTeX_scilab_sum.xml_1.png' style='position:relative;top:6px;width:41px;height:18px' alt='$x+y$'/></span></p></div> + <div class="refsection"><h3 class="title">Exemples</h3> + <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabid">scilab_sum</span><span class="scilabopenclose">(</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">4</span><span class="scilabopenclose">)</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div> + <div class="refsection"><h3 class="title">Voir aussi</h3> + <ul class="itemizedlist"><li class="member"><a href="c_sum.html" class="link">c_sum</a> — calcule de la somme depuis du code C</li> + <li class="member"><a href="scilab://scilab.help/sum" class="link">Lien vers la page d'aide sum de Scilab</a></li></ul></div> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + <span class="previous"><a href="fortran_sum.html"><< fortran_sum</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_6167af851f1275359a6b7e92eff5396f.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/fr_FR/scilab_fr_FR_help/section_4eb916bc0afcb997a380716cc7e38c7b.html b/help/fr_FR/scilab_fr_FR_help/section_4eb916bc0afcb997a380716cc7e38c7b.html new file mode 100644 index 0000000..18ebd24 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/section_4eb916bc0afcb997a380716cc7e38c7b.html @@ -0,0 +1,71 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title></title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="index.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> scilab_toolbox</span> + + <br /><br /> + <h3 class="title-part">scilab_toolbox</h3> +<ul class="list-chapter"><li><a href="c_multiplybypi.html" class="refentry">c_multiplybypi</a> — <span class="refentry-description">Multiple par %pi un nombre</span></li> + + + +<li><a href="c_sub.html" class="refentry">c_sub</a> — <span class="refentry-description">calcule de la soustraction depuis du code C</span></li> + + + +<li><a href="c_sum.html" class="refentry">c_sum</a> — <span class="refentry-description">calcule de la somme depuis du code C</span></li> + + + +<li><a href="fortran_sum.html" class="refentry">fortran_sum</a> — <span class="refentry-description">calcule de la somme depuis du code fortran</span></li> + + + +<li><a href="scilab_sum.html" class="refentry">scilab_sum</a> — <span class="refentry-description">calcule de la somme depuis du code scilab</span></li></ul> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="index.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/fr_FR/scilab_fr_FR_help/section_6167af851f1275359a6b7e92eff5396f.html b/help/fr_FR/scilab_fr_FR_help/section_6167af851f1275359a6b7e92eff5396f.html new file mode 100644 index 0000000..18ebd24 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/section_6167af851f1275359a6b7e92eff5396f.html @@ -0,0 +1,71 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title></title> + <style type="text/css" media="all"> + @import url("scilab_code.css"); + @import url("xml_code.css"); + @import url("c_code.css"); + @import url("style.css"); + </style> + </head> + <body> + <div class="manualnavbar"> + <table width="100%"><tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="index.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path" dir="ltr"><a href="index.html">scilab_toolbox</a> >> scilab_toolbox</span> + + <br /><br /> + <h3 class="title-part">scilab_toolbox</h3> +<ul class="list-chapter"><li><a href="c_multiplybypi.html" class="refentry">c_multiplybypi</a> — <span class="refentry-description">Multiple par %pi un nombre</span></li> + + + +<li><a href="c_sub.html" class="refentry">c_sub</a> — <span class="refentry-description">calcule de la soustraction depuis du code C</span></li> + + + +<li><a href="c_sum.html" class="refentry">c_sum</a> — <span class="refentry-description">calcule de la somme depuis du code C</span></li> + + + +<li><a href="fortran_sum.html" class="refentry">fortran_sum</a> — <span class="refentry-description">calcule de la somme depuis du code fortran</span></li> + + + +<li><a href="scilab_sum.html" class="refentry">scilab_sum</a> — <span class="refentry-description">calcule de la somme depuis du code scilab</span></li></ul> + <br /> + + <div class="manualnavbar"> + <table width="100%"> + <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr> +<tr> + <td width="30%"> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="index.html">scilab_toolbox</a></span> + + </td> + <td width="30%" class="next"> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> diff --git a/help/fr_FR/scilab_fr_FR_help/style.css b/help/fr_FR/scilab_fr_FR_help/style.css new file mode 100644 index 0000000..edc0b85 --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/style.css @@ -0,0 +1,386 @@ +body { + color:#000000; + background-color:#ffffff; + font-family:sans-serif; + font-size:100%; + margin:5px; + padding:0; + background : url("/img/body.png"); + background-repeat : repeat-x; +} + +.para { + padding-left: 10px; +} + +.refname { + color: #ff6c0a; +} +.refpurpose { + font-size: 110%; +} + +.synopsis { + border: 1px solid #CCCCCC; + width:80%; + padding: 0.5em; +} + +.editbar { + text-align: right; +} + +.term { + color:#A00000; + font-size:100%; + font-weight: 600; +} + +h3 { + color: #0033FF; + font-weight: bold; + font-size:130%; + margin-bottom: 10px; +} + +h4 { + color: #0066FF; + font-weight: bold; + font-size:120%; + margin-bottom: 5px; +} + +h5 { + color: #0099FF; + font-weight: bold; + font-size:110%; + margin-bottom: 1px; +} + +.programlisting { + font-family: monospace; + font-size: 100%; + background-color:#F4F4FF; + border-color:#CCCCCC; + border-style:solid; + border-width:2px medium; + width:90%; + color:#333333; + line-height:120%; + padding:10px; + direction: ltr; +} + +.literal { + font-family: monospace; + font-size: 100%; +} + +.option { + font-family: monospace; + font-style: italic; + font-size: 100%; +} + +.command { + font-family: monospace; + font-size: 100%; + color: #32b9b9; +} + +.function { + font-family: monospace; + font-size: 100%; + color: #32b9b9; + direction: ltr; +} + +.varname { + font-family: monospace; + font-weight: bold; + font-size: 100%; + direction: ltr; +} + +.constant { + font-family: monospace; + font-size: 100%; + color: #da70d6; +} + +a { + color: blue; + text-decoration:none; +} + +a:hover { + text-decoration:underline; +} + +.itemizedlist { + list-style-type: disc; +} + +.inline-list li { + display: inline; + list-style-type: disc; +} + +.vert-list { + list-style-type: disc; +} + +pre { + margin-bottom: 0px; + margin-top: 0px; + direction: ltr; +} + +.leftpart { + position:absolute; + float:left; + width: 186px; + padding: 5px; + font-size: smaller; +} + +.content { + margin-top: 100px; + margin-left: 196px +} + +.container { + margin: 0 auto; + width:1024px; +} + +ul.toc li.list-active { + list-style-type:disc; + font-weight:bold; +} + +ul.toc li.parent { + font-size: 115%; + padding: 5px 0px 5px 11px; + border-bottom: 1px solid #cccccc; + margin-bottom: 5px; +} + +ul.toc li.root { + font-size: 135%; + padding: 5px 0px 5px 11px; + border-bottom: 1px solid #cccccc; + margin-bottom: 5px; +} + +ul.toc li { + font-size: 85%; + margin: 1px 0 1px 1px; + padding: 1px 0 1px 11px; + background-repeat: no-repeat; + background-position: center left; + list-style-type: circle; +} + +.next { + float:right; + text-align: right; +} + +.center { + text-align: center; +} + +.screen { + font-family: monospace; + font-size: 100%; + background-color:#FFFFFF; + border-color:#CCCCCC; + border-style:solid; + border-width:2px medium; + width:90%; + color:#333333; + line-height:120%; + padding:10px; +} + +/* Top and bottom navigation controls on manual pages --------------------- */ +div.manualnavbar { + background-color: #F0F0FF; + color: inherit; + padding: 4px; + margin-bottom: 10px; + direction: ltr; +} +div.manualnavbar .prev { + padding-right: 4px; +} +div.manualnavbar .next { + text-align: right; + padding-left: 4px; +} + +div.manualnavbar .top { + text-align: center; + display: block; +} + +div.manualnavbar hr { + color: #cccccc; + background-color: #cccccc; +} + +/* Footer navigation area ------------------------------------------------- */ + +#pagefooter { + position: relative; + font-size: 75%; + color: inherit; + background-color: #e5e5e5; + width: 100%; +} + +#pagefooterleft { + top: 0px; + left: 0px; + padding: 6px; + margin-right: 30%; +} + +#pagefooterright { + text-align: right; + margin-left: 50%; + padding: 6px; +} +#footnav { + color: inherit; + background-color: #9999cc; + border-width: 1px 0px; + border-color: #333366; + border-style: solid; + text-align: right; + padding-right: 6px; +} + + + + + #global{ +/* width: 90%; */ + max-width: 90em; +/* min-width: 850px; */ + margin-left: auto; + margin-right: auto; + } + + #myHeader{ + background-color:#000000; + color:white; + margin-bottom : 10px; + position : relative; + text-align: center; +/* width : 1024px;*/ + height : 100px; + padding-left : 20px; + background : url("http://atoms.scilab.org/images/homepage/cadre_head.png"); + background-repeat : no-repeat; + background-position : 0px 0px; + + } + + #myFooter{ + background-color:#E5E5E5; + font-color:black; +/* width: 90%;*/ + max-width: 90em; +/* min-width: 850px; + margin-left: 5%; + margin-right: 5%;*/ + margin-top:10px; + padding:10px; + } + + #mainArea{ + width: 100%; + overflow: hidden; + } + + #myLeftArea{ + color:white; + float: left; + width: 180px; + padding:5px; + } + + #myMiddleArea{ + color:black; + margin-left: 200px; + padding: 10px 20px; + } + + #myRightArea{ + color:white; + float: right; + width: 200px; + padding: 12px 20px; + } + + +div#cadre_head +{ + position : relative; + text-align: center; +/* width : 1024px;*/ + height : 100px; + padding-left : 20px; + background : url("/img/cadre_head.png"); + background-repeat : no-repeat; + background-position : 0px 0px; +} + + +div#slogan{ + position: absolute; + top : 50px; + left:251px; + color:#0000AA; + font: 120%, Georgia,Serif; +} +div#cadre_help +{ + position: absolute; + top:45px; + right:0px; + font-size:0.8em; + color:#0000AA; +} +table +{ + border-collapse:collapse +} +th, td { + padding: 4px; +} +table.revhistory +{ + width:90%; + border-color:#CCCCCC; + border-style:solid; + border-width:2px medium; + margin-bottom: 10px; +} + +table.revhistory tr.title td +{ + background-color: #CCCCEE; + font-weight: bold; +} + +td.revnumber +{ + vertical-align: top; +} +tr +{ + vertical-align: top; +} diff --git a/help/fr_FR/scilab_fr_FR_help/xml_code.css b/help/fr_FR/scilab_fr_FR_help/xml_code.css new file mode 100644 index 0000000..9e4c27f --- /dev/null +++ b/help/fr_FR/scilab_fr_FR_help/xml_code.css @@ -0,0 +1,94 @@ +.xmlcomment { + font-style: italic; + color: #01a801 +} + +.xmldefault { + font-style: normal; + color: #000000 +} + +.xmlentity { + font-style: normal; + color: #ffaa00 +} + +.xmlopeninstr { + font-style: normal; + color: #000000 +} + +.xmlcloseinstr { + font-style: normal; + color: #000000 +} + +.xmlinstrname { + font-style: normal; + color: #9965a6 +} + +.xmllowtag { + font-style: normal; + color: #000000 +} + +.xmltagname { + font-style: normal; + color: #0303ff +} + +.xmllowclose { + font-style: normal; + color: #000000 +} + +.xmlopencomment { + font-style: italic; + color: #01a801 +} + +.xmlcommentend { + font-style: italic; + color: #01a801 +} + +.xmlcomment { + font-style: italic; + color: #01a801 +} + +.xmlopencdata { + font-style: normal; + color: #c45555 +} + +.xmlcdataend { + font-style: normal; + color: #c45555 +} + +.xmlcdata { + font-style: normal; + color: #000000 +} + +.xmlattributename { + font-style: normal; + color: #9965a6 +} + +.xmlequal { + font-style: normal; + color: #000000 +} + +.xmlattributevalue { + font-style: normal; + color: #973964 +} + +.xmlautoclose { + font-style: normal; + color: #000000 +} diff --git a/help/fr_FR/scilab_sum.xml b/help/fr_FR/scilab_sum.xml new file mode 100644 index 0000000..5b14618 --- /dev/null +++ b/help/fr_FR/scilab_sum.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * + * This file is released under the 3-clause BSD license. See COPYING-BSD. + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="scilab_sum" xml:lang="en"> + <refnamediv> + <refname>scilab_sum</refname> + <refpurpose>calcule de la somme depuis du code scilab</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Squence d'appel</title> + <synopsis>a = scilab_sum(b,c)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>b</term> + <listitem> + <para>Premier argument d'entre</para> + </listitem> + </varlistentry> + <varlistentry> + <term>c</term> + <listitem> + <para>Second argument d'entre</para> + </listitem> + </varlistentry> + <varlistentry> + <term>a</term> + <listitem> + <para>Argument de sortie</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para>calcule la somme.</para> + <para>Ajoutez ici plus d'informations sur cette fonction </para> + <para> + LaTeX peut etre utilis pour afficher l'quation: Dans ce cas, le rendu pourrait tre <latex>$x+y$</latex> + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example">scilab_sum(3,4)</programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="c_sum">c_sum</link> + </member> + <member> + <link type="scilab" linkend="scilab.help/sum">Lien vers la page d'aide sum de Scilab</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/jar/org.scilab.contrib.toolboxskeleton.jar b/jar/org.scilab.contrib.toolboxskeleton.jar Binary files differnew file mode 100644 index 0000000..3f29663 --- /dev/null +++ b/jar/org.scilab.contrib.toolboxskeleton.jar diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar Binary files differnew file mode 100644 index 0000000..faa2ff5 --- /dev/null +++ b/jar/scilab_en_US_help.jar diff --git a/jar/scilab_fr_FR_help.jar b/jar/scilab_fr_FR_help.jar Binary files differnew file mode 100644 index 0000000..aaad0a8 --- /dev/null +++ b/jar/scilab_fr_FR_help.jar diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..1364249 --- /dev/null +++ b/license.txt @@ -0,0 +1,10 @@ +License of the Toolbox_skeleton + +Please update this file with the license terms (Copy and paste the license agreement). +Note that all the files of the toolbox_skeleton are released into the public domain. +Therefore, there is no limitation on the use of these files. + +Please note that Scilab is released under the terms of the GNU GPL v2.0 +For more information, see the COPYING file which you should have received +along with this program. + diff --git a/loader.sce b/loader.sce new file mode 100644 index 0000000..41751bf --- /dev/null +++ b/loader.sce @@ -0,0 +1,20 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder.sce: Please, do not edit this file + +oldmode = mode(); mode(-1); +oldlines = lines()(2); lines(0); +try + exec(get_absolute_file_path("loader.sce")+"etc/"+"scilab_toolbox.start"); +catch + [errmsg, tmp, nline, func] = lasterror() + msg = "%s: error on line #%d: ""%s""\n" + msg = msprintf(msg, func, nline, errmsg) + lines(oldlines) + mode(oldmode); + clear oldlines oldmode tmp nline func + error(msg); +end +lines(oldlines); +mode(oldmode); +clear oldlines oldmode; + diff --git a/locales/en_US.po b/locales/en_US.po new file mode 100644 index 0000000..7ba878b --- /dev/null +++ b/locales/en_US.po @@ -0,0 +1,35 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +msgid "%s: I'm waiting only one argument.\n" +msgstr "" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "" + +#: macros\scilab_error.sci:13 +msgid "%s: I''m waiting for only one argument.\n" +msgstr "" + +msgid "Rectangle" +msgstr "" + +msgid "My Title" +msgstr "" + +msgid "Height" +msgstr "" + +msgid "Width" +msgstr "" + +msgid "Color" +msgstr "" + +msgid "Outline" +msgstr "" diff --git a/locales/en_US/LC_MESSAGES/scilab_toolbox.po b/locales/en_US/LC_MESSAGES/scilab_toolbox.po new file mode 100644 index 0000000..7ba878b --- /dev/null +++ b/locales/en_US/LC_MESSAGES/scilab_toolbox.po @@ -0,0 +1,35 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +msgid "%s: I'm waiting only one argument.\n" +msgstr "" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "" + +#: macros\scilab_error.sci:13 +msgid "%s: I''m waiting for only one argument.\n" +msgstr "" + +msgid "Rectangle" +msgstr "" + +msgid "My Title" +msgstr "" + +msgid "Height" +msgstr "" + +msgid "Width" +msgstr "" + +msgid "Color" +msgstr "" + +msgid "Outline" +msgstr "" diff --git a/locales/en_US/LC_MESSAGES/toolbox_skeleton.po b/locales/en_US/LC_MESSAGES/toolbox_skeleton.po new file mode 100644 index 0000000..7ba878b --- /dev/null +++ b/locales/en_US/LC_MESSAGES/toolbox_skeleton.po @@ -0,0 +1,35 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +msgid "%s: I'm waiting only one argument.\n" +msgstr "" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "" + +#: macros\scilab_error.sci:13 +msgid "%s: I''m waiting for only one argument.\n" +msgstr "" + +msgid "Rectangle" +msgstr "" + +msgid "My Title" +msgstr "" + +msgid "Height" +msgstr "" + +msgid "Width" +msgstr "" + +msgid "Color" +msgstr "" + +msgid "Outline" +msgstr "" diff --git a/locales/fr_FR.po b/locales/fr_FR.po new file mode 100644 index 0000000..e585710 --- /dev/null +++ b/locales/fr_FR.po @@ -0,0 +1,32 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +#: macros\scilab_error.sci:13 +msgid "%s: I'm waiting for only one argument.\n" +msgstr "%s : Je n'attends qu'un seul argument.\n" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "%s : Oui ! %d est un bon nombre d'arguments mais je préfère échouer, désolé.\n" + +msgid "Rectangle" +msgstr "Rectangle" + +msgid "My Title" +msgstr "Mon Titre" + +msgid "Height" +msgstr "Hauteur" + +msgid "Width" +msgstr "Largeur" + +msgid "Color" +msgstr "Couleur" + +msgid "Outline" +msgstr "Contour" diff --git a/locales/fr_FR/LC_MESSAGES/scilab_toolbox.po b/locales/fr_FR/LC_MESSAGES/scilab_toolbox.po new file mode 100644 index 0000000..e585710 --- /dev/null +++ b/locales/fr_FR/LC_MESSAGES/scilab_toolbox.po @@ -0,0 +1,32 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +#: macros\scilab_error.sci:13 +msgid "%s: I'm waiting for only one argument.\n" +msgstr "%s : Je n'attends qu'un seul argument.\n" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "%s : Oui ! %d est un bon nombre d'arguments mais je préfère échouer, désolé.\n" + +msgid "Rectangle" +msgstr "Rectangle" + +msgid "My Title" +msgstr "Mon Titre" + +msgid "Height" +msgstr "Hauteur" + +msgid "Width" +msgstr "Largeur" + +msgid "Color" +msgstr "Couleur" + +msgid "Outline" +msgstr "Contour" diff --git a/locales/fr_FR/LC_MESSAGES/toolbox_skeleton.po b/locales/fr_FR/LC_MESSAGES/toolbox_skeleton.po new file mode 100644 index 0000000..e585710 --- /dev/null +++ b/locales/fr_FR/LC_MESSAGES/toolbox_skeleton.po @@ -0,0 +1,32 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +#: macros\scilab_error.sci:13 +msgid "%s: I'm waiting for only one argument.\n" +msgstr "%s : Je n'attends qu'un seul argument.\n" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "%s : Oui ! %d est un bon nombre d'arguments mais je préfère échouer, désolé.\n" + +msgid "Rectangle" +msgstr "Rectangle" + +msgid "My Title" +msgstr "Mon Titre" + +msgid "Height" +msgstr "Hauteur" + +msgid "Width" +msgstr "Largeur" + +msgid "Color" +msgstr "Couleur" + +msgid "Outline" +msgstr "Contour" diff --git a/macros/buildmacros.sce b/macros/buildmacros.sce new file mode 100644 index 0000000..5a872bb --- /dev/null +++ b/macros/buildmacros.sce @@ -0,0 +1,10 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function buildmacros() + macros_path = get_absolute_file_path("buildmacros.sce"); + tbx_build_macros(TOOLBOX_NAME, macros_path); +endfunction + +buildmacros(); +clear buildmacros; // remove buildmacros on stack + diff --git a/macros/cleanmacros.sce b/macros/cleanmacros.sce new file mode 100644 index 0000000..a6428b2 --- /dev/null +++ b/macros/cleanmacros.sce @@ -0,0 +1,20 @@ +// ==================================================================== +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// ==================================================================== +function cleanmacros() + + libpath = get_absolute_file_path("cleanmacros.sce"); + + binfiles = ls(libpath+"/*.bin"); + for i = 1:size(binfiles,"*") + mdelete(binfiles(i)); + end + + mdelete(libpath+"/names"); + mdelete(libpath+"/lib"); +endfunction + +cleanmacros(); +clear cleanmacros; // remove cleanmacros on stack + +// ==================================================================== diff --git a/macros/lib b/macros/lib new file mode 100644 index 0000000..09800ac --- /dev/null +++ b/macros/lib @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<scilablib name="scilab_toolboxlib"> + <macro name="scilab_error" file="scilab_error.bin" md5="1d8333160de4df7b257ac6ce6a660fb4"/> + <macro name="scilab_sum" file="scilab_sum.bin" md5="1ca685054fd3e9159204826fc4f3b06a"/> +</scilablib> diff --git a/macros/scilab_error.bin b/macros/scilab_error.bin Binary files differnew file mode 100644 index 0000000..9c6a7f5 --- /dev/null +++ b/macros/scilab_error.bin diff --git a/macros/scilab_error.sci b/macros/scilab_error.sci new file mode 100644 index 0000000..24d1559 --- /dev/null +++ b/macros/scilab_error.sci @@ -0,0 +1,19 @@ +// ==================================================================== +// Template toolbox_skeleton +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// ==================================================================== +// +// +function scilab_error(varargin) + + argSize = size(varargin); + + if argSize <> 1 then + error(msprintf(_("toolbox_skeleton", "%s: I''m waiting for only one argument.\n"), "scilab_error")); + end + + if argSize == 1 then + error(msprintf(gettext("toolbox_skeleton", "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n"), "scilab_error", 1)); + end +endfunction +// ==================================================================== diff --git a/macros/scilab_sum.bin b/macros/scilab_sum.bin Binary files differnew file mode 100644 index 0000000..195642f --- /dev/null +++ b/macros/scilab_sum.bin diff --git a/macros/scilab_sum.sci b/macros/scilab_sum.sci new file mode 100644 index 0000000..b9c5fa0 --- /dev/null +++ b/macros/scilab_sum.sci @@ -0,0 +1,10 @@ +// ==================================================================== +// Template toolbox_skeleton +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// ==================================================================== +// +// +function s = scilab_sum(valA,valB) + s = valA + valB; +endfunction +// ==================================================================== diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..40d6cb8 --- /dev/null +++ b/readme.txt @@ -0,0 +1,7 @@ +This files is the readme.txt for your toolbox. + +Please update this file to provide information about your toolbox: what it is doing, the author, a few words about the license... + +Do NOT keep this file as it is. + +See https://wiki.scilab.org/ATOMS#What_are_the_technical_expectations_.3F for more information on how to use the skeleton.
\ No newline at end of file diff --git a/sci_gateway/builder_gateway.sce b/sci_gateway/builder_gateway.sce new file mode 100644 index 0000000..103597c --- /dev/null +++ b/sci_gateway/builder_gateway.sce @@ -0,0 +1,15 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function builder_gateway() + + sci_gateway_dir = get_absolute_file_path("builder_gateway.sce"); + languages = ["cpp"]; + + tbx_builder_gateway_lang(languages,sci_gateway_dir); + tbx_build_gateway_loader(languages,sci_gateway_dir); + tbx_build_gateway_clean(languages,sci_gateway_dir); + +endfunction + +builder_gateway() +clear builder_gateway; // remove builder_gateway on stack diff --git a/sci_gateway/cleaner_gateway.sce b/sci_gateway/cleaner_gateway.sce new file mode 100644 index 0000000..03aedaf --- /dev/null +++ b/sci_gateway/cleaner_gateway.sce @@ -0,0 +1,15 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder_gateway.sce: Please, do not edit this file + +sci_gateway_dir = get_absolute_file_path("cleaner_gateway.sce"); +current_dir = pwd(); + +chdir(sci_gateway_dir); +if ( isdir("cpp") ) then + chdir("cpp"); + exec("cleaner.sce"); + mdelete("cleaner.sce"); +end + +chdir(current_dir); +clear sci_gateway_dir current_dir; diff --git a/sci_gateway/cpp/builder_gateway_cpp.sce b/sci_gateway/cpp/builder_gateway_cpp.sce new file mode 100644 index 0000000..fdb5d24 --- /dev/null +++ b/sci_gateway/cpp/builder_gateway_cpp.sce @@ -0,0 +1,70 @@ +// Copyright (C) 2015 - 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 +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Harpreet Singh, Yash Kataria, Adarsh Shah +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + +mode(-1) +lines(0) + +toolbox_title = "scilab_toolbox"; + +Build_64Bits = %t; + +path_builder = get_absolute_file_path('builder_gateway_cpp.sce'); + +Function_Names = [ + + //fun function + "octave_fun","sci_octave_fun", "csci6"; + ]; + +//Name of all the files to be compiled +Files = [ + "sci_matrix.cpp" + ] + + + +[a, opt] = getversion(); +Version = opt(2); + +//Build_64Bits = %f; + +if getos()=="Windows" then + third_dir = path_builder+filesep()+'..'+filesep()+'..'+filesep()+'thirdparty'; + lib_base_dir = third_dir + filesep() + 'windows' + filesep() + 'lib' + filesep() + Version + filesep(); + //inc_base_dir = third_dir + filesep() + 'windows' + filesep() + 'include' + filesep() + 'coin'; + inc_base_dir = third_dir + filesep() + 'linux' + filesep() + 'include' + filesep() + 'coin'; + threads_dir=third_dir + filesep() + 'linux' + filesep() + 'include' + filesep() + 'pthreads-win32'; + C_Flags=['-D__USE_DEPRECATED_STACK_FUNCTIONS__ -I -w '+path_builder+' '+ '-I '+inc_base_dir+' '+'-I '+threads_dir+' '] + Linker_Flag = [lib_base_dir+"libcoinblas.lib "+lib_base_dir+"libcoinlapack.lib "+lib_base_dir+"libcoinmumps.lib "+lib_base_dir+"libClp.lib "+lib_base_dir+"libipopt.lib "+lib_base_dir+"libOsi.lib "+lib_base_dir+"libOsiClp.lib "+lib_base_dir+"libCoinUtils.lib "+lib_base_dir+"libCgl.lib "+lib_base_dir+"libOsiSym.lib "+lib_base_dir+"libSym.lib "+lib_base_dir+"libCbcSolver.lib "+lib_base_dir+"libCbc.lib "+lib_base_dir+"libbonmin.lib "+lib_base_dir+"pthreadVC2.lib " ] + +elseif getos()=="Darwin" then + third_dir = path_builder+filesep()+'..'+filesep()+'..'+filesep()+'thirdparty'; + lib_base_dir = third_dir + filesep() + 'Mac' + filesep() + 'lib' + filesep() + Version + filesep(); + inc_base_dir = third_dir + filesep() + 'Mac' + filesep() + 'include' + filesep() + 'coin'; + C_Flags=["-D__USE_DEPRECATED_STACK_FUNCTIONS__ -w -fpermissive -I"+path_builder+" -I"+inc_base_dir+" -Wl,-rpath "+lib_base_dir+" "] + Linker_Flag = ["-L"+lib_base_dir+"libSym"+" "+"-L"+lib_base_dir+"libipopt"+" "+"-L"+lib_base_dir+"libClp"+" "+"-L"+lib_base_dir+"libOsiClp"+" "+"-L"+lib_base_dir+"libCoinUtils" + " "+"-L"+lib_base_dir+"libbonmin" ] + +else + third_dir = path_builder+filesep()+'..'+filesep()+'..'+filesep()+'thirdparty'; + lib_base_dir = third_dir + filesep() + 'linux' + filesep() + 'lib' + filesep() + Version + filesep(); + inc_base_dir = third_dir + filesep() + 'linux' + filesep() + 'include'; + + + C_Flags=["-D__USE_DEPRECATED_STACK_FUNCTIONS__ -w -fpermissive -I"+path_builder+" -I"+inc_base_dir+" -Wl,-rpath="+lib_base_dir+" "+"-std=gnu++11"] + + + Linker_Flag = ["-L"+lib_base_dir+"libfun"+" " + "-loctave"+" "+ "-loctinterp"] + +end + +tbx_build_gateway(toolbox_title,Function_Names,Files,get_absolute_file_path("builder_gateway_cpp.sce"), [], Linker_Flag, C_Flags,[]); + +clear toolbox_title Function_Names Files Linker_Flag C_Flags; diff --git a/sci_gateway/cpp/cleaner.sce b/sci_gateway/cpp/cleaner.sce new file mode 100644 index 0000000..74db4be --- /dev/null +++ b/sci_gateway/cpp/cleaner.sce @@ -0,0 +1,30 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder.sce : Please, do not edit this file +// cleaner.sce +// ------------------------------------------------------ +curdir = pwd(); +cleaner_path = get_file_path('cleaner.sce'); +chdir(cleaner_path); +// ------------------------------------------------------ +if fileinfo('loader.sce') <> [] then + mdelete('loader.sce'); +end +// ------------------------------------------------------ +if fileinfo('libscilab_toolbox.so') <> [] then + mdelete('libscilab_toolbox.so'); +end +// ------------------------------------------------------ +if fileinfo('libscilab_toolbox.cpp') <> [] then + mdelete('libscilab_toolbox.cpp'); +end +// ------------------------------------------------------ +if fileinfo('libscilab_toolbox.hxx') <> [] then + mdelete('libscilab_toolbox.hxx'); +end +// ------------------------------------------------------ +if fileinfo('libscilab_toolbox.h') <> [] then + mdelete('libscilab_toolbox.h'); +end +// ------------------------------------------------------ +chdir(curdir); +// ------------------------------------------------------ diff --git a/sci_gateway/cpp/libscilab_toolbox.cpp b/sci_gateway/cpp/libscilab_toolbox.cpp new file mode 100644 index 0000000..564874c --- /dev/null +++ b/sci_gateway/cpp/libscilab_toolbox.cpp @@ -0,0 +1,16 @@ +#include <wchar.h> +#include "libscilab_toolbox.hxx" +extern "C" +{ +#include "libscilab_toolbox.h" +#include "addfunction.h" +} + +#define MODULE_NAME L"libscilab_toolbox" + +int libscilab_toolbox(wchar_t* _pwstFuncName) +{ + if(wcscmp(_pwstFuncName, L"octave_fun") == 0){ addCFunction(L"octave_fun", &sci_octave_fun, MODULE_NAME); } + + return 1; +} diff --git a/sci_gateway/cpp/libscilab_toolbox.h b/sci_gateway/cpp/libscilab_toolbox.h new file mode 100644 index 0000000..3035e8b --- /dev/null +++ b/sci_gateway/cpp/libscilab_toolbox.h @@ -0,0 +1,8 @@ +#ifndef __LIBSCILAB_TOOLBOX_GW_H__ +#define __LIBSCILAB_TOOLBOX_GW_H__ + +#include "c_gateway_prototype.h" + +C_GATEWAY_PROTOTYPE(sci_octave_fun); + +#endif /* __LIBSCILAB_TOOLBOX_GW_H__ */ diff --git a/sci_gateway/cpp/libscilab_toolbox.hxx b/sci_gateway/cpp/libscilab_toolbox.hxx new file mode 100644 index 0000000..a36a14c --- /dev/null +++ b/sci_gateway/cpp/libscilab_toolbox.hxx @@ -0,0 +1,18 @@ +#ifndef __LIBSCILAB_TOOLBOX_GW_HXX__ +#define __LIBSCILAB_TOOLBOX_GW_HXX__ + +#ifdef _MSC_VER +#ifdef LIBSCILAB_TOOLBOX_GW_EXPORTS +#define LIBSCILAB_TOOLBOX_GW_IMPEXP __declspec(dllexport) +#else +#define LIBSCILAB_TOOLBOX_GW_IMPEXP __declspec(dllimport) +#endif +#else +#define LIBSCILAB_TOOLBOX_GW_IMPEXP +#endif + +extern "C" LIBSCILAB_TOOLBOX_GW_IMPEXP int libscilab_toolbox(wchar_t* _pwstFuncName); + + + +#endif /* __LIBSCILAB_TOOLBOX_GW_HXX__ */ diff --git a/sci_gateway/cpp/libscilab_toolbox.so b/sci_gateway/cpp/libscilab_toolbox.so Binary files differnew file mode 100755 index 0000000..908651c --- /dev/null +++ b/sci_gateway/cpp/libscilab_toolbox.so diff --git a/sci_gateway/cpp/loader.sce b/sci_gateway/cpp/loader.sce new file mode 100644 index 0000000..dd2e723 --- /dev/null +++ b/sci_gateway/cpp/loader.sce @@ -0,0 +1,21 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder.sce : Please, do not edit this file +// ---------------------------------------------------------------------------- +// +libscilab_toolbox_path = get_absolute_file_path('loader.sce'); +// +// ulink previous function with same name +[bOK, ilib] = c_link('libscilab_toolbox'); +if bOK then + ulink(ilib); +end +// +list_functions = [ 'octave_fun'; +]; +addinter(libscilab_toolbox_path + filesep() + 'libscilab_toolbox' + getdynlibext(), 'libscilab_toolbox', list_functions); +// remove temp. variables on stack +clear libscilab_toolbox_path; +clear bOK; +clear ilib; +clear list_functions; +// ---------------------------------------------------------------------------- diff --git a/sci_gateway/cpp/sci_matrix.cpp b/sci_gateway/cpp/sci_matrix.cpp new file mode 100644 index 0000000..071d330 --- /dev/null +++ b/sci_gateway/cpp/sci_matrix.cpp @@ -0,0 +1,32 @@ +extern "C" +{ +#include<Scierror.h> +#include<api_scilab.h> +#include "localization.h" +#include<fun.h> + +static const char fname[] = "octave_fun"; + +int sci_octave_fun(scilabEnv env, int nin, scilabVar* in, int nopt, scilabOpt* opt, int nout, scilabVar* out) + +{ + +if (nin != 0) + { + Scierror(77, _("%s: Wrong number of input argument(s): %d expected.\n"), fname, 2); + return 1; + } + +if (nout != 1) + { + Scierror(77, _("%s: Wrong number of output argument(s): %d expected.\n"), fname, 1); + return 1; + } + + double x = fun(); + + out[0] = scilab_createDouble( env, x); + + return 0; +} +} diff --git a/sci_gateway/loader_gateway.sce b/sci_gateway/loader_gateway.sce new file mode 100644 index 0000000..6809d99 --- /dev/null +++ b/sci_gateway/loader_gateway.sce @@ -0,0 +1,24 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder_gateway.sce: Please, do not edit this file + +try + v = getversion("scilab"); +catch + v = [ 5 0 ]; // or older +end +if (v(1) <= 5) & (v(2) < 3) then + // new API in scilab 5.3 + error(gettext("Scilab 5.3 or more is required.")); +end + +sci_gateway_dir = get_absolute_file_path("loader_gateway.sce"); +current_dir = pwd(); + +chdir(sci_gateway_dir); +if ( isdir("cpp") ) then + chdir("cpp"); + exec("loader.sce"); +end + +chdir(current_dir); +clear sci_gateway_dir current_dir v; diff --git a/scilab_toolbox_redist.iss b/scilab_toolbox_redist.iss new file mode 100644 index 0000000..5414ff8 --- /dev/null +++ b/scilab_toolbox_redist.iss @@ -0,0 +1,57 @@ +;############################################################################################################## +; Inno Setup Install script for Toolbox_skeleton +; http://www.jrsoftware.org/isinfo.php +; This file is released under the 3-clause BSD license. See COPYING-BSD. +;############################################################################################################## +; modify this path where is toolbox_skeleton directory +#define BinariesSourcePath "C:\Programs files\scilab-5.0\contrib\toolbox_skeleton" +; +#define Toolbox_skeleton_version "0.1" +#define CurrentYear "2008" +#define Toolbox_skeletonDirFilename "toolbox_skeleton" +;############################################################################################################## +[Setup] +; Debut Donnes de base renseigner suivant version +SourceDir={#BinariesSourcePath} +AppName=Toolbox skeleton +AppVerName=Toolbox skeleton version 0.1 +DefaultDirName={pf}\{#Toolbox_skeletonDirFilename} +InfoAfterfile=readme.txt +LicenseFile=license.txt +WindowVisible=true +AppPublisher=Your Company +BackColorDirection=lefttoright +AppCopyright=Copyright {#CurrentYear} +Compression=lzma/max +InternalCompressLevel=normal +SolidCompression=true +VersionInfoVersion={#Toolbox_skeleton_version} +VersionInfoCompany=Your Company +;############################################################################################################## +[Files] +; Add here files that you want to add +Source: loader.sce; DestDir: {app} +Source: etc\toolbox_skeleton.quit; DestDir: {app}\etc +Source: etc\toolbox_skeleton.start; DestDir: {app}\etc +Source: macros\buildmacros.sce; DestDir: {app}\macros +Source: macros\lib; DestDir: {app}\macros +;Source: macros\names; DestDir: {app}\macros +Source: macros\*.sci; DestDir: {app}\macros +Source: macros\*.bin; DestDir: {app}\macros +Source: sci_gateway\loader_gateway.sce; DestDir: {app}\sci_gateway +Source: sci_gateway\c\loader.sce; DestDir: {app}\sci_gateway\c +Source: sci_gateway\c\skeleton_c.dll; DestDir: {app}\sci_gateway\c +Source: sci_gateway\cpp\loader.sce; DestDir: {app}\sci_gateway\cpp +Source: sci_gateway\cpp\skeleton_cpp.dll; DestDir: {app}\sci_gateway\cpp +Source: sci_gateway\fortran\loader.sce; DestDir: {app}\sci_gateway\fortran +Source: sci_gateway\fortran\skeleton_fortran.dll; DestDir: {app}\sci_gateway\fortran +Source: src\c\libcsum.dll; DestDir: {app}\src\c +Source: src\c\loader.sce; DestDir: {app}\src\c +Source: src\fortran\libfsum.dll; DestDir: {app}\src\fortran +Source: src\fortran\loader.sce; DestDir: {app}\src\fortran +Source: tests\*.*; DestDir: {app}\tests; Flags: recursesubdirs +;Source: includes\*.h; DestDir: {app}\includes; Flags: recursesubdirs +;Source: locales\*.*; DestDir: {app}\locales; Flags: recursesubdirs +Source: demos\*.*; DestDir: {app}\locales; Flags: recursesubdirs +; +;############################################################################################################## diff --git a/tests/unit_tests/c_sum.dia.ref b/tests/unit_tests/c_sum.dia.ref new file mode 100644 index 0000000..023d2d4 --- /dev/null +++ b/tests/unit_tests/c_sum.dia.ref @@ -0,0 +1,5 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +//================================= +assert_checkequal(c_sum(3,5), 8); +assert_checkequal(c_sum6(3,5), 8); +//================================= diff --git a/tests/unit_tests/c_sum.tst b/tests/unit_tests/c_sum.tst new file mode 100644 index 0000000..023d2d4 --- /dev/null +++ b/tests/unit_tests/c_sum.tst @@ -0,0 +1,5 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +//================================= +assert_checkequal(c_sum(3,5), 8); +assert_checkequal(c_sum6(3,5), 8); +//================================= diff --git a/tests/unit_tests/fortran_sum.dia.ref b/tests/unit_tests/fortran_sum.dia.ref new file mode 100644 index 0000000..d244f1f --- /dev/null +++ b/tests/unit_tests/fortran_sum.dia.ref @@ -0,0 +1,4 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +//================================= +assert_checkequal(fortran_sum(3,5), 8); +//================================= diff --git a/tests/unit_tests/fortran_sum.tst b/tests/unit_tests/fortran_sum.tst new file mode 100644 index 0000000..d244f1f --- /dev/null +++ b/tests/unit_tests/fortran_sum.tst @@ -0,0 +1,4 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +//================================= +assert_checkequal(fortran_sum(3,5), 8); +//================================= diff --git a/tests/unit_tests/java_sum.dia.ref b/tests/unit_tests/java_sum.dia.ref new file mode 100644 index 0000000..fac83d2 --- /dev/null +++ b/tests/unit_tests/java_sum.dia.ref @@ -0,0 +1,5 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +//================================= +jimport org.scilab.contrib.toolboxskeleton.Sum; +assert_checkequal(Sum.sum(7.0, 5.0), 12.0); +//================================= diff --git a/tests/unit_tests/java_sum.tst b/tests/unit_tests/java_sum.tst new file mode 100644 index 0000000..fac83d2 --- /dev/null +++ b/tests/unit_tests/java_sum.tst @@ -0,0 +1,5 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +//================================= +jimport org.scilab.contrib.toolboxskeleton.Sum; +assert_checkequal(Sum.sum(7.0, 5.0), 12.0); +//================================= diff --git a/tests/unit_tests/scilab_sum.dia.ref b/tests/unit_tests/scilab_sum.dia.ref new file mode 100644 index 0000000..17e7e40 --- /dev/null +++ b/tests/unit_tests/scilab_sum.dia.ref @@ -0,0 +1,4 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +//================================= +assert_checkequal(scilab_sum(3,5), 8); +//================================= diff --git a/tests/unit_tests/scilab_sum.tst b/tests/unit_tests/scilab_sum.tst new file mode 100644 index 0000000..17e7e40 --- /dev/null +++ b/tests/unit_tests/scilab_sum.tst @@ -0,0 +1,4 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +//================================= +assert_checkequal(scilab_sum(3,5), 8); +//================================= diff --git a/thirdparty/linux/include/fun.h b/thirdparty/linux/include/fun.h new file mode 100644 index 0000000..a3e7829 --- /dev/null +++ b/thirdparty/linux/include/fun.h @@ -0,0 +1 @@ +int fun(void); diff --git a/thirdparty/linux/lib/x64/libfun.so b/thirdparty/linux/lib/x64/libfun.so Binary files differnew file mode 100755 index 0000000..f8219fa --- /dev/null +++ b/thirdparty/linux/lib/x64/libfun.so diff --git a/thirdparty/linux/lib/x64/libnew.so b/thirdparty/linux/lib/x64/libnew.so Binary files differnew file mode 100755 index 0000000..1e54c6c --- /dev/null +++ b/thirdparty/linux/lib/x64/libnew.so diff --git a/unloader.sce b/unloader.sce new file mode 100644 index 0000000..4d6f6ac --- /dev/null +++ b/unloader.sce @@ -0,0 +1,23 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder.sce: Please, do not edit this file + +oldmode = mode(); mode(-1); +oldlines = lines()(2); lines(0); +try + fileQuit = get_absolute_file_path("unloader.sce") + "etc/" + "scilab_toolbox.quit"; + if isfile(fileQuit) then + exec(fileQuit); + end +catch + [errmsg, tmp, nline, func] = lasterror() + msg = "%s: error on line #%d: ""%s""\n" + msg = msprintf(msg, func, nline, errmsg) + lines(oldlines) + mode(oldmode); + clear oldlines oldmode tmp nline func + error(msg); +end +lines(oldlines); +mode(oldmode); +clear oldlines oldmode; + |