[root] / trunk / math / matrix / inc / TMatrixTSparse.h Repository:
ViewVC logotype

Log of /trunk/math/matrix/inc/TMatrixTSparse.h

Parent Directory Parent Directory


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

Revision 32616 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 15 16:56:42 2010 UTC (4 years, 10 months ago) by rdm
File length: 19535 byte(s)
Diff to previous 30103
Fix issues reported by clang++:
- qualify calls, because name lookup doesn't look in base classes
  (two-phase name lookup).
- unused parameter warnings

Revision 30103 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 11 03:15:27 2009 UTC (5 years, 4 months ago) by brun
File length: 19529 byte(s)
Diff to previous 27658
From Eddy:
Changes to the TSparseTMatrix class:

This should resolve bug reports: 45807,45502 and 45415

Issues with the indexing of rows and columns have been resolved.
When applying operations like adding, subtracting or multiplying
matrixes, the new matrix did not always get the right index
table for non-zero entries.
The test/stressLinear.cxx code was not always testing the sparse matrix
code with matrices that contained also zero entries, therefore
not noticing the indexing issues.

TMatrixTSparse.h,cxx:

  - SetSparseIndexAB : added versions that determine the index
     tables for non-zero entries between dense and sparse matrices
  - TMatrixTSparse(a,op,b) : added binary constructors between dense
     and sparde matrices, before it would always call a copy constructor
     to convert the dense matrix and then call the binary constructor.
  - recoded parts of the (protected) routines AMultBt, AMinusB and
    APlusB to resove the indexing issues.

Revision 27658 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 28 05:34:57 2009 UTC (5 years, 10 months ago) by pcanal
File length: 18991 byte(s)
Diff to previous 25272
Remove the 'cast from type ... casts away constness' warning from most header files

Revision 25272 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 27 06:28:00 2008 UTC (6 years, 4 months ago) by brun
File length: 18755 byte(s)
Diff to previous 22885
From Eddy:
fix a memory leak problem in TMatrixTSparse .

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: 18701 byte(s)
Diff to previous 22039
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 22039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 7 05:48:31 2008 UTC (6 years, 11 months ago) by brun
Original Path: trunk/matrix/inc/TMatrixTSparse.h
File length: 18701 byte(s)
Diff to previous 20882
From Eddy:
- remove bug in Decompose of all TDecompXXX classes : It is checked
whether
    the matrix was already decomposed

- Added to TVector and the different TMatrix flavors the option to use
   "Use" on constant arrys and vectors/matrices.

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/inc/TMatrixTSparse.h
File length: 16648 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/inc/TMatrixTSparse.h
File length: 16648 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/inc/TMatrixTSparse.h
File length: 16701 byte(s)
Diff to previous 17648
remove :$ from tag line

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/inc/TMatrixTSparse.h
File length: 16711 byte(s)
Diff to previous 16877
From Eddy:
Remove the inclusion of TMath.h in TMatrixTUtils.h and fix all the consequences

Revision 16877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 16:52:54 2006 UTC (8 years, 2 months ago) by rdm
Original Path: trunk/matrix/inc/TMatrixTSparse.h
File length: 18025 byte(s)
Diff to previous 16458
Another bunch of Long64_t truncation warning fixes.

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/inc/TMatrixTSparse.h
File length: 18018 byte(s)
Diff to previous 15068
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 15068 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 17 06:22:06 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/matrix/inc/TMatrixTSparse.h
File length: 17720 byte(s)
Diff to previous 14745
From Eddy:
Fix some 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/inc/TMatrixTSparse.h
File length: 17592 byte(s)
Diff to previous 14375
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 14375 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 22 15:16:59 2006 UTC (8 years, 10 months ago) by brun
Original Path: trunk/matrix/inc/TMatrixTSparse.h
File length: 17580 byte(s)
Diff to previous 13779
From Eddy:
- made more elementary constructors public .
- changed the default for these constructors to NOT create a matrix
object
- added besides AMultB, AMinusB and APlusB

Revision 13779 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 5 08:26:14 2006 UTC (9 years ago) by brun
Original Path: trunk/matrix/inc/TMatrixTSparse.h
File length: 17562 byte(s)
Diff to previous 13754
From Eddy:
removes virtual function Allocate from TMatrixTBase

Revision 13754 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Dec 22 09:19:13 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/matrix/inc/TMatrixTSparse.h
File length: 17578 byte(s)
A few more missing files

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