From f09040052ab28d58bdfd223b14c50bb706584d52 Mon Sep 17 00:00:00 2001 From: ShuffleWire Date: Wed, 22 Jun 2022 14:12:32 +0200 Subject: [PATCH] Base: add Const attribute to many MatrixPy methods multiply(), determinant(), isOrthogonal(), submatrix(), analyze() also get the const attribute --- src/Base/MatrixPy.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Base/MatrixPy.xml b/src/Base/MatrixPy.xml index 2b56f9f55d..f9f81f06fa 100644 --- a/src/Base/MatrixPy.xml +++ b/src/Base/MatrixPy.xml @@ -179,7 +179,7 @@ Rotate around Z axis. angle : float\n Angle in radians. - + multiply(matrix) -> Base.Matrix multiply(vector) -> Base.Vector\n @@ -219,13 +219,13 @@ Transpose the matrix in-place. Returns a transposed copy of this matrix. - + determinant() -> float\n Compute the determinant of the matrix. - + isOrthogonal(tol=1e-6) -> float\n Checks if the matrix is orthogonal, i.e. M * M^T = k*I and returns @@ -233,7 +233,7 @@ the multiple of the identity matrix. If it's not orthogonal 0 is returned.\n tol : float\n Tolerance used to check orthogonality. - + submatrix(dim) -> Base.Matrix\n Get the leading principal submatrix of the given dimension. @@ -242,7 +242,7 @@ corresponding identity matrix.\n dim : int\n Dimension parameter must be in the range [1,4]. - + analyze() -> str\n Analyzes the type of transformation.