Author: echatellier Date: 2010-11-08 16:47:52 +0100 (Mon, 08 Nov 2010) New Revision: 282 Url: http://nuiton.org/repositories/revision/nuiton-matrix/282 Log: Merge 2.1.x branche. Add licence header. Update dependencies. Removed: trunk/src/main/java/org/nuiton/math/matrix/gui/JAXXMatrixEditor.jaxx Modified: trunk/README.txt trunk/pom.xml trunk/src/license/THIRD-PARTY.properties trunk/src/main/java/org/nuiton/math/matrix/AbstractMatrixND.java trunk/src/main/java/org/nuiton/math/matrix/BasicMatrix.java trunk/src/main/java/org/nuiton/math/matrix/BasicMatrixIterator.java trunk/src/main/java/org/nuiton/math/matrix/DimensionHelper.java trunk/src/main/java/org/nuiton/math/matrix/DoubleBigVector.java trunk/src/main/java/org/nuiton/math/matrix/DoubleVector.java trunk/src/main/java/org/nuiton/math/matrix/FloatBigVector.java trunk/src/main/java/org/nuiton/math/matrix/FloatVector.java trunk/src/main/java/org/nuiton/math/matrix/MapFunction.java trunk/src/main/java/org/nuiton/math/matrix/MatrixEncoder.java trunk/src/main/java/org/nuiton/math/matrix/MatrixException.java trunk/src/main/java/org/nuiton/math/matrix/MatrixFactory.java trunk/src/main/java/org/nuiton/math/matrix/MatrixHelper.java trunk/src/main/java/org/nuiton/math/matrix/MatrixIterator.java trunk/src/main/java/org/nuiton/math/matrix/MatrixIteratorImpl.java trunk/src/main/java/org/nuiton/math/matrix/MatrixND.java trunk/src/main/java/org/nuiton/math/matrix/MatrixNDImpl.java trunk/src/main/java/org/nuiton/math/matrix/MatrixStringEncoder.java trunk/src/main/java/org/nuiton/math/matrix/SemanticList.java trunk/src/main/java/org/nuiton/math/matrix/SubMatrix.java trunk/src/main/java/org/nuiton/math/matrix/Vector.java trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixEditor.java trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelEditor.jaxx trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelEvent.java trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelListener.java trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPopupMenu.java trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModel.java trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModelLinear.java trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModelND.java trunk/src/site/rst/Serializable.rst trunk/src/site/rst/Todo.rst trunk/src/site/rst/index.rst trunk/src/site/site_fr.xml trunk/src/test/java/org/nuiton/math/matrix/BasicMatrixBigTest.java trunk/src/test/java/org/nuiton/math/matrix/BasicMatrixTest.java trunk/src/test/java/org/nuiton/math/matrix/FloatVectorTest.java trunk/src/test/java/org/nuiton/math/matrix/ImportExportMatrixTest.java trunk/src/test/java/org/nuiton/math/matrix/MatrixHelperTest.java trunk/src/test/java/org/nuiton/math/matrix/MatrixNDTest.java trunk/src/test/java/org/nuiton/math/matrix/MatrixStringEncoderTest.java trunk/src/test/java/org/nuiton/math/matrix/PerfTest.java trunk/src/test/java/org/nuiton/math/matrix/SubMatrixTest.java trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixEditorsTests.jaxx trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixPanelListenerTest.java trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixTableModelTest.java trunk/src/test/resources/log4j.properties Modified: trunk/README.txt =================================================================== --- trunk/README.txt 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/README.txt 2010-11-08 15:47:52 UTC (rev 282) @@ -1,2 +1,2 @@ -Lutin Matrix -============ \ No newline at end of file +Nuiton Matrix +============= \ No newline at end of file Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/pom.xml 2010-11-08 15:47:52 UTC (rev 282) @@ -1,280 +1,250 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <!-- ************************************************************* --> - <!-- *** POM Relationships *************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom4redmineAndCentral</artifactId> - <version>2.4</version> - </parent> + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom4redmineAndCentral</artifactId> + <version>2.4</version> + </parent> - <artifactId>nuiton-matrix</artifactId> - <version>2.0.2-SNAPSHOT</version> + <artifactId>nuiton-matrix</artifactId> + <version>2.1-SNAPSHOT</version> - <dependencies> + <dependencies> - <dependency> - <groupId>org.nuiton</groupId> - <artifactId>nuiton-utils</artifactId> - <version>${nuitonUtilsVersion}</version> - <scope>compile</scope> - </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </dependency> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - </dependency> + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-utils</artifactId> + <version>${nuitonUtilsVersion}</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.nuiton.i18n</groupId> + <artifactId>nuiton-i18n</artifactId> + <version>${nuitonI18nVersion}</version> + <scope>compile</scope> + </dependency> - <dependency> - <groupId>commons-beanutils</groupId> - <artifactId>commons-beanutils</artifactId> - </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + </dependency> - <dependency> - <groupId>commons-primitives</groupId> - <artifactId>commons-primitives</artifactId> - </dependency> + <dependency> + <groupId>commons-beanutils</groupId> + <artifactId>commons-beanutils</artifactId> + </dependency> + + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </dependency> - <!--Jaxx--> - <dependency> - <groupId>org.nuiton.jaxx</groupId> - <artifactId>jaxx-runtime-swing</artifactId> - <version>${jaxxVersion}</version> - <scope>compile</scope> - <exclusions> - <exclusion> - <groupId>javax.help</groupId> - <artifactId>javahelp</artifactId> - </exclusion> - <exclusion> - <groupId>com.opensymphony</groupId> - <artifactId>xwork</artifactId> - </exclusion> - <exclusion> - <groupId>opensymphony</groupId> - <artifactId>ognl</artifactId> - </exclusion> - <exclusion> - <groupId>commons-jxpath</groupId> - <artifactId>commons-jxpath</artifactId> - </exclusion> - <exclusion> - <groupId>org.swinglabs</groupId> - <artifactId>jxlayer</artifactId> - </exclusion> - </exclusions> - </dependency> + <dependency> + <groupId>commons-primitives</groupId> + <artifactId>commons-primitives</artifactId> + </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </dependency> + <!--Jaxx --> + <dependency> + <groupId>org.nuiton.jaxx</groupId> + <artifactId>jaxx-runtime</artifactId> + <version>${jaxxVersion}</version> + <scope>compile</scope> + <exclusions> + <exclusion> + <groupId>javax.help</groupId> + <artifactId>javahelp</artifactId> + </exclusion> + <exclusion> + <groupId>com.opensymphony</groupId> + <artifactId>xwork</artifactId> + </exclusion> + <exclusion> + <groupId>opensymphony</groupId> + <artifactId>ognl</artifactId> + </exclusion> + <exclusion> + <groupId>commons-jxpath</groupId> + <artifactId>commons-jxpath</artifactId> + </exclusion> + <exclusion> + <groupId>org.swinglabs</groupId> + <artifactId>jxlayer</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> - </dependencies> + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> + <name>NuitonMatrix</name> + <description>Multiple dimensions matrix library</description> + <inceptionYear>2004</inceptionYear> + <url>http://maven-site.nuiton.org/nuiton-matrix</url> - <name>NuitonMatrix</name> - <description>Librairie de matrice multi-dimensions.</description> - <inceptionYear>2004</inceptionYear> - <url>http://maven-site.nuiton.org/nuiton-matrix</url> + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> + <packaging>jar</packaging> - <packaging>jar</packaging> + <properties> - <properties> + <jaxxVersion>2.2.3</jaxxVersion> + <nuitonUtilsVersion>1.5</nuitonUtilsVersion> + <nuitonI18nVersion>1.2.2</nuitonI18nVersion> - <jaxxVersion>1.7.1</jaxxVersion> - <nuitonUtilsVersion>1.3.1</nuitonUtilsVersion> - <nuitonI18nVersion>1.2.2</nuitonI18nVersion> + <!-- extra files to include in release --> + <redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles> - <!-- extra files to include in release --> - <redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles> + </properties> - </properties> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.nuiton.jaxx</groupId> + <artifactId>maven-jaxx-plugin</artifactId> + <version>${jaxxVersion}</version> + </plugin> + <plugin> + <groupId>org.nuiton.i18n</groupId> + <artifactId>maven-i18n-plugin</artifactId> + <version>${nuitonI18nVersion}</version> + </plugin> + <plugin> + <artifactId>maven-site-plugin</artifactId> + <dependencies> + <dependency> + <groupId>org.nuiton.jrst</groupId> + <artifactId>doxia-module-jrst</artifactId> + <version>${jrstPluginVersion}</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </pluginManagement> - <build> - <plugins> - - <plugin> - <groupId>org.nuiton.jaxx</groupId> - <artifactId>maven-jaxx-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>generate</goal> - </goals> - <id>generate-ui</id> - <configuration> - <extraImportList>jaxx.runtime.SwingUtil,static - jaxx.runtime.Util.getStringValue - </extraImportList> - <addSourcesToClassPath>true</addSourcesToClassPath> - <addProjectClassPath>true</addProjectClassPath> - </configuration> - </execution> - <execution> - <goals> - <goal>generate</goal> - </goals> - <id>generate-tests</id> - <phase>generate-test-sources</phase> - <configuration> - <testPhase>true</testPhase> - <src>src/test/java</src> - <outJava>target/generated-sources/test-java</outJava> - <addProjectClassPath>true</addProjectClassPath> - <addCompileClassPath>true</addCompileClassPath> - </configuration> - </execution> - </executions> - </plugin> - - <!-- plugin i18n --> - <plugin> - <groupId>org.nuiton.i18n</groupId> - <artifactId>maven-i18n-plugin</artifactId> - <configuration> - <entries> - <entry> - <basedir>${project.build.directory}/generated-sources/java/ - </basedir> - </entry> - </entries> - </configuration> - <executions> - <execution> - <goals> - <goal>parserJava</goal> - <goal>gen</goal> - </goals> - </execution> - </executions> - </plugin> - - </plugins> - - <pluginManagement> - <plugins> - - <plugin> - <groupId>org.nuiton.jaxx</groupId> - <artifactId>maven-jaxx-plugin</artifactId> - <version>${jaxxVersion}</version> - </plugin> - - <plugin> - <groupId>org.nuiton.i18n</groupId> - <artifactId>maven-i18n-plugin</artifactId> - <version>${nuitonI18nVersion}</version> - </plugin> - - <plugin> - <artifactId>maven-site-plugin</artifactId> - <dependencies> - <dependency> - <groupId>org.nuiton.jrst</groupId> - <artifactId>doxia-module-jrst</artifactId> - <version>${jrstPluginVersion}</version> - </dependency> - </dependencies> - </plugin> - - </plugins> - </pluginManagement> - - </build> - - <!-- devrait etre remonte dans le super-pom --> - <reporting> - <excludeDefaults>true</excludeDefaults> - </reporting> - - <!-- ************************************************************* --> - <!-- *** Build Environment ************************************** --> - <!-- ************************************************************* --> - - <!-- Source control management. --> - <scm> - <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-matrix/trunk - </connection> - <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-matrix/trunk - </developerConnection> - <url>http://www.nuiton.org/repositories/browse/nuiton-matrix/trunk</url> - </scm> - - <profiles> - - <!-- create assemblies only at release time --> - <profile> - <id>assembly-profile</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - <build> <plugins> + <plugin> + <groupId>org.nuiton.jaxx</groupId> + <artifactId>maven-jaxx-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>generate</goal> + </goals> + <id>generate-ui</id> + <configuration> + <extraImportList>jaxx.runtime.SwingUtil,static jaxx.runtime.JAXXUtil.getStringValue</extraImportList> + <addSourcesToClassPath>true</addSourcesToClassPath> + <addProjectClassPath>true</addProjectClassPath> + </configuration> + </execution> + <execution> + <goals> + <goal>generate</goal> + </goals> + <id>generate-tests</id> + <phase>generate-test-sources</phase> + <configuration> + <testPhase>true</testPhase> + <src>src/test/java</src> + <outJava>target/generated-sources/test-java</outJava> + <addProjectClassPath>true</addProjectClassPath> + <addCompileClassPath>true</addCompileClassPath> + </configuration> + </execution> + </executions> + </plugin> - <!-- launch in a release the assembly automaticly --> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <executions> - <execution> - <id>create-assemblies</id> - <phase>verify</phase> - <goals> - <goal>single</goal> - </goals> - </execution> - </executions> - <configuration> - <attach>false</attach> - <descriptorRefs> - <descriptorRef>deps</descriptorRef> - <descriptorRef>full</descriptorRef> - </descriptorRefs> - </configuration> - </plugin> - + <!-- plugin i18n --> + <plugin> + <groupId>org.nuiton.i18n</groupId> + <artifactId>maven-i18n-plugin</artifactId> + <configuration> + <entries> + <entry> + <basedir>${project.build.directory}/generated-sources/java/</basedir> + </entry> + </entries> + </configuration> + <executions> + <execution> + <goals> + <goal>parserJava</goal> + <goal>gen</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> - </build> - </profile> + </build> - <!-- generates reports only at release time --> - <profile> - <id>reporting-profile</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - <reporting> + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>1.2</version> - </plugin> - </plugins> - </reporting> - </profile> + <!-- Source control management. --> + <scm> + <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-matrix/trunk</connection> + <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-matrix/trunk</developerConnection> + <url>http://www.nuiton.org/repositories/browse/nuiton-matrix/trunk</url> + </scm> - </profiles> + <profiles> + <!-- create assemblies only at release time --> + <profile> + <id>assembly-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + <!-- launch in a release the assembly automatically --> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <id>create-assemblies</id> + <phase>verify</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + <configuration> + <attach>false</attach> + <descriptorRefs> + <descriptorRef>deps</descriptorRef> + <descriptorRef>full</descriptorRef> + </descriptorRefs> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> Modified: trunk/src/license/THIRD-PARTY.properties =================================================================== --- trunk/src/license/THIRD-PARTY.properties 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/license/THIRD-PARTY.properties 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +### +# #%L +# NuitonMatrix +# +# $Id$ +# $HeadURL$ +# %% +# Copyright (C) 2004 - 2010 CodeLutin +# %% +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Lesser Public License for more details. +# +# You should have received a copy of the GNU General Lesser Public +# License along with this program. If not, see +# <http://www.gnu.org/licenses/lgpl-3.0.html>. +# #L% +### # Generated by org.nuiton.license.plugin.AddThirdPartyMojo #------------------------------------------------------------------------------- # Already used licenses in project : Modified: trunk/src/main/java/org/nuiton/math/matrix/AbstractMatrixND.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/AbstractMatrixND.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/AbstractMatrixND.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/BasicMatrix.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/BasicMatrix.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/BasicMatrix.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/BasicMatrixIterator.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/BasicMatrixIterator.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/BasicMatrixIterator.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/DimensionHelper.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/DimensionHelper.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/DimensionHelper.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/DoubleBigVector.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/DoubleBigVector.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/DoubleBigVector.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/DoubleVector.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/DoubleVector.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/DoubleVector.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/FloatBigVector.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/FloatBigVector.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/FloatBigVector.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/FloatVector.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/FloatVector.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/FloatVector.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/MapFunction.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/MapFunction.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/MapFunction.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/MatrixEncoder.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/MatrixEncoder.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/MatrixEncoder.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/MatrixException.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/MatrixException.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/MatrixException.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/*##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /** * MatriceException.java Modified: trunk/src/main/java/org/nuiton/math/matrix/MatrixFactory.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/MatrixFactory.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/MatrixFactory.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/MatrixHelper.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/MatrixHelper.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/MatrixHelper.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/MatrixIterator.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/MatrixIterator.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/MatrixIterator.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/MatrixIteratorImpl.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/MatrixIteratorImpl.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/MatrixIteratorImpl.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/MatrixND.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/MatrixND.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/MatrixND.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/MatrixNDImpl.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/MatrixNDImpl.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/MatrixNDImpl.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/MatrixStringEncoder.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/MatrixStringEncoder.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/MatrixStringEncoder.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/SemanticList.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/SemanticList.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/SemanticList.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; @@ -69,8 +77,8 @@ */ @Override public int indexOf(Object o) { - Map<Object, Integer> i = getIndex(); - Integer result = i.get(o); + Map<Object, Integer> index = getIndex(); + Integer result = index.get(o); int resultIndex = -1; if (result != null) { resultIndex = result.intValue(); Modified: trunk/src/main/java/org/nuiton/math/matrix/SubMatrix.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/SubMatrix.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/SubMatrix.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/*##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/main/java/org/nuiton/math/matrix/Vector.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/Vector.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/Vector.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Deleted: trunk/src/main/java/org/nuiton/math/matrix/gui/JAXXMatrixEditor.jaxx =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/gui/JAXXMatrixEditor.jaxx 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/gui/JAXXMatrixEditor.jaxx 2010-11-08 15:47:52 UTC (rev 282) @@ -1,188 +0,0 @@ -<!-- -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ - --> -<MatrixEditor id='jaxxMatrixManel' layout='{new BorderLayout()}'> - - <MatrixTableModel id='tableModel' javaBean='null'/> - - <!-- if true, use linear representation of matrix --> - <Boolean id='linearModel' javaBean='false'/> - - <!-- if false don't show default value in matrix (ex: 0) --> - <Boolean id='linearModelShowDefault' javaBean='false'/> - - <!-- Boolean to autorize matrice dimension changes. --> - <Boolean id='dimensionEdit' javaBean='false'/> - - <script><![CDATA[ - -import java.awt.BorderLayout; -import java.awt.Dimension; -import java.awt.Event; -import java.awt.event.KeyEvent; -import java.awt.event.MouseEvent; -import java.util.Iterator; - -import org.nuiton.i18n.I18n; -import org.nuiton.math.matrix.MatrixFactory; -import org.nuiton.math.matrix.MatrixND; -import org.nuiton.util.ListenerSet; - -private final static int DEFAULT_WIDTH = 150; - -private final static int DEFAULT_HEIGHT = 150; - -protected ListenerSet<MatrixPanelListener> listeners = new ListenerSet<MatrixPanelListener>(); -protected MatrixPopupMenu popupMenu = null; -protected MatrixND matrix = null; -initObject(); - -/** - * @deprecated since 2.0.1 use MatrixPanelEditor - */ -public JAXXMatrixEditor(MatrixND m, boolean dimensionEdit) { - this(dimensionEdit, DEFAULT_WIDTH, DEFAULT_HEIGHT); -} - -/** - * @deprecated since 2.0.1 use MatrixPanelEditor - */ -public JAXXMatrixEditor(boolean dimensionEdit, int width, int height) { - this.dimensionEdit = dimensionEdit; - setPreferredSize(new Dimension(width, height)); -} - -/** - * @deprecated since 2.0.1 use MatrixPanelEditor - */ -public JAXXMatrixEditor(boolean dimensionEdit) { - this(dimensionEdit, DEFAULT_WIDTH, DEFAULT_HEIGHT); -} - -public void setMatrix(MatrixND m){ - this.matrix = m; - initObject(); -} - -public MatrixND getMatrix() { - return matrix; -} - -protected MatrixFactory getFactory() { - return MatrixFactory.getInstance(); -} - -/** - * - * @param l listener to add - * @deprecated since 2.0.0 : this is not a valid listener adder - */ -@Deprecated -public void addMatrixListener(MatrixPanelListener l) { - listeners.add(l); -} - -public void addMatrixPanelListener(MatrixPanelListener l) { - listeners.add(l); -} - -public void removeMatrixPanelListener(MatrixPanelListener l) { - listeners.remove(l); -} - - -public MatrixPanelListener[] getMatrixPanelListeners() { - java.util.List<MatrixPanelListener> r = new java.util.ArrayList<MatrixPanelListener>(); - for (java.util.Iterator<MatrixPanelListener> itr = listeners.iterator(); itr.hasNext();) { - r.add(itr.next()); - } - return r.toArray(new MatrixPanelListener[r.size()]); -} - -protected void initObject() { - if (getMatrix() == null) { - editArea.setViewportView(null); - } - else { - popupMenu = new MatrixPopupMenu(this); - table = new JTable() { - public void processMouseEvent(MouseEvent event) { - if (event.isPopupTrigger()) { - popupMenu.show(event.getComponent(), event.getX(), event.getY()); - } - super.processMouseEvent(event); - } - }; - - table.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_C, Event.CTRL_MASK),"copy"); - table.getActionMap().put("copy",popupMenu.getSendToClipBoardSelectionCopyAction()); - table.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK),"paste"); - table.getActionMap().put("paste",popupMenu.getSendToClipBoardCurrentPasteAction()); - if (isLinearModel()) { - setTableModel(new MatrixTableModelLinear(getMatrix(), isLinearModelShowDefault())); - } - else { - setTableModel(new MatrixTableModelND(getMatrix())); - } - - getTableModel().addTableModelListener(new TableModelListener() { - - @Override - public void tableChanged(TableModelEvent e) { - fireEvent(); - } - }); - - table.setModel(getTableModel()); - table.setDefaultRenderer(String.class, tableModel.getMatrixCellRenderer()); - table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); - table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION); - editArea.setViewportView(table); - } - repaint(); -} - -protected void btnAction(){ - String dim; - dim = JOptionPane.showInputDialog(null, I18n._("nuitonmatrix.create.matrix.message"), I18n._("nuitonmatrix.create.matrix.title"), JOptionPane.DEFAULT_OPTION); - - if (dim != null) { - String[] sdim = dim.split(";"); - int[] idim = new int[sdim.length]; - for (int i = 0; i < idim.length; i++) { - idim[i] = Integer.parseInt(sdim[i]); - } - setMatrix(getFactory().create(idim)); - } -} - -protected void fireEvent() { - MatrixPanelEvent e = new MatrixPanelEvent(this); - for (Iterator i = listeners.iterator(); i.hasNext();) { - MatrixPanelListener l = (MatrixPanelListener) i.next(); - l.matrixChanged(e); - } -} - ]]> - </script> - <JScrollPane id='editArea' constraints='BorderLayout.CENTER'> - <JTable id='table' autoResizeMode='{JTable.AUTO_RESIZE_OFF}' cellSelectionEnabled='{true}' selectionMode='{ListSelectionModel.SINGLE_INTERVAL_SELECTION}'/> - </JScrollPane> - <JButton id='buttonEdit' text='nuitonmatrix.create.matrix.button' visible='{isDimensionEdit()}' - onActionPerformed='btnAction()' constraints='BorderLayout.SOUTH'/> -</MatrixEditor> Modified: trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixEditor.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixEditor.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixEditor.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,4 +1,28 @@ /* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ +/* * *##% NuitonMatrix * Copyright (C) 2004 - 2009 CodeLutin * Modified: trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelEditor.jaxx =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelEditor.jaxx 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelEditor.jaxx 2010-11-08 15:47:52 UTC (rev 282) @@ -1,4 +1,28 @@ <!-- + #%L + NuitonMatrix + + $Id$ + $HeadURL$ + %% + Copyright (C) 2004 - 2010 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> +<!-- /* *##% NuitonMatrix * Copyright (C) 2004 - 2009 CodeLutin * Modified: trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelEvent.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelEvent.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelEvent.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* *##% NuitonMatrix * Copyright (C) 2004 - 2009 CodeLutin * Modified: trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelListener.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelListener.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPanelListener.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* *##% NuitonMatrix * Copyright (C) 2004 - 2009 CodeLutin * Modified: trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPopupMenu.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPopupMenu.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixPopupMenu.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* *##% NuitonMatrix * Copyright (C) 2004 - 2009 CodeLutin * @@ -56,11 +80,7 @@ * * Last update: $Date$ * by : $Author$ - * @deprecated since 1.0.0, shoudl really use a JAXX based file instead of this - * strange by hand coded class. - * */ -@Deprecated public class MatrixPopupMenu extends JPopupMenu { /** serialVersionUID. */ Modified: trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModel.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModel.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModel.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* *##% NuitonMatrix * Copyright (C) 2004 - 2009 CodeLutin * Modified: trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModelLinear.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModelLinear.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModelLinear.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* *##% NuitonMatrix * Copyright (C) 2004 - 2009 CodeLutin * Modified: trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModelND.java =================================================================== --- trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModelND.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/main/java/org/nuiton/math/matrix/gui/MatrixTableModelND.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /*##% NuitonMatrix * Copyright (C) 2004 - 2009 CodeLutin * Modified: trunk/src/site/rst/Serializable.rst =================================================================== --- trunk/src/site/rst/Serializable.rst 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/site/rst/Serializable.rst 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +.. - +.. * #%L +.. * NuitonMatrix +.. * +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2004 - 2010 CodeLutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Lesser General Public License as +.. * published by the Free Software Foundation, either version 3 of the +.. * License, or (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Lesser Public License for more details. +.. * +.. * You should have received a copy of the GNU General Lesser Public +.. * License along with this program. If not, see +.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. +.. * #L% +.. - ============================= La serialization des matrices ============================= Modified: trunk/src/site/rst/Todo.rst =================================================================== --- trunk/src/site/rst/Todo.rst 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/site/rst/Todo.rst 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +.. - +.. * #%L +.. * NuitonMatrix +.. * +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2004 - 2010 CodeLutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Lesser General Public License as +.. * published by the Free Software Foundation, either version 3 of the +.. * License, or (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Lesser Public License for more details. +.. * +.. * You should have received a copy of the GNU General Lesser Public +.. * License along with this program. If not, see +.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. +.. * #L% +.. - ==== Todo ==== Modified: trunk/src/site/rst/index.rst =================================================================== --- trunk/src/site/rst/index.rst 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/site/rst/index.rst 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +.. - +.. * #%L +.. * NuitonMatrix +.. * +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2004 - 2010 CodeLutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Lesser General Public License as +.. * published by the Free Software Foundation, either version 3 of the +.. * License, or (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Lesser Public License for more details. +.. * +.. * You should have received a copy of the GNU General Lesser Public +.. * License along with this program. If not, see +.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. +.. * #L% +.. - NuitonMatrix ============ Modified: trunk/src/site/site_fr.xml =================================================================== --- trunk/src/site/site_fr.xml 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/site/site_fr.xml 2010-11-08 15:47:52 UTC (rev 282) @@ -1,4 +1,29 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + NuitonMatrix + + $Id$ + $HeadURL$ + %% + Copyright (C) 2004 - 2010 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + <project name="${project.name}"> <bannerLeft> Modified: trunk/src/test/java/org/nuiton/math/matrix/BasicMatrixBigTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/BasicMatrixBigTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/BasicMatrixBigTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/test/java/org/nuiton/math/matrix/BasicMatrixTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/BasicMatrixTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/BasicMatrixTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/test/java/org/nuiton/math/matrix/FloatVectorTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/FloatVectorTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/FloatVectorTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/test/java/org/nuiton/math/matrix/ImportExportMatrixTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/ImportExportMatrixTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/ImportExportMatrixTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/test/java/org/nuiton/math/matrix/MatrixHelperTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/MatrixHelperTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/MatrixHelperTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/test/java/org/nuiton/math/matrix/MatrixNDTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/MatrixNDTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/MatrixNDTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/test/java/org/nuiton/math/matrix/MatrixStringEncoderTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/MatrixStringEncoderTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/MatrixStringEncoderTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/test/java/org/nuiton/math/matrix/PerfTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/PerfTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/PerfTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/test/java/org/nuiton/math/matrix/SubMatrixTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/SubMatrixTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/SubMatrixTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/*##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix; Modified: trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixEditorsTests.jaxx =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixEditorsTests.jaxx 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixEditorsTests.jaxx 2010-11-08 15:47:52 UTC (rev 282) @@ -1,27 +1,28 @@ <!-- - -/** - * *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* - */ - ---> + #%L + NuitonMatrix + + $Id$ + $HeadURL$ + %% + Copyright (C) 2004 - 2010 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> <!-- une ui pour verifier que les listeners de matrix sont bien reconnus par jaxx --> <JPanel> <MatrixPanelEditor onMatrixChanged='log.info("something changes "+event)'/> - <JAXXMatrixEditor onMatrixChanged='log.info("something changes "+event)'/> </JPanel> Modified: trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixPanelListenerTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixPanelListenerTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixPanelListenerTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,26 +1,34 @@ -/** - * *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.math.matrix.gui; import java.beans.BeanInfo; import java.beans.EventSetDescriptor; import java.beans.Introspector; + import org.junit.Assert; import org.junit.Test; @@ -42,7 +50,6 @@ @Test public void testMatrixPanelEditor() throws Exception { verifyMatrixPanelListener(MatrixPanelEditor.class); - verifyMatrixPanelListener(JAXXMatrixEditor.class); } protected void verifyMatrixPanelListener(Class<?> klass) throws Exception { Modified: trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixTableModelTest.java =================================================================== --- trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixTableModelTest.java 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/java/org/nuiton/math/matrix/gui/MatrixTableModelTest.java 2010-11-08 15:47:52 UTC (rev 282) @@ -1,19 +1,27 @@ -/* *##% NuitonMatrix - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * NuitonMatrix + * + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.math.matrix.gui; Modified: trunk/src/test/resources/log4j.properties =================================================================== --- trunk/src/test/resources/log4j.properties 2010-10-29 08:29:20 UTC (rev 281) +++ trunk/src/test/resources/log4j.properties 2010-11-08 15:47:52 UTC (rev 282) @@ -1,3 +1,27 @@ +### +# #%L +# NuitonMatrix +# +# $Id$ +# $HeadURL$ +# %% +# Copyright (C) 2004 - 2010 CodeLutin +# %% +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Lesser Public License for more details. +# +# You should have received a copy of the GNU General Lesser Public +# License along with this program. If not, see +# <http://www.gnu.org/licenses/lgpl-3.0.html>. +# #L% +### # Global logging configuration log4j.rootLogger=ERROR, stdout