|
|
||||||
|
faudes::Matrix Class Reference Detailed DescriptionMatrix of scalars. This is a wrapper for a plain C array to provide a faudes style interface, incl. token IO, access to individual entries. There is also access to the internal C++ array. Note that libFAUDES does not implement any mathematical operations on matrices. For this purpose, one should employ some external library (e.g. BOOST, alglib, ...) via an appropriate set of wrapper functions. The token format is as follows: 1.50 -80 17 90 100
5.23 23 2 -5 13
</Matrix>
Definition at line 64 of file hyb_parameter.h.
Constructor & Destructor Documentation◆ Matrix() [1/4]
Default constructor - sets dimension to 0x0. Definition at line 33 of file hyb_parameter.cpp. ◆ Matrix() [2/4]
Constructor by dimension.
Definition at line 41 of file hyb_parameter.cpp. ◆ Matrix() [3/4]
Copy-constructor. Definition at line 60 of file hyb_parameter.cpp. ◆ Matrix() [4/4]
Construct from file. Definition at line 69 of file hyb_parameter.cpp. ◆ ~Matrix()
Destructor. Definition at line 79 of file hyb_parameter.cpp. Member Function Documentation◆ At() [1/2]
Get entry.
Definition at line 194 of file hyb_parameter.cpp. ◆ At() [2/2]
Set entry.
Definition at line 204 of file hyb_parameter.cpp. ◆ CArray() [1/2]
Set from std C array. The provided data must be organized as A(i,j)=data[i*cc+j]. This version takes a copy of the provided data.
Definition at line 236 of file hyb_parameter.cpp. ◆ CArray() [2/2]
Access std C array. The data field is organized as A(i,j)=data[i*column_count+j]. Note that for zero row- or column count, this function returns NULL.
Definition at line 256 of file hyb_parameter.cpp. ◆ Clear()
Clear all. Sets row- and column count to 0; Reimplemented from faudes::Type. Definition at line 111 of file hyb_parameter.cpp. ◆ ColumnCount() [1/2]
Set Dimension. Set number of columns and invalidate all entries.
Definition at line 138 of file hyb_parameter.cpp. ◆ ColumnCount() [2/2]
◆ Dimension()
Set Dimension. Set dimensions and invalidate all entries.
Definition at line 149 of file hyb_parameter.cpp. ◆ DoAssign()Assign from other matrix.
Definition at line 85 of file hyb_parameter.cpp. ◆ DoEqual()
Test equality.
Definition at line 100 of file hyb_parameter.cpp. ◆ DoRead()
Read from TokenReader, see Type::Read for public wrappers. The method invokes TokenReader::ReadBegin() to seek the specified section, reads subsequent symbols, and calls matching TokenReader::ReadEnd(). If no section is specified, the section is assumed to start at the current position of the token stream. If the current position is no begin token, the section "Matrix" is read.
Reimplemented from faudes::Type. Definition at line 291 of file hyb_parameter.cpp. ◆ DoSWrite()
Write statistic info to TokenWriter, see Type::SWrite for public wrapper.
Reimplemented from faudes::Type. Definition at line 283 of file hyb_parameter.cpp. ◆ DoWrite()
Write to TokenWriter, see Type::Write for public wrappers.
Reimplemented from faudes::Type. Definition at line 261 of file hyb_parameter.cpp. ◆ Identity()
Set to identity matrix. Either provide dimensions, or use the default -1 to maintain dimensions.
Definition at line 180 of file hyb_parameter.cpp. ◆ operator()() [1/2]
Cosmetic access operator.
Definition at line 225 of file hyb_parameter.cpp. ◆ operator()() [2/2]
Cosmetic access operator.
Definition at line 215 of file hyb_parameter.cpp. ◆ RowCount() [1/2]
Set dimension. This will invalidate the entries.
Definition at line 126 of file hyb_parameter.cpp. ◆ RowCount() [2/2]
Get Dimension. Set number of rows and invalidate all entries.
Definition at line 162 of file hyb_parameter.cpp. ◆ Size()
Get size. Gets over all number of entries.
Definition at line 120 of file hyb_parameter.cpp. ◆ Zero()
Set to zero matrix. Either provide dimensions, or use the default -1 to maintain dimensions.
Definition at line 172 of file hyb_parameter.cpp. Member Data Documentation◆ mCC
Definition at line 293 of file hyb_parameter.h. ◆ mpData
Definition at line 296 of file hyb_parameter.h. ◆ mRC
Definition at line 292 of file hyb_parameter.h. The documentation for this class was generated from the following files: libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |