[root] / trunk / math / matrix / src / TMatrixTBase.cxx Repository:
ViewVC logotype

Log of /trunk/math/matrix/src/TMatrixTBase.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 46214 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 27 10:10:19 2012 UTC (2 years, 3 months ago) by rdm
File length: 48158 byte(s)
Diff to previous 36734
Digital Alpha is no longer supported. Remove all references to __alpha and
__true64.

Revision 36734 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 18 08:26:03 2010 UTC (4 years, 2 months ago) by brun
File length: 48181 byte(s)
Diff to previous 35905
Protect TMatrixTBase::Print in case the number of  elements is <= 0.
Fix : https://savannah.cern.ch/bugs/?75417

Revision 35905 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 30 10:47:14 2010 UTC (4 years, 3 months ago) by brun
File length: 48147 byte(s)
Diff to previous 34861
Use snprintf. coverity CID 13257

Revision 34861 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 19 15:49:35 2010 UTC (4 years, 5 months ago) by pcanal
File length: 48132 byte(s)
Diff to previous 34286
Fix buffer overrun (coverity)

Revision 34286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 20:38:57 2010 UTC (4 years, 6 months ago) by rdm
File length: 48132 byte(s)
Diff to previous 23492
fix format errors related to TString::Form(), TString::Format(), Form()
and Printf().

Revision 23492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 20:42:49 2008 UTC (6 years, 9 months ago) by brun
File length: 48094 byte(s)
Diff to previous 22885
From Eddy:
Fix shadowed variables

Revision 22885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 28 13:57:25 2008 UTC (6 years, 9 months ago) by rdm
File length: 48067 byte(s)
Diff to previous 22419
move the following directories under the new "math" meta directory:
   mathcore
   mathmore
   fftw
   foam
   fumili
   genvector
   matrix
   minuit
   minuit2
   mlp
   physics
   smatrix
   splot
   unuran
   quadp

Revision 22419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 3 00:25:01 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 48067 byte(s)
Diff to previous 21231
From Andrew Savchenko:
ROOT can not be compiled with gcc-4.3.
Some ROOT source files doesn't contain required #include directives,
for example, they use strlen(), but #include <string.h> is missed or
malloc() is used and #include <stdlib.h> is missed. 

Earlier versions of gcc allowed some headers to be included implicitly,
but issued a warning (-Wimplicit-function-declaration). Newer one,
gcc-4.3 denies such silly behaviour: all required headers must be explicitly
included. 

Attached patch fixes this. Also it fixes another issue, which disallows
ROOT to compile under gcc-4.3: C functions don't belong to namespace std,
so expressions like std::memcpy() are no longer valid and plain memcpy()
should be used instead.

Revision 21231 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 6 15:22:14 2007 UTC (7 years, 1 month ago) by rdm
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 48047 byte(s)
Diff to previous 20882
change all occurances where %x is used to format a pointer to %lx.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 48052 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 48052 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 48107 byte(s)
Diff to previous 17734
remove :$ from tag line

Revision 17734 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 15:47:59 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 48117 byte(s)
Diff to previous 17648
In the Streamer functions replace the lines like
         TPad::Class()->ReadBuffer(b, this, v, R__s, R__c);
         TPad::Class()->WriteBuffer(b,this);
by
         b.ReadClassBuffer(TPad::Class(), this, v, R__s, R__c);
         b.WriteClassBuffer(TPad::Class(),this);

Revision 17648 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 3 06:40:26 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 48109 byte(s)
Diff to previous 17561
From Eddy:
Remove the inclusion of TMath.h in TMatrixTUtils.h and fix all the consequences

Revision 17561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 15:10:49 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 48090 byte(s)
Diff to previous 17489
-Add include "TROOT.h" in all implementation files that were assuming
that TROOT was included via TClass.h


-In TClass.h:
 --Remove the include of TROOT.h
 --add the following static member
   static IdMap_t    *fgIdMap;          //Map from typeid to TClass pointer

 --add the following functions:
   static void           AddClass(TClass *cl);
   static void           RemoveClass(TClass *cl);

 --Replace the inline definitions of GetClass functions by
   template <typename T> TClass* GetClass(      T**       /* dummy */) { return GetClass((T*)0); }
   template <typename T> TClass* GetClass(const T**       /* dummy */) { return GetClass((T*)0); }

-In TClass.cxx:
 --Instead of forwarding the calls to gROOT->GetClass, move the code
  originally in TROOT in the TClass::GetClass functions
 --Move class TMapTypeToTClass from TROOT to TClass.

Revision 17489 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 24 16:29:27 2007 UTC (8 years ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 48071 byte(s)
Diff to previous 17052
From Eddy:
a patch for a bug found by Federico Pilo .
The boundary check in TMatrixTBase::InsertRow was
too restrictive .

Revision 17052 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 6 09:00:36 2006 UTC (8 years, 1 month ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 48072 byte(s)
Diff to previous 16943
Extend the functionality of the Print function, giving the possibility
to specify the format to print the matrix.
   // By default the format "%11.4g" is used to print one element.
   // One can specify an alternative format with eg
   //  option ="f=  %6.2f  "

Revision 16943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 09:05:48 2006 UTC (8 years, 2 months ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 47310 byte(s)
Diff to previous 16516
Use the new function THistPainter::PaintSpecialObjects to paint matrices
and vectors instead of the TVirtualUtilHist class

Revision 16516 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 12 21:30:58 2006 UTC (8 years, 3 months ago) by pcanal
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 47743 byte(s)
Diff to previous 16458
From Eddy:
Patch to work around in deficiency in the Solraris CC compiler.

Revision 16458 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 6 06:52:34 2006 UTC (8 years, 3 months ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 47379 byte(s)
Diff to previous 15339
From Eddy Offermann:
Previously, the matrix package contained a large amount of ASSERT
statements which are a nuisance for programs analyzing a series of
independent events like in high-energy physics .
Assert's were issued when for instance a division by zero was requested
or a matrix was invalid . Most algorithms made matrices/vectors invalid
after an error occured in an operation , like inversion of a singular matrix .
Unfortunately, not all assert's were accompanied by error messages .

This situation has been completely overhauled :
- All error conditions in the algorithms are now accompanied by error
  messages .
- In all algorithms it is still asserted that vectors/matrices are
  valid BUT only in very few cases is a matrix/vector made invalid :
  for instance if memory is allocated with incorrect parameters .
- In case of division by zero, the division is skipped . In case of a
  singular matrix, the inversion routine returns the original matrix .

In the past the result of an inversion could be checked through the
value of the returned determinant or checking whether the inverted matrix
was valid .
Since from now on, we never make the matrix invalid in this operation, the
latter check will not indicate a singular matrix anymore .

   The decompostion classes TDecomp... have a backward-compatible
change in the interface which makes detection of singularity easier :

   old interface :

         void         Invert    (TMatrixD &inv);
         TMatrixD Invert    ();

   new interface :

         Bool_t      Invert    (TMatrixD &inv);
         TMatrixD Invert    (Bool_t &status);
         TMatrixD Invert    () { Bool_t status; return Invert(status);
}

  The returned status is kFALSE in case of singularity .

The old situation is easily reproduced by setting the ROOT variable
gErrorAbortLevel to kError . This cause an exception when there is an error
message (Error...) ., In the past the matrix would be made invalid which
would cause the next operation to throw an exception .

Revision 15339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 6 05:16:09 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 47160 byte(s)
Diff to previous 15111
From Eddy:
space issues and comments

Revision 15111 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 19 04:44:59 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 46870 byte(s)
Diff to previous 14745
From Eddy:
More fixes to coding conventions violations

Revision 14745 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 08:22:26 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 45521 byte(s)
Diff to previous 14387
Change the TError.h macros:
Assert   ->  R__ASSERT
Check    ->  R__CHECK
Change the TCollection.h macro:
ForEach  ->  R__FOR_EACH
This to avoid potential problems due too trivial macro names.
The old macros will be removed in the next release. Currently
they will print out warning messages with the advice to move
to the new macro names.

Revision 14387 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 23 11:23:15 2006 UTC (8 years, 10 months ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 45493 byte(s)
Diff to previous 14336
From Eddy:
"I introduced a global parameter : Int_t gMatrixCheck  with
which can turn on (1) and off(0) the various checks :

- validity, sizes .. in the routines .

Revision 14336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 21:43:44 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 45374 byte(s)
Diff to previous 13939
Reduce direct dependencies on TClass.h, TROOT.h and TStreamerInfo.h.
Warning:  This means that some file that relied on the indirect
inclusion of these header file might now fail to compile with
an error message mention that gROOT is no known or that TClass,
TROOT or TStreamerInfo is incompletely defined.  Simply add the
proper include directive.

Revision 13939 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 26 16:31:01 2006 UTC (8 years, 11 months ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 45354 byte(s)
Diff to previous 13770
From Eddy:
a patch that will hopefully resolve the Solaris issue .

From the error messages I deduce that the compiler does not like to
instantiate
a default templated argument in the function header . Therefore, I
replaced the default
value by the value 0.0 (which is an unusual value , the user would use
here "==")
and check in the routine and replace it with the appropriate epsilon.

Revision 13770 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 23 19:55:50 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 45158 byte(s)
Diff to previous 13767
Do not declare templateClassImp for the R__ALPHA platform

Revision 13767 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 23 07:20:11 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 45134 byte(s)
Diff to previous 13756
Attempt to fix compilation problems on Solaris and Alpha

Revision 13756 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Dec 22 09:27:57 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/matrix/src/TMatrixTBase.cxx
File length: 45756 byte(s)
Adding missing implementation files for the new templatex matrices

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9