Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  word.xml

  Sprache: XML
 

#############################################################################
##
#W  word.xml
#Y  Copyright (C) 2020                                      Maria Tsalakou
##
##  Licensing information can be found in the README file of this package.
##
#############################################################################

<#GAPDoc Label="WordToString" >
<ManSection>
  <Oper Name = "WordToString" Arg = "A, w"
    Label="for a string and a list"/>
  <Returns>
    A string.
  </Returns>
  <Description>
    Returns the word <A>w</A>, in the form of a string of letters
    of the alphabet <A>A</A>. The alphabet is given as a string containing
    its members.
 <Example><![CDATA[
gap> WordToString("abcd", [42311423]);
"dbcaadbc"]]></Example>
  </Description>
 </ManSection>
<#/GAPDoc>

<#GAPDoc Label="RandomWord" >
<ManSection>
  <Oper Name = "RandomWord" Arg = "l, n"
    Label="for two integers"/>
  <Returns>
    A word.
  </Returns>
  <Description>
    Returns a random word of length <A>l</A> over <A>n</A> letters.
  <Example><![CDATA[
gap> RandomWord(85);
24345332 ]
gap> RandomWord(85);
33555445 ]
gap> RandomWord(84);
14113344 ]]]></Example>
  </Description>
 </ManSection>
<#/GAPDoc>

<#GAPDoc Label="StandardiseWord" >
<ManSection>
  <Oper Name = "StandardiseWord" Arg = "w"/>
  <Oper Name = "StandardizeWord" Arg = "w"/>
  <Returns>
    A list of positive integers.
  </Returns>
  <Description>
    This function takes a word <A>w</A>, consisting of <C>n</C> distinct
    positive integers and returns a word <C>s</C> where the characters of
    <C>s</C> correspond to those of <A>w</A> in order of first appearance.<P/>

    The word <A>w</A> is changed in-place into word <C>s</C>.
  <Example><![CDATA[
gap> w := [312];
312 ]
gap> StandardiseWord(w);
123 ]
gap> w;
123 ]
gap> w := [42102];
42102 ]
gap> StandardiseWord(w);
1232 ]]]></Example>
  </Description>
 </ManSection>
<#/GAPDoc>

<#GAPDoc Label="StringToWord" >
<ManSection>
  <Oper Name = "StringToWord" Arg = "s"
    Label="for a string"/>
  <Returns>
    A list of positive integers.
  </Returns>
  <Description>
    This function takes a string <A>s</A>, consisting of <C>n</C> distinct
    positive integers and returns a word <C>w</C> (i.e. a list of positive
    integers) over the alphabet <C>[1 .. n]</C>. The positive integers of
    <C>w</C> correspond to the characters of <A>s</A>, in order of first
    appearance.
  <Example><![CDATA[
gap> w := "abac";
"abac"
gap> StringToWord(w);
1213 ]
gap> w := "ccala";
"ccala"
gap> StringToWord(w);
11232 ]
gap> w := "a1b5";
"a1b5"
gap> StringToWord(w);
1234 ]]]></Example>
  </Description>
 </ManSection>
<#/GAPDoc>

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.17 Sekunden  (vorverarbeitet am  2026-06-28) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik