/[escript]/branches/clazy/escriptcore/src/DataVectorOps.h
ViewVC logotype

Log of /branches/clazy/escriptcore/src/DataVectorOps.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 6517 - (view) (annotate) - [select for diffs]
Modified Mon Mar 6 06:35:31 2017 UTC (2 years, 1 month ago) by jfenwick
File length: 57682 byte(s)
Diff to previous 6511
Work towards complex lazy.


Revision 6511 - (view) (annotate) - [select for diffs]
Modified Fri Mar 3 01:41:39 2017 UTC (2 years, 1 month ago) by jfenwick
File length: 56399 byte(s)
Diff to previous 6311
For some experiments


Revision 6311 - (view) (annotate) - [select for diffs]
Modified Tue Jun 21 06:41:55 2016 UTC (2 years, 9 months ago) by caltinay
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 56399 byte(s)
Diff to previous 6168
lots of noise due to reformatting but mainly added braces around parallel
loops within switch so nvcc doesn't choke.


Revision 6168 - (view) (annotate) - [select for diffs]
Modified Wed Apr 13 03:08:12 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 52084 byte(s)
Diff to previous 6140
Making Lazy and the rest of escript use the same operator enumeration



Revision 6140 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 03:17:31 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 52192 byte(s)
Diff to previous 6136
Eigenvectors for _some_ complex cases

escript is cowardly refusing to compute eigenvalues
for 3x3 complex matricies because the 3x3 alg has 
< in it.


Revision 6136 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 01:45:53 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 50009 byte(s)
Diff to previous 6135
Swap axes for complex


Revision 6135 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 01:07:38 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 50056 byte(s)
Diff to previous 6133
transpose for complex


Revision 6133 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 00:33:10 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 50103 byte(s)
Diff to previous 6128
trace() now supports complex


Revision 6128 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 05:19:48 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 50138 byte(s)
Diff to previous 6125
Hopefully fix OSX problem.




Revision 6125 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 04:12:13 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 51971 byte(s)
Diff to previous 6114
Fix incorrect behaviour of anti-symmetric for scalars.

Also add hermitian and antihermitian.
Very quick check looks ok but really not tested yet.


Revision 6114 - (view) (annotate) - [select for diffs]
Modified Fri Apr 1 03:37:52 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 48544 byte(s)
Diff to previous 6112
symmetric and antisymmetric now support complex

Also a number of methods are renamed from nonsymmetric


Revision 6112 - (view) (annotate) - [select for diffs]
Modified Thu Mar 31 09:40:10 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 48679 byte(s)
Diff to previous 6084
Relicense all the things!



Revision 6084 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 04:23:02 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataVectorOps.h
File length: 48689 byte(s)
Copied from: trunk/escriptcore/src/DataMaths.h revision 6083
Diff to previous 6083
Renaming headers for (hopefully) easier understanding



Revision 6083 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 03:30:18 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 48770 byte(s)
Diff to previous 6082
Removing the DataMaths namespace


Revision 6082 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 02:57:49 2016 UTC (3 years ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 48821 byte(s)
Diff to previous 6074
More cleanup

Moving some includes around.
The plan is to rename some includes to better reflect their purpose.
Removing inheritance from std::binary_function   (since that is deprecated).
Replacing some doubles with real_t.



Revision 6074 - (view) (annotate) - [select for diffs]
Modified Fri Mar 18 02:42:48 2016 UTC (3 years, 1 month ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 49950 byte(s)
Diff to previous 6066
Starting to remove dead code.

DataAlgorithmAdapter is only used by the code which tests it.


Revision 6066 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 06:42:55 2016 UTC (3 years, 1 month ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 67148 byte(s)
Diff to previous 6057
Code path conversions.

TestDomain can now return a JMPI.
Some tests now use TestDomain (didn't want to undo all that work
from before I found the ASSERT fix).
Moving more code to new path.
Commenting out a bunch of old ops.



Revision 6057 - (view) (annotate) - [select for diffs]
Modified Thu Mar 10 06:00:58 2016 UTC (3 years, 1 month ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 71085 byte(s)
Diff to previous 6056
Well it passes my tests



Revision 6056 - (view) (annotate) - [select for diffs]
Modified Thu Mar 10 04:29:53 2016 UTC (3 years, 1 month ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 71482 byte(s)
Diff to previous 6050
Small fix - hard to find



Revision 6050 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 22:44:52 2016 UTC (3 years, 1 month ago) by caltinay
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 71134 byte(s)
Diff to previous 6046
make it compile on savanna again.


Revision 6046 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 07:05:48 2016 UTC (3 years, 1 month ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 71109 byte(s)
Diff to previous 6045
More pruning and switching

All self-update operations use the new path


Revision 6045 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 06:28:47 2016 UTC (3 years, 1 month ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 83303 byte(s)
Diff to previous 6043
Adding more operations to the alternate binary codepath




Revision 6043 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 04:44:10 2016 UTC (3 years, 1 month ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 48697 byte(s)
Diff to previous 6042
Making a macro


Revision 6042 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 04:30:36 2016 UTC (3 years, 1 month ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 48495 byte(s)
Diff to previous 6024
Preliminary to lazy cleanup


Lazy is not templated for complex as yet but hopefully
we can relieve the dependency on the briarpatch of
the current methods.



Revision 6024 - (view) (annotate) - [select for diffs]
Modified Fri Mar 4 04:14:27 2016 UTC (3 years, 1 month ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 47194 byte(s)
Diff to previous 6001
Fixing testing.

Pulling alernative binary op skeleton.


Revision 6001 - (view) (annotate) - [select for diffs]
Modified Tue Mar 1 05:01:49 2016 UTC (3 years, 1 month ago) by caltinay
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 40343 byte(s)
Diff to previous 5972
Bye bye esysUtils.
Also removed first.h as escript/DataTypes.h is now required everywhere
and fulfills that role by including a boost python header first.


Revision 5972 - (view) (annotate) - [select for diffs]
Modified Wed Feb 24 04:05:30 2016 UTC (3 years, 1 month ago) by caltinay
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 40325 byte(s)
Diff to previous 5938
Major rework of our exceptions. We now have specific
AssertException
NotImplementedError
ValueError
which translate to the corresponding python exception type.
I have gone through a few places and replaced things but not everywhere.



Revision 5938 - (view) (annotate) - [select for diffs]
Modified Thu Feb 18 06:30:35 2016 UTC (3 years, 2 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 40454 byte(s)
Diff to previous 5863
Merging from 5937 on the complex branch

Some parts of complex work but all of it is
not unit tested and it is certainly not feature
complete (I haven't put any time into dealing with
subworld for complex).

The other important aspect of this merge is that
c++11 is now required to build escript.



Revision 5863 - (view) (annotate) - [select for diffs]
Modified Wed Jan 13 02:25:48 2016 UTC (3 years, 3 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 33440 byte(s)
Diff to previous 5593
Copyright dates updated.
\version for doxygen to read


Revision 5593 - (view) (annotate) - [select for diffs]
Modified Fri Apr 24 01:36:26 2015 UTC (3 years, 11 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 33440 byte(s)
Diff to previous 5448
Fixing institution name to comply with policy

Revision 5448 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 05:31:37 2015 UTC (4 years, 2 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 33436 byte(s)
Diff to previous 4657
Updating all the dates

Revision 4657 - (view) (annotate) - [select for diffs]
Modified Thu Feb 6 06:12:20 2014 UTC (5 years, 2 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 33436 byte(s)
Diff to previous 4507
I changed some files.
Updated copyright notices, added GeoComp.




Revision 4507 - (view) (annotate) - [select for diffs]
Modified Wed Jul 24 02:50:22 2013 UTC (5 years, 8 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataMaths.h
File length: 33368 byte(s)
Diff to previous 4154
It begins

Revision 4154 - (view) (annotate) - [select for diffs]
Modified Tue Jan 22 09:30:23 2013 UTC (6 years, 2 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 33368 byte(s)
Diff to previous 3981
Round 1 of copyright fixes

Revision 3981 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 02:47:54 2012 UTC (6 years, 6 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 33368 byte(s)
Diff to previous 3911
First pass of updating copyright notices

Revision 3911 - (view) (annotate) - [select for diffs]
Modified Thu Jun 14 01:01:03 2012 UTC (6 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 33249 byte(s)
Diff to previous 2881
Copyright changes

Revision 2881 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 02:03:15 2010 UTC (9 years, 2 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 33249 byte(s)
Diff to previous 2770
Don't panic.
Updating copyright stamps


Revision 2770 - (view) (annotate) - [select for diffs]
Modified Wed Nov 25 01:24:51 2009 UTC (9 years, 4 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 33249 byte(s)
Diff to previous 2742
Removed buffer implementation of Lazy.
Removed supporting Alloc/Free Sample buffer calls.

Revision 2742 - (view) (annotate) - [select for diffs]
Modified Thu Nov 12 06:03:37 2009 UTC (9 years, 5 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 32950 byte(s)
Diff to previous 2548
Merging changes from the lapack branch.

The inverse() operation has been moved into c++. [No lazy support for this operation yet.]
Optional Lapack support has been added for matrices larger than 3x3. 
service0 is set to use mkl_lapack.




Revision 2548 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 06:20:06 2009 UTC (9 years, 9 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 31569 byte(s)
Diff to previous 2271
Updating copyright notices

Revision 2271 - (view) (annotate) - [select for diffs]
Modified Mon Feb 16 05:08:29 2009 UTC (10 years, 2 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 31569 byte(s)
Diff to previous 2098
Merging version 2269 to trunk


Revision 2098 - (view) (annotate) - [select for diffs]
Modified Tue Nov 25 12:04:36 2008 UTC (10 years, 4 months ago) by phornby
Original Path: trunk/escript/src/DataMaths.h
File length: 31563 byte(s)
Diff to previous 2084
Fix unsigned/signed comparison.

Revision 2084 - (view) (annotate) - [select for diffs]
Modified Fri Nov 21 05:20:42 2008 UTC (10 years, 4 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 31572 byte(s)
Diff to previous 2005
Fixed a warning in cpp unit tests under dodebug
Pointed the url for python doco at shake200 rather than iservo.
Added support for trace and transpose to LazyData.
Fixed bug in trace to initialise running totals.

Revision 2005 - (view) (annotate) - [select for diffs]
Modified Mon Nov 10 01:21:39 2008 UTC (10 years, 5 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 31477 byte(s)
Diff to previous 1833
Bringing all changes across from schroedinger.
(Note this does not mean development is done, just that it will happen
on the trunk for now).
If anyone notices any problems please contact me.



Revision 1833 - (view) (annotate) - [select for diffs]
Modified Thu Oct 2 09:47:24 2008 UTC (10 years, 6 months ago) by phornby
Original Path: trunk/escript/src/DataMaths.h
File length: 34389 byte(s)
Diff to previous 1811
One cannot give a static function external linkage
(eigenvalues_and_eigenvectors and swapaxes).
I'm not even sure the external linkage is needed for inline functions.

Revision 1811 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 23:11:13 2008 UTC (10 years, 6 months ago) by ksteube
Original Path: trunk/escript/src/DataMaths.h
File length: 34407 byte(s)
Diff to previous 1796
Copyright updated in all files


Revision 1796 - (view) (annotate) - [select for diffs]
Modified Wed Sep 17 01:45:46 2008 UTC (10 years, 7 months ago) by jfenwick
Original Path: trunk/escript/src/DataMaths.h
File length: 34492 byte(s)
Copied from: branches/arrayview_from_1695_trunk/escript/src/DataMaths.h revision 1795
Diff to previous 1779
Merged noarrayview branch onto trunk.



Revision 1779 - (view) (annotate) - [select for diffs]
Modified Thu Sep 11 01:06:15 2008 UTC (10 years, 7 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataMaths.h
File length: 34492 byte(s)
Diff to previous 1747
Branch commit:

Updated the doxyfile for deprecated/modified options (eg encoding is set 
to UTF-8).
Also set it not to scan directories called .svn or deprecated.

Removed #includes of DataArrayView.h
Moved DataArrayView into a new deprecated directory

Commented out setTaggedValue in DataExpanded which still referred to 
DataArrayView

Fixed some of the doxygen comments in DataMaths.h, DataTypes.h, 
DataTagged.h

Removed the empty JoelMods.cpp_

Unit tests appear to indicate that this branch is now "no more broken" 
than the version I branched from.




Revision 1747 - (view) (annotate) - [select for diffs]
Modified Wed Sep 3 04:56:50 2008 UTC (10 years, 7 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataMaths.h
File length: 32275 byte(s)
Diff to previous 1734
Branch commit.

Current status, this version compiles as passes run_tests (haven't tried 
all_tests), provided that the following files are moved out of the way:

DataAlgorithmAdapterTestCase.h 
DataTaggedTestCase.cpp 
DataTestCase.cpp 
DataTaggedTestCase.h

(They are not run by the unit tests at the moment).

I will fix those next.




Revision 1734 - (view) (annotate) - [select for diffs]
Modified Thu Aug 28 06:11:56 2008 UTC (10 years, 7 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataMaths.h
File length: 32226 byte(s)
Diff to previous 1726
Added operations to Datatypes:
checkOffset
copySlice
copySliceFrom

Fixed some error reporting using EsysAssert.

Added two new c++ test suites:
DataTypesTest
DataMathsTest

Note that the test suite does not compile with dodebug=yes. There is an issue with linking one of the exception functions. I'm going to leave this 
until I have finished the rest of the work, perhaps Ken's scons changes will fix it.



Revision 1726 - (view) (annotate) - [select for diffs]
Modified Tue Aug 26 03:33:34 2008 UTC (10 years, 7 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataMaths.h
File length: 32182 byte(s)
Diff to previous 1724
BinaryOp and UnaryOp - modified to accept the extra parameters required 
to operate without DataArrayView.  There are still a few parallel 
methods which accept them as params.

Added getVector() members to DataAbstract - these versions will throw.
DataC.cpp - uses new method to get the shape.
Added constant form of getVector() to DataConstant
Fixed the #include protection on DataMaths.h



Revision 1724 - (view) (annotate) - [select for diffs]
Added Mon Aug 25 05:38:57 2008 UTC (10 years, 7 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataMaths.h
File length: 32145 byte(s)
Branch commit

Moved createShapeErrorMessage() into DataTypes.h
Modified functions in DataAlgorithm.h to use non-DataArrayView accesses.

Added getVector() to each of DataTagged, DataConstant, DataExpanded - This method returns 
the underlying DataVector by reference/constant reference. Note that this method does not 
exist in DataAbstract so (at the momement) in order to pull the data from something you 
need to know what you are looking at. (Lower level access is still possible via double* 
though).

DataTagged now has a getOffsetForTag method and a getDefaultOffset method.

DataMaths.h - A new file containing the reductionOps etc from DataArrayView (but without 
requiring DAV).
This file requires significant commenting improvements.



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

  ViewVC Help
Powered by ViewVC 1.1.26