~ubuntu-branches/ubuntu/lucid/scilab/lucid

« back to all changes in this revision

Viewing changes to modules/boolean/help/en_US/find.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sylvestre Ledru
  • Date: 2009-04-28 18:47:03 UTC
  • mfrom: (1.1.7 upstream) (4.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090428184703-7thddz8vtwqmxmx2
Tags: 5.1.1-4
* librefblas3-dev does not exist (yet). Thanks to Jose Ramon
* Do not stop when ocamlopt is not available on the arch 
  (ocaml-not-available.diff)
* Provide a clear error message for archs where modelicac compiler is 
  not available (modelicac-not-available.diff)
* scilab startup script moved from package scilab => scilab-bin (because of
  the ocamlopt problem, I cannot predict if modelicac will be available or
  not. Therefor, I ship usr/bin/ instead of binary per binary. This will
  also simplifies the packaging of Scilab 5.2)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
  </info>
17
17
  <refnamediv>
18
18
    <refname>find</refname>
19
 
    <refpurpose> find indices of  boolean vector or matrix true elements</refpurpose>
 
19
    <refpurpose> find indices of boolean vector or matrix true elements</refpurpose>
20
20
  </refnamediv>
21
21
  <refsynopsisdiv>
22
22
    <title>Calling Sequence</title>
67
67
    <title>Examples</title>
68
68
    <programlisting role="example"><![CDATA[
69
69
 
 
70
beers=["Desperados", "Leffe", "Kronenbourg", "Heineken"];
 
71
find(beers=="Leffe") // OK
 
72
find(beers=="1664") // KO
 
73
find(beers=="Foster") // KO
 
74
beers=[beers, "Foster"]
 
75
find(beers=="Foster") // OK
 
76
 
70
77
A=rand(1,20);
71
78
w=find(A<0.4)
72
79
A(w)