Skip to content

Commit 71c1305

Browse files
update generated code (#2209)
Co-authored-by: PProfizi <[email protected]>
1 parent 8fbaee5 commit 71c1305

File tree

9 files changed

+14
-855
lines changed

9 files changed

+14
-855
lines changed

doc/source/_static/dpf_operators.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
from .apply_svd import apply_svd
22
from .apply_zfp import apply_zfp
33
from .kmeans_clustering import kmeans_clustering
4-
from .sketch_matrix import sketch_matrix
5-
from .sketch_matrix_decompress import sketch_matrix_decompress
64
from .zfp_decompress import zfp_decompress

src/ansys/dpf/core/operators/compression/apply_svd.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class apply_svd(Operator):
2727
scalar_int: int
2828
number of vectors (r) to keep for the future reconstraction of the matrix A, ex. A[m,n]=coef[m,r]*VT[r,n], where coef=U*Sigma
2929
scalar_double: float
30-
threshold (precision) as a double, default value is 1e-7
30+
threshold (precision) as a double, default value is 1e-7. If both pin1 and pin2 are provided, choose the min r-vectors
3131
boolean: bool
32-
apply svd on the initial input data (true) or transposed (square matrix), default value is false
32+
apply svd on the initial data (Default : false), otherwise use reduced data (square matrix with the smallest dimensions).
3333
3434
Returns
3535
-------
@@ -115,13 +115,13 @@ def _spec() -> Specification:
115115
name="scalar_double",
116116
type_names=["double"],
117117
optional=False,
118-
document=r"""threshold (precision) as a double, default value is 1e-7""",
118+
document=r"""threshold (precision) as a double, default value is 1e-7. If both pin1 and pin2 are provided, choose the min r-vectors""",
119119
),
120120
3: PinSpecification(
121121
name="boolean",
122122
type_names=["bool"],
123123
optional=False,
124-
document=r"""apply svd on the initial input data (true) or transposed (square matrix), default value is false""",
124+
document=r"""apply svd on the initial data (Default : false), otherwise use reduced data (square matrix with the smallest dimensions).""",
125125
),
126126
},
127127
map_output_pin_spec={
@@ -268,7 +268,7 @@ def scalar_int(self) -> Input:
268268
def scalar_double(self) -> Input:
269269
r"""Allows to connect scalar_double input to the operator.
270270
271-
threshold (precision) as a double, default value is 1e-7
271+
threshold (precision) as a double, default value is 1e-7. If both pin1 and pin2 are provided, choose the min r-vectors
272272
273273
Returns
274274
-------
@@ -289,7 +289,7 @@ def scalar_double(self) -> Input:
289289
def boolean(self) -> Input:
290290
r"""Allows to connect boolean input to the operator.
291291
292-
apply svd on the initial input data (true) or transposed (square matrix), default value is false
292+
apply svd on the initial data (Default : false), otherwise use reduced data (square matrix with the smallest dimensions).
293293
294294
Returns
295295
-------

0 commit comments

Comments
 (0)