af22163492
ENH: improve Matrix classes and tests
2020-06-05 14:35:36 +01:00
e9219558d7
GIT: Header file updates
2019-10-31 14:48:44 +00:00
745624c024
ENH: partial overhaul of Matrix type ( #1220 )
...
- additional operators:
+ compound assignment
+ inner product: operator&
+ outer product: operator^
- additional functions:
- MatrixBlock methods: subColumn, subRow, subMatrix
- L2 norms for matrix or column
- trace, diag, round, transpose
- MatrixBlock methods: col(), block() are deprecated since their
access patterns with (size, offset) are unnatural/unwieldy.
- verifications by test/Matrix/Test-Matrix
2019-05-23 11:32:45 +01:00
96d0a8f2af
ENH: harmonize matrix constructors ( #1220 )
...
- generalize identity matrix constructors for non-scalar types
- add constructors using labelPair for the row/column sizing information.
For a SquareMatrix, this provides an unambiguous parameter resolution.
- reuse assignment operators
STYLE: adjust matrix comments
2019-05-29 09:50:46 +02:00
154029ddd0
BOT: Cleaned up header files
2019-02-06 12:28:23 +00:00
1ec47384bb
src/OpenFOAM/matrices: Reformatted for-loops consistently
2016-03-23 18:27:04 +00:00
ecc608d1c5
SquareMatrix, RectangularMatrix: Updated block handling
...
Added 'typeOfInnerProduct' support to ensure the correct type is
returned from the matrix product operator.
2016-03-23 12:52:35 +00:00
caf8776f9b
SquareMatrix, SymmetricSquareMatrix: Changed the constructor from size to require only n
...
This avoids the need to check that the m and n dimensions are the same.
2016-03-22 14:13:48 +00:00
67a51b1fdd
Matrix: Added (i, j) addressing to allow support for addressing blocks of the matrix
...
This change brings OpenFOAM into line with the standard matrix
addressing in other C++ libraries for better interoperability.
2016-03-20 19:44:29 +00:00
97489df33d
Matrix: Switch n() and m() so that now m() = number of rows and n() = number of columns
...
For consistency with current references and other numerics libraries
2016-03-10 22:53:09 +00:00
f5bfc5d2e7
ENH: scalarMatrices: Add determinant calculation
2013-06-07 08:57:04 +01:00