Plugin Directory

Changeset 1244471


Ignore:
Timestamp:
09/13/2015 11:28:59 AM (10 years ago)
Author:
C. E.
Message:

Bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mathematica-toolbox/trunk/README.txt

    r1244467 r1244471  
    55Requires at least: 3.0.1
    66Tested up to: 4.2.2
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8787* `mma_se_profile_box` is renewed once every day.
    8888
     89= Examples of how to show the result of an instant API =
     90For example,
     91
     92    CloudDeploy[APIFunction[{
     93       "rule" -> Restricted["Number", {0, 255, 1}] -> 30,
     94       "step" -> Restricted["Number", {0, Infinity, 1}] -> 50
     95       },
     96      ArrayPlot[CellularAutomaton[#rule, {{1}, 0}, #step],
     97        Frame -> False] &,
     98      "PNG"
     99      ], Permissions -> "Public"]
     100
     101and
     102
     103    CloudDeploy[APIFunction[{"x" -> "Integer"}, FactorInteger[#x] &], Permissions -> "Public"]
     104   
     105can be called in a post using
     106
     107    [WolframCloudAPI id="A" rule="28" step="30"]
     108
     109and
     110
     111    [WolframCloudAPI id="B" x="43498" image="false"]
     112
     113where A is the ID corresponding to the cellular automata API and B is the ID corresponding to the factorization API.
     114
    89115== Screenshots ==
    90116
Note: See TracChangeset for help on using the changeset viewer.