From: <jpi...@us...> - 2012-09-21 13:18:50
|
Revision: 11065 http://octave.svn.sourceforge.net/octave/?rev=11065&view=rev Author: jpicarbajal Date: 2012-09-21 13:18:41 +0000 (Fri, 21 Sep 2012) Log Message: ----------- mechanics: fixing copyright Modified Paths: -------------- trunk/octave-forge/main/mechanics/inst/core/RBexample.m trunk/octave-forge/main/mechanics/inst/core/quatconj.m trunk/octave-forge/main/mechanics/inst/core/quatprod.m trunk/octave-forge/main/mechanics/inst/core/quatvrot.m Modified: trunk/octave-forge/main/mechanics/inst/core/RBexample.m =================================================================== --- trunk/octave-forge/main/mechanics/inst/core/RBexample.m 2012-09-21 12:58:16 UTC (rev 11064) +++ trunk/octave-forge/main/mechanics/inst/core/RBexample.m 2012-09-21 13:18:41 UTC (rev 11065) @@ -1,3 +1,18 @@ +%% Copyright (c) 2012 Juan Pablo Carbajal <car...@if...> +%% +%% This program is free software: you can redistribute it and/or modify +%% it under the terms of the GNU 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 Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program. If not, see <http://www.gnu.org/licenses/>. + %% Example of a free rigid body (no torques) %% Inital orientation @@ -22,7 +37,7 @@ opt.InertiaMoment = opt.Mass*[(3/5)*h^2 + (3/20)*r^2 (3/10)*r^2 (3/5)*h^2 + (3/20)*r^2]; opt.Gravity = [0 0 -1]; sys = @(t_,x_)RBequations_rot(t_,x_,opt); - + %% Set integration tspan = [0 6]; odeopt = odeset('RelTol',1e-3,'AbsTol',1e-3,... Modified: trunk/octave-forge/main/mechanics/inst/core/quatconj.m =================================================================== --- trunk/octave-forge/main/mechanics/inst/core/quatconj.m 2012-09-21 12:58:16 UTC (rev 11064) +++ trunk/octave-forge/main/mechanics/inst/core/quatconj.m 2012-09-21 13:18:41 UTC (rev 11065) @@ -1,17 +1,17 @@ -%%copyright (c) 2011 Juan Pablocarbajal <car...@if...> -%% -%% This program is free software: youcan redistribute itand/or modify -%% it under the terms of the GNU General Public Licenseas publishedby +%% Copyright (c) 2012 Juan Pablo Carbajal <car...@if...> +%% +%% This program is free software: you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by %% the Free Software Foundation, either version 3 of the License, or -%% any later version. +%% (at your option) any later version. %% -%% This program is distributed in the hope that it willbe useful, -%% but WITHOUTaNY WARRANTY; without even the implied warranty of -%% MERCHANTABILITY or FITNESS FORa PARTICULAR PURPOSE. See the +%% 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 Public License for more details. %% -%% You should have receivedacopy of the GNU General Public License -%% along with this program. If not, see <http://www.gnu.org/licenses/>. +%% You should have received a copy of the GNU General Public License +%% along with this program. If not, see <http://www.gnu.org/licenses/>. %% -*- texinfo -*- %% @deftypefn {Function File} {@var{qc} = } quatconj (@var{q}) Modified: trunk/octave-forge/main/mechanics/inst/core/quatprod.m =================================================================== --- trunk/octave-forge/main/mechanics/inst/core/quatprod.m 2012-09-21 12:58:16 UTC (rev 11064) +++ trunk/octave-forge/main/mechanics/inst/core/quatprod.m 2012-09-21 13:18:41 UTC (rev 11065) @@ -1,17 +1,17 @@ -%%copyright (c) 2011 Juan Pablocarbajal <car...@if...> -%% -%% This program is free software: youcan redistribute itand/or modify -%% it under the terms of the GNU General Public Licenseas publishedby +%% Copyright (c) 2012 Juan Pablo Carbajal <car...@if...> +%% +%% This program is free software: you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by %% the Free Software Foundation, either version 3 of the License, or -%% any later version. +%% (at your option) any later version. %% -%% This program is distributed in the hope that it willbe useful, -%% but WITHOUTaNY WARRANTY; without even the implied warranty of -%% MERCHANTABILITY or FITNESS FORa PARTICULAR PURPOSE. See the +%% 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 Public License for more details. %% -%% You should have receivedacopy of the GNU General Public License -%% along with this program. If not, see <http://www.gnu.org/licenses/>. +%% You should have received a copy of the GNU General Public License +%% along with this program. If not, see <http://www.gnu.org/licenses/>. %% -*- texinfo -*- %% @deftypefn {Function File} {@var{q3} = } quatprod (@var{q1}, @var{q2}) @@ -26,4 +26,3 @@ q1(:,1).*q2(:,4) + q1(:,2).*q2(:,3) - q1(:,3).*q2(:,2) + q1(:,4).*q2(:,1) ]; endfunction - Modified: trunk/octave-forge/main/mechanics/inst/core/quatvrot.m =================================================================== --- trunk/octave-forge/main/mechanics/inst/core/quatvrot.m 2012-09-21 12:58:16 UTC (rev 11064) +++ trunk/octave-forge/main/mechanics/inst/core/quatvrot.m 2012-09-21 13:18:41 UTC (rev 11065) @@ -1,17 +1,17 @@ -%%copyright (c) 2011 Juan Pablocarbajal <car...@if...> -%% -%% This program is free software: youcan redistribute itand/or modify -%% it under the terms of the GNU General Public Licenseas publishedby +%% Copyright (c) 2012 Juan Pablo Carbajal <car...@if...> +%% +%% This program is free software: you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by %% the Free Software Foundation, either version 3 of the License, or -%% any later version. +%% (at your option) any later version. %% -%% This program is distributed in the hope that it willbe useful, -%% but WITHOUTaNY WARRANTY; without even the implied warranty of -%% MERCHANTABILITY or FITNESS FORa PARTICULAR PURPOSE. See the +%% 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 Public License for more details. %% -%% You should have receivedacopy of the GNU General Public License -%% along with this program. If not, see <http://www.gnu.org/licenses/>. +%% You should have received a copy of the GNU General Public License +%% along with this program. If not, see <http://www.gnu.org/licenses/>. %% -*- texinfo -*- %% @deftypefn {Function File} {@var{vn} = } quatvrot (@var{v}, @var{q}) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |