core - add diag function

Ignore-this: 4e5f44f81d327b4fb4c4a9387854401b

darcs-hash:20130924032647-3a4db-6543e60eb5af90b0569bce62e549be8b3bd63a32
(test_core - tiny refactor)

Ignore-this: 1b79fc652c4b67590c1d96e454587223

darcs-hash:20130924105720-3a4db-a4ec1ca431c817aeb75005b05ad4e4dd0b5f7f18
(core - fix a bug in memory-sharing of band_c_bm)

Ignore-this: efb4c0353e089324e336dbd5f43138d7

darcs-hash:20130924110852-3a4db-7eda6bf4a9f66f4c66d22f93ba4635178288ad53
core - add tests of memory-sharing properties

Ignore-this: eb138223cf2deb92b38aa56738f470e

darcs-hash:20130924111525-3a4db-ed80eacf3dc087ebadd6e85ec250a85ac43cb12b
(tensor - update test code to the style I now slightly prefer)

Ignore-this: a5e255fea9b855f224537d82dd0056e0

darcs-hash:20130924112937-3a4db-5198083f4d65df712afca6e36ffd3e3cc31e0fc3
tensor - add tests of memory-sharing properties

Ignore-this: f344138903486e759976804ab0a2b792

darcs-hash:20130924114201-3a4db-24ccd06f1be755a6f146676eb5365825e616c765
(full - update test code to the style I now slightly prefer)

Ignore-this: 31dd768a8f15a232231f7b405035c118

darcs-hash:20130924115213-3a4db-6c50f341e1646393d3bdab390b3a9f6fc90c5952
full - add tests of memory-sharing properties

Ignore-this: 472dce4f7ac4f3b986a0e5ddd43ec0d7

darcs-hash:20130924115646-3a4db-1879f7fa7fcd3818f3ec7a0f1bddb83ddee9aa8e
linalg - add tests of memory-sharing properties

Ignore-this: 9776828f299efb68694e47921970fd8d

darcs-hash:20130924120537-3a4db-a1fcac663a4d8733208924ab7a1c2ecf39dedef9
testhelp - add tests of basic functionality

Ignore-this: d0c142b3b258b49a5e98f8c7847dc826

darcs-hash:20130924132956-3a4db-81913af2472a6c064e34f81d9276e6972870b407
testhelp - add get_array_mem

Ignore-this: 58171bf465687f801b121ec056e60121

darcs-hash:20130924133031-3a4db-dbf23debee2935cd41299c8c8eb87dfda7f102cf
various - use get_array_mem instead of id for better testing of memory-sharing for in-place operations

Ignore-this: 3ee78ed7b9c2f2a2808cd203a0a1b298

darcs-hash:20130924134405-3a4db-38dd7dfa1414648eb1aff11d1cd642560c42727b
misc - add tests of memory-sharing properties

Ignore-this: 501b8b79d93e5cbd33b4a78d74fa7395

darcs-hash:20130924134615-3a4db-d47ff0641d547de0f05034f311306a703c81e41d
test_linalg - add gen_symmetric_BandMat

Ignore-this: 464ade1857a6154b09370feb84857094

darcs-hash:20130924143626-3a4db-b0c00a4008b88d4eb087a0c10fafd08b3a79c500
linalg - add cho_solve

Ignore-this: 8c7fa4c3497aebddd751ce7d6383a7e3

darcs-hash:20130924150210-3a4db-2a9cf898d2525c69b8055876fd795534686e923c