nalgebra/src/base
Austin Lund f9921a6774 Refactor row_sum() and column_sum() to cover more cases.
Currently the methods for row_sum and column_sum require Field and
Supersetof<f64>.  This means that to perform a row_sum or
column_sum requires the scalar type to have more properties than just
addition.  Consequently, row_sum() won't work on integer matricies.

This patch makes the only requirement that the scalar type be an
additive monoid. Doc tests using integers are also added.
2019-06-20 09:18:42 +10:00
..
alias_slice.rs 2018 edition. 2019-03-23 14:33:47 +01:00
alias.rs 2018 edition. 2019-03-23 14:33:47 +01:00
allocator.rs 2018 edition. 2019-03-23 14:33:47 +01:00
array_storage.rs 2018 edition. 2019-03-23 14:33:47 +01:00
blas.rs HTTPS All The Things (#608) 2019-06-11 20:56:50 +02:00
cg.rs Merge branch 'master-public' into dev 2019-03-31 16:33:25 +02:00
componentwise.rs 2018 edition. 2019-03-23 14:33:47 +01:00
constraint.rs 2018 edition. 2019-03-23 14:33:47 +01:00
construction_slice.rs simplify anti-aliasing assertion 2019-04-16 09:14:46 +02:00
construction.rs Rename Real to RealField. 2019-03-25 11:21:41 +01:00
conversion.rs 2018 edition. 2019-03-23 14:33:47 +01:00
coordinates.rs 2018 edition. 2019-03-23 14:33:47 +01:00
default_allocator.rs 2018 edition. 2019-03-23 14:33:47 +01:00
dimension.rs Replace explicit types with Self where possible. 2019-02-16 22:29:41 +01:00
edition.rs removed depedency on Vec 2019-04-08 23:44:49 +02:00
helper.rs Run rustfmt. 2018-11-06 18:32:20 +01:00
indexing.rs 2018 edition. 2019-03-23 14:33:47 +01:00
iter.rs 2018 edition. 2019-03-23 14:33:47 +01:00
matrix_alga.rs Rename Real to RealField. 2019-03-25 11:21:41 +01:00
matrix_slice.rs 2018 edition. 2019-03-23 14:33:47 +01:00
matrix.rs Merge branch 'master-public' into dev 2019-03-31 16:33:25 +02:00
mod.rs Fix rebase fallback + add missing docs. 2019-02-03 08:33:07 +01:00
norm.rs Rename Real to RealField. 2019-03-25 11:21:41 +01:00
ops.rs Merge branch 'dev' into complex 2019-03-31 10:48:59 +02:00
properties.rs Rename Real to RealField. 2019-03-25 11:21:41 +01:00
scalar.rs Add rustfmt.toml and run it. 2018-10-27 15:00:18 +02:00
statistics.rs Refactor row_sum() and column_sum() to cover more cases. 2019-06-20 09:18:42 +10:00
storage.rs 2018 edition. 2019-03-23 14:33:47 +01:00
swizzle.rs 2018 edition. 2019-03-23 14:33:47 +01:00
unit.rs Merge branch 'dev' into complex 2019-03-31 10:48:59 +02:00
vec_storage.rs 2018 edition. 2019-03-23 14:33:47 +01:00