Skip to content

Commit

Permalink
Add Installable Maple Workbook Package
Browse files Browse the repository at this point in the history
Adding source file for Workbook Package - this file contains all source
files, documentation and is installable into Maple 2017 and above.
  • Loading branch information
dskoog committed May 25, 2017
1 parent 145dfea commit 4e8ff08
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 21 deletions.
20 changes: 6 additions & 14 deletions doc/ClusterAnalysis.mw
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<Worksheet>
<Version major="2016" minor="2"/>
<Version major="2017" minor="0"/>
<Label-Scheme value="2" prefix=""/>
<View-Properties presentation="true" autoexpanding_sections="true" UserProfileName="Maple Default Profile" NumericFormat-ApplyInteger="true" NumericFormat-ApplyRational="true" NumericFormat-ApplyExponent="false">
<Hide name="Group Range"/>
<Hide name="Table Borders"/>
</View-Properties>
<MapleNet-Properties prettyprint="3" warnlevel="3" preplot="" helpbrowser="standard" contextmenusize="automatic" displayprecision="-1" echo="1" unitattributes="&quot;fontweight&quot; = &quot;bold&quot;" imaginaryunit="I" longdelim="true" elisiontermsthreshold="10000" elisiondigitsafter="100" elisiondigitsbefore="100" plotdevice="inline" errorbreak="1" plotoptions="" plotdriver="opengl" quiet="false" elisiontermsbefore="100" elisiontermsafter="100" screenwidth="79" indentamount="4" plotoutput="terminal" screenpixelheight="900" rtablesize="10" useclientjvm="true" labelwidth="20" postplot="" typesetting="standard" ansi="false" elisiondigitsthreshold="10000" showassumed="1" errorcursor="false" labelling="true" screenheight="25" prompt="&gt; " verboseproc="1" latexwidth="8.0" ShowLabels="true"/>
<MapleNet-Properties prettyprint="3" warnlevel="3" preplot="" helpbrowser="standard" contextmenusize="automatic" displayprecision="-1" echo="1" unitattributes="&quot;fontweight&quot; = &quot;bold&quot;" imaginaryunit="I" longdelim="true" elisiontermsthreshold="10000" elisiondigitsafter="100" elisiondigitsbefore="100" plotdevice="inline" errorbreak="1" plotoptions="" plotdriver="opengl" quiet="false" elisiontermsbefore="100" elisiontermsafter="100" screenwidth="79" indentamount="4" plotoutput="terminal" screenpixelheight="900" rtablesize="10" useclientjvm="true" labelwidth="20" postplot="" typesetting="extended" ansi="false" elisiondigitsthreshold="10000" showassumed="1" errorcursor="false" labelling="true" screenheight="25" prompt="&gt; " verboseproc="1" latexwidth="8.0" ShowLabels="true"/>
<Styles>
<Font name="Heading 1" background="[255,255,255]" bold="true" executable="false" family="DejaVu Sans" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="18" subscript="false" superscript="false" underline="false" placeholder="false"/>
<Font name="Warning" background="[255,255,255]" bold="false" executable="false" family="Monospaced" foreground="[0,0,255]" italic="false" opaque="false" readonly="true" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>
Expand Down Expand Up @@ -104,20 +104,12 @@
<Input><Text-field style="Text" layout="Normal" alignment="centred"><Font size="12" underline="true" bold="true">Package Details</Font></Text-field>
</Input>
</Group></Presentation-Block></Table-Cell></Table-Row><Table-Row align="top" separator="true"><Table-Cell padding="5" visible="true" fillcolor="[255,255,255]" rowspan="1" backgroundstyle="0" columnspan="1"><Presentation-Block>
<Group view="presentation" inline-output="false" labelreference="L1235" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal" alignment="right"><Font size="12">Date:</Font></Text-field>
<Group view="presentation" inline-output="false" labelreference="L1263" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal" alignment="right"><Font size="12">Package ID:</Font></Text-field>
</Input>
</Group></Presentation-Block></Table-Cell><Table-Cell padding="5" visible="true" fillcolor="[255,255,255]" rowspan="1" backgroundstyle="0" columnspan="2"><Presentation-Block>
<Group view="presentation" inline-output="false" labelreference="L1236" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal"><Font size="12">May 2017</Font></Text-field>
</Input>
</Group></Presentation-Block></Table-Cell></Table-Row><Table-Row align="top" separator="true"><Table-Cell padding="5" visible="true" fillcolor="[255,255,255]" rowspan="1" backgroundstyle="0" columnspan="1"><Presentation-Block>
<Group view="presentation" inline-output="false" labelreference="L1250" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal" alignment="right"><Font size="12">Version:</Font></Text-field>
</Input>
</Group></Presentation-Block></Table-Cell><Table-Cell padding="5" visible="true" fillcolor="[255,255,255]" rowspan="1" backgroundstyle="0" columnspan="2"><Presentation-Block>
<Group view="presentation" inline-output="false" labelreference="L1251" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal">1</Text-field>
<Group view="presentation" inline-output="false" labelreference="L1264" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal">5629844458045440</Text-field>
</Input>
</Group></Presentation-Block></Table-Cell></Table-Row><Table-Row align="top" separator="true"><Table-Cell padding="5" visible="true" fillcolor="[255,255,255]" rowspan="1" backgroundstyle="0" columnspan="1"><Presentation-Block>
<Group view="presentation" inline-output="false" labelreference="L1237" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
Expand Down
Binary file added install/ClusterAnalysis.maple
Binary file not shown.
61 changes: 54 additions & 7 deletions src/Build_Source.mw
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@
<Highlighter-style name="Highlighter 2" pen-color="[255,204,0]" pen-height="14.0" pen-width="14.0" pen-opacity="0.8"/>
</Styles>
<Startup-Code startupcode=""/>
<Metadata-table>
<Metadata-category name="&lt;default&gt;"/>
<Metadata-tag id="0" category="&lt;default&gt;" name="Document Properties">
<Metadata-attribute name="Keywords" value="&lt;default&gt;"/>
<Metadata-attribute name="Item List" value="true"/>
<Metadata-attribute name="Title" value="&lt;default&gt;"/>
<Metadata-attribute name="Author" value="&lt;default&gt;"/>
<Metadata-attribute name="Subject" value="&lt;default&gt;"/>
</Metadata-tag>
</Metadata-table>
<Task-table>
<Task-category name="&lt;default&gt;"/>
</Task-table>
Expand All @@ -116,28 +126,65 @@
<Input><Text-field style="Text" layout="Normal">Add help pages:</Text-field>
</Input>
</Group>
<Group hide-output="false" labelreference="L4212" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Group hide-output="false" labelreference="L4195" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">makehelp( &quot;ClusterAnalysis&quot;, &quot;doc/ClusterAnalysis.mw&quot;, &quot;ClusterAnalysis.help&quot;, browser = [&quot;ClusterAnalysis&quot;,&quot;Overview&quot;] ):</Text-field>
</Input>
</Group>
<Group hide-output="false" labelreference="L4211" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Group hide-output="false" labelreference="L4196" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">makehelp( &quot;ClusterAnalysis/ClusterPlot&quot;, &quot;doc/ClusterPlot.mw&quot;, &quot;ClusterAnalysis.help&quot;, browser = [&quot;ClusterAnalysis&quot;,&quot;ClusterPlot&quot;] ):</Text-field>
</Input>
</Group>
<Group hide-output="false" labelreference="L4210" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Group hide-output="false" labelreference="L4197" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">makehelp( &quot;ClusterAnalysis/ConfusionMatrix&quot;, &quot;doc/ConfusionMatrix.mw&quot;, &quot;ClusterAnalysis.help&quot;, browser = [&quot;ClusterAnalysis&quot;,&quot;ConfusionMatrix&quot;] ):</Text-field>
</Input>
</Group>
<Group hide-output="false" labelreference="L4214" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Group hide-output="false" labelreference="L4198" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">makehelp( &quot;ClusterAnalysis/ConfusionTable&quot;, &quot;doc/ConfusionTable.mw&quot;, &quot;ClusterAnalysis.help&quot;, browser = [&quot;ClusterAnalysis&quot;,&quot;ConfusionTable&quot;] ):</Text-field>
</Input>
</Group>
<Group hide-output="false" labelreference="L4213" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Group hide-output="false" labelreference="L4199" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">makehelp( &quot;ClusterAnalysis/KMeans&quot;, &quot;doc/KMeans.mw&quot;, &quot;ClusterAnalysis.help&quot;, browser = [&quot;ClusterAnalysis&quot;,&quot;KMeans&quot;] ):</Text-field>
</Input>
</Group>
<Group hide-output="false" labelreference="L4195" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal"></Text-field>
<Group hide-input="false" labelreference="L4200" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal"><Font bold="true">Build package workbook:</Font></Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">PackageTools:-Create(&quot;ClusterAnalysis.maple&quot;,
&quot;ClusterAnalysis.mla&quot;,
&quot;Overview&quot; = &quot;doc/ClusterAnalysis.mw&quot;,
&quot;/doc/ClusterPlot.mw&quot; = &quot;doc/ClusterPlot.mw&quot;,
&quot;/doc/ConfusionMatrix.mw&quot; = &quot;doc/ConfusionMatrix.mw&quot;,
&quot;/doc/ConfusionTable.mw&quot; = &quot;doc/ConfusionTable.mw&quot;,
&quot;/doc/KMeans.mw&quot; = &quot;doc/KMeans.mw&quot;,
&quot;/lib/ClusterAnalysis.mpl&quot; = &quot;ClusterAnalysis.mpl&quot;,
&quot;/lib/ClusterAnalysis.help&quot; = &quot;ClusterAnalysis.help&quot;,
&quot;/lib/ClusterPlot.mm&quot; = &quot;ClusterPlot.mm&quot;,
&quot;/lib/ConfusionMatrix.mm&quot; = &quot;ConfusionMatrix.mm&quot;,
&quot;/lib/KMeans.mm&quot; = &quot;KMeans.mm&quot;,
&quot;/lib/MVEE.mm&quot; = &quot;MVEE.mm&quot;,
&quot;/lib/BuildSource&quot; = &quot;Build_Source.mw&quot;,
&quot;/Images/icon.png&quot; = &quot;icon.png&quot;
);</Text-field>
</Input>
<Output><Text-field style="2D Output" layout="Maple Output"><Equation executable="false" style="2D Output" display="LUkjbXNHNiMvSSttb2R1bGVuYW1lRzYiSSxUeXBlc2V0dGluZ0dJKF9zeXNsaWJHRic2I1E2Q2x1c3RlckFuYWx5c2lzLm1hcGxlRic=">UTZDbHVzdGVyQW5hbHlzaXMubWFwbGU2Ig==</Equation></Text-field>
</Output>
</Group>
<Group hide-input="false" labelreference="L4202" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field style="Text" layout="Normal"><Font bold="true">Add package workbook metadata:</Font></Text-field><Text-field prompt="&gt; " style="Maple Input" layout="Normal">PackageTools:-SetProperty(&quot;ClusterAnalysis.maple&quot;, 'title', &quot;ClusterAnalysis&quot;):</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L4203" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">PackageTools:-SetProperty(&quot;ClusterAnalysis.maple&quot;, 'authors', &quot;Daniel Skoog&quot;):</Text-field>
</Input>
</Group>
<Group hide-input="false" labelreference="L4204" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">PackageTools:-SetProperty(&quot;ClusterAnalysis.maple&quot;, &quot;description&quot;, &quot;The ClusterAnalysis<Font encoding="UTF-8"> package is a collection of commands for cluster analysis.\134n</Font>Cluster analysis is a common technique for statistical data analysis and one of the main tasks of exploratory data mining. Also known as clustering, involves grouping a set of objects so that objects in the same group (cluster) are more similar to each other than to those in other groups (clusters).&quot;):</Text-field>
</Input>
</Group>
<Group labelreference="L4210" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">PackageTools:-SetProperty(&quot;this://&quot;,&quot;X-CloudId&quot;,&quot;5629844458045440&quot;);</Text-field>
</Input>
</Group>
<Group labelreference="L4211" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
<Input><Text-field prompt="&gt; " style="Maple Input" layout="Normal">PackageTools:-SetProperty(&quot;this://&quot;,&quot;X-CloudXId&quot;,&quot;137258&quot;);</Text-field>
</Input>
</Group><Presentation-Block>
<Group view="presentation" inline-output="false" labelreference="L4209" drawlabel="true" applyint="true" applyrational="true" applyexponent="false">
Expand Down

0 comments on commit 4e8ff08

Please sign in to comment.