Muutke küpsiste eelistusi

E-raamat: XML in Scientific Computing

(University of Massachusetts Amherst, USA)
  • Formaat: 260 pages
  • Ilmumisaeg: 17-Sep-2012
  • Kirjastus: CRC Press Inc
  • Keel: eng
  • ISBN-13: 9781466512283
  • Formaat - PDF+DRM
  • Hind: 81,90 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: 260 pages
  • Ilmumisaeg: 17-Sep-2012
  • Kirjastus: CRC Press Inc
  • Keel: eng
  • ISBN-13: 9781466512283

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Preface XML stands for extensible markup language. In fact, XML is not a language, but a systematic way of encoding and formatting data and statements contained in an electronic file according to a chosen tagging system. A tag may represent a general entity, a physical, mathematical, or abstract object, an instruction, or a computer language construct. The data can describe cars and trucks in a dealers lot, the chapters of a book, the input or output of a scientific experiment or calculation, the eigenvalues of a matrix, and anything else that can be described by numbers and words. Data presentation and description In the XML framework, information is described and presented in the same doc- ument, thus circumventing the need for legends and explanations. For example, we may order: toast and eggs Further cooking instructions can be included between the breakfast tag enclosed by the pointy brackets () and its closure denoted by the slash (/). Data reuse XML data (input) can be read by a person or parsed and processed by a program (application) that produces a new set of data (output.) Although the input is the same, the output depends on the interpretation of the tags formatting the data. The inherent polymorphism allows us to materialize the same original data in different ways. For example: 1. An author may write a book inserting formatting tags between words, equations, and figures according to xml conventions and grammar. The text (data) file can be processed to produce books with different appear- ances. 2. A scientist may write a finite-element code that produces output tagged according to xml conventions--

Arvustused

"The book is written in a clear and readable style. It can be recommended to anybody interested in scientific computing in the context of combining classical environments, like MATLAB(R), with the XML framework." -Jaroslav Pokorny, Zentralblatt MATH 1263 "Modern computational science and engineering address realistic multi-physics applications with complex data-driven parametric input. XML in Scientific Computing is the first of its kind to discuss the seamless integration of data and code. The text is written by one of the most authoritative researchers in computational science." -Professor George M. Karniadakis, Brown University

Preface xi
Notation xv
1 Text and data formatting
1(38)
1.1 Text formatting with latex and html
2(5)
1.1.1 Latex
2(2)
1.1.2 Html
4(2)
1.1.3 Latex compared to html
6(1)
1.2 Formatting with xml
7(7)
1.3 Usage and usefulness of xml files
14(3)
1.3.1 Data formatting
14(2)
1.3.2 Computer code formatting
16(1)
1.4 Constraints on structure and form
17(4)
1.4.1 DocBook schema
19(1)
1.4.2 LibreOffice Math
20(1)
1.5 Xml data processing
21(4)
1.5.1 Human processing
21(1)
1.5.2 Machine processing with xsl
22(3)
1.6 Relevance of xml in scientific computing
25(14)
1.6.1 Matrices
27(1)
1.6.2 Objects
28(1)
1.6.3 Data points on a graph as xml elements or C++ objects
29(4)
1.6.4 Perl associative arrays
33(5)
1.6.5 Computing environments
38(1)
1.6.6 Summary
38(1)
2 Xml essential grammar
39(32)
2.1 Xml tags
39(2)
2.2 Xml elements
41(4)
2.2.1 Element attributes
41(1)
2.2.2 Property listing and nesting
42(2)
2.2.3 Property and element tag names
44(1)
2.3 Comments
45(1)
2.4 Xml document declaration
46(2)
2.5 Character reference
48(1)
2.6 Language processing instructions
49(1)
2.7 Character data (CDATA)
50(2)
2.8 Xml root element
52(1)
2.9 Xml trees and nodes
53(3)
2.10 Document type definition and schema
56(8)
2.10.1 Internal document type definition (dtd)
56(4)
2.10.2 External document type definition (dtd)
60(3)
2.10.3 Xml schema definition (xsd)
63(1)
2.10.4 Loss of freedom
64(1)
2.11 Xml namespaces
64(3)
2.12 Xml formatting of computer language instructions
67(4)
3 Xml data processing with xsl
71(42)
3.1 Xsl processors
71(2)
3.2 The main program
73(5)
3.2.1 Xsl code
73(1)
3.2.2 Root template
74(1)
3.2.3 Processing with the xsltproc processor
75(1)
3.2.4 Processing with a web browser
75(1)
3.2.5 Comments
76(1)
3.2.6 File name conventions
77(1)
3.2.7 Inverting namespaces
77(1)
3.3 for-each loops
78(3)
3.4 Extracting data with value-of
81(3)
3.5 Repeated parsing
84(2)
3.6 Extracting element attributes
86(3)
3.7 Conditional blocks
89(2)
3.8 Choose, when, and otherwise
91(1)
3.9 Variables and parameters
92(3)
3.10 Templates
95(11)
3.10.1 Matched templates
95(6)
3.10.2 Named templates
101(3)
3.10.3 Matched and named templates
104(2)
3.11 Splitting the code
106(1)
3.12 Summary of xsl elements and functions
107(4)
3.12.1 Core functions
110(1)
3.13 Passive processing and cascading stylesheets (css)
111(2)
4 Computing with xml/xsl
113(51)
4.1 Elementary operations
113(8)
4.1.1 Using variables
115(2)
4.1.2 Internal mathematical functions
117(2)
4.1.3 Formatting numbers in the output
119(1)
4.1.4 Maximum and minimum
120(1)
4.1.5 Counting our blessings
121(1)
1.2 Templates are user-defined functions and subroutines
121(10)
4.2.1 Absolute value of a number
122(1)
4.2.2 Binary representation of a fractional number
123(2)
4.2.3 Binary representation of any number
125(3)
4.2.4 Hexadecimal representation of any number
128(3)
1.3 Further applications of Xslt templates
131(9)
4.3.1 Integral power of a number
131(3)
4.3.2 Highest integer with a given number of bits
134(6)
4.4 Square root of a number
140(5)
4.5 Exponential of a number
145(3)
4.6 Natural logarithm of a number
148(3)
4.7 Recursive sequences
151(2)
4.8 Greatest common divisor of two integers
153(4)
4.9 Student roster
157(7)
5 Producing and importing xml data
164(45)
5.1 Fortran
165(9)
5.2 Perl
174(17)
5.2.1 XML::Simple
175(2)
5.2.2 Roots of an equation
177(4)
5.2.3 Real, imaginary, and complex roots
181(1)
5.2.4 Molecules
182(5)
5.2.5 Shapes
187(3)
5.2.6 Converting perl structures to xml data
190(1)
5.3 C++
191(4)
5.4 Matlab®
195(14)
5.4.1 Generating xml data
195(3)
5.4.2 Using java to generate xml output
198(3)
5.4.3 Importing an xml document as a java object
201(1)
5.4.4 Arranging xml data into Matlab structures
202(4)
5.4.5 Navigating through an xml tree
206(1)
5.4.6 Summary and toolboxes
207(2)
A ASCII code
209(4)
B Perl quick reference
213(9)
C Summary of xslt elements
222(11)
C.1 Stylesheet declaration, import, and inclusion
222(1)
C.2 Alternative code
223(1)
C.3 Output formatting
224(2)
C.4 Comments, messages, and text
226(1)
C.5 Xml element manipulation
227(1)
C.6 Logical constructs
228(1)
C.7 Variables and parameters
229(1)
C.8 Templates
230(2)
C.9 Sorting and ranking
232(1)
D Functions called by xslt elements
233
C. Pozrikidis is a professor at the University of Massachusetts, Amherst. He is well known for his contributions in fluid mechanics and biomechanics, applied mathematics, and scientific computing. He has published numerous research papers and is the author of eight books and the editor of two contributed volumes.