background preloader

Programming

Facebook Twitter

ChartFactory (JFreeChart Class Library (version 1.0.13)) JiBX: Binding XML to Java Code. Overview (Java Platform SE 7 ) Programmation avec XSLT. Tutoriel pour XSLT (eXtensible Stylesheet Language Transformation).

Programmation avec XSLT

Article lu 12443 fois. XSLT offre de nombreuses fonctions dignes d'un langage de haut-niveau : variables, paramètres, tests, boucles, fonctions, inclusion d'une feuille de style XSLT dans une autre, chargement de plusieurs documents XML dans une même feuille de style XSLT, recherche de balises XML selon de nombreux critères, etc. Si vous n'avez pas lu mon introduction à XSLT, allez vite la lire sous peine de ne pas comprendre certains passages. II-A. Liste des fonctions XSLT▲ II-B. Je vous ai menti (oh le vilain !). <liste><invite>Moi</invite><invite>Amélie</invite><invite>Marie</invite><invite>Jérémy</invite></liste> Puis le code XSLT qui va générer une liste HTML : II-C.

L'instruction xsl:if permet d'exécuter ou non certaines parties du code. <xsl:if test="nom == 'Victor'"><xsl:text>Tient, on dirait mon prénom ! OK, mais où est le xsl:else ? II-D. <xsl:choose><xsl:when test="nom = 'Victor'"><xsl:text>Salut Victor, ça boume ? Tutorial.

Overview Introduction - General information about JCuda General setup - The basic setup for JCuda Basic test - The setup of a minimum JCuda test project Creating kernels - How to create, compile and run CUDA kernels with JCuda Futher information: A detailed article about GPU Computing Using CUDA, Eclipse, and Java with JCuda has been published by Mark Bishop.

Tutorial

It is an excellent resource for further information about the setup of CUDA and JCuda on Linux platforms, and the setup of a JCuda project in Eclipse. Introduction CUDA provides two different APIs: The Runtime API and the Driver API. In the original CUDA Runtime API, kernels are defined and compiled together with C files. Of course, the NVCC can not be used to compile a Java program. The JCuda Runtime API is mainly intended for the interaction with the Java bindings of the the CUDA Runtime libraries, like JCublas and JCufft.

General setup Basic test Creating kernels Writing the kernel. For - Looping commands. Conditionally perform a command several times. syntax-FOR-Files FOR %%parameter IN (set) DO command syntax-FOR-Files-Rooted at Path FOR /R [[drive:]path] %%parameter IN (set) DO command syntax-FOR-Folders FOR /D %%parameter IN (folder_set) DO command syntax-FOR-List of numbers FOR /L %%parameter IN (start,step,end) DO command syntax-FOR-File contents FOR /F ["options"] %%parameter IN (filenameset) DO command FOR /F ["options"] %%parameter IN ("Text string to process") DO command syntax-FOR-Command Results FOR /F ["options"] %%parameter IN ('command to process') DO command The operation of the FOR command can be summarised as...

For - Looping commands

Take a set of dataMake a FOR Parameter %%G equal to some part of that dataPerform a command (optionally using the parameter as part of the command).Repeat for each item of data If you are using the FOR command at the command line rather than in a batch program, use just one percent sign: %G instead of %%G. Developer Zone. Jcuda.org - Java bindings for CUDA. Eclipse RCP Tutorial. Building Eclipse RCP applications based on Eclipse 4 Copyright © 2009 , 2010 , 2011 , 2012 , 2013 Lars Vogel Eclipse e4 This tutorial gives an overview about the Eclipse 4 application platform.

Eclipse RCP Tutorial

This tutorial describes the creation of Eclipse 4 based applications, e.g. Eclipse RCP applications. The Eclipse platform and IDE is released every year. As of 2012 the main Eclipse release carried the major version number 4, e.g. The Eclipse 4 platform is based on a flexible and extendible programming model. 1.2. The major enhancements in Eclipse 4 compared to Eclipse 3.x are the following: An Eclipse application consists of several Eclipse components. This book uses the terms Eclipse based applications, Eclipse application, Eclipse 4 application and Eclipse RCP application interchangeably for referring to an application which is based on the Eclipse 4 framework.

If a certain concept refers to Eclipse 3.x, then it is explicitly stated. 2. 2.1. Note. Bash scripting Tutorial.