[−][src]Function opencv::core::complete_symm
pub fn complete_symm(
m: &mut dyn ToInputOutputArray,
lower_to_upper: bool
) -> Result<()>
Copies the lower or the upper half of a square matrix to its another half.
The function cv::completeSymm copies the lower or the upper half of a square matrix to its another half. The matrix diagonal remains unchanged:
for
if lowerToUpper=false
for
if lowerToUpper=true
Parameters
- m: input-output floating-point square matrix.
- lowerToUpper: operation flag; if true, the lower half is copied to the upper half. Otherwise, the upper half is copied to the lower half.
See also
flip, transpose
C++ default parameters
- lower_to_upper: false