mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 13:53:40 +01:00
Modify det_manip to access determinant x_values and y_values
This commit is contained in:
parent
e93adc0b84
commit
d8e79056bf
@ -244,9 +244,15 @@ namespace triqs { namespace det_manip {
|
|||||||
/// Returns the i-th values of x
|
/// Returns the i-th values of x
|
||||||
xy_type const & get_x(size_t i) const { return x_values[row_num[i]]; }
|
xy_type const & get_x(size_t i) const { return x_values[row_num[i]]; }
|
||||||
|
|
||||||
|
/// Returns the vector of x values
|
||||||
|
std::vector<xy_type> const & get_x_values() const { return x_values; }
|
||||||
|
|
||||||
/// Returns the j-th values of y
|
/// Returns the j-th values of y
|
||||||
xy_type const & get_y(size_t j) const { return y_values[col_num[j]]; }
|
xy_type const & get_y(size_t j) const { return y_values[col_num[j]]; }
|
||||||
|
|
||||||
|
/// Returns the vector of y values
|
||||||
|
std::vector<xy_type> const & get_y_values() const { return y_values; }
|
||||||
|
|
||||||
/** det M of the current state of the matrix. */
|
/** det M of the current state of the matrix. */
|
||||||
value_type determinant() const {return sign*det;}
|
value_type determinant() const {return sign*det;}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user