From caab70d82b5210d6c32f785e072e22fd200c2ec7 Mon Sep 17 00:00:00 2001 From: conrad Date: Wed, 5 May 2021 00:29:51 +1000 Subject: [PATCH] update docs for .clamp() --- docs.html | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docs.html b/docs.html index 6e6dad66..12f69d80 100644 --- a/docs.html +++ b/docs.html @@ -3083,10 +3083,10 @@ A.clean(datum::eps); See also: @@ -3154,12 +3154,16 @@ Member function of Mat, Col, Row, Cube and SpMat<
  • -Create a copy of X with each element clamped to the [min_valmax_val] interval; +Clamp each element to the [min_valmax_val] interval;
    any value lower than min_val will be set to min_val, and any value higher than max_val will be set to max_val

  • -If X is a sparse matrix, clamping is applied only to the non-zero elements +For complex elements, the real and imaginary components are clamped separately +
  • +
    +
  • +For sparse matrices, clamping is applied only to the non-zero elements

  • @@ -3233,7 +3237,7 @@ See also:
  • .replace()
  • .imbue()
  • .clean()
  • -
  • .fill()
  • +
  • .clamp()
  • element access
  • overloaded operators
  • miscellaneous element-wise functions   (exp, log, pow, sqrt, square, round, ...)
  • @@ -8467,6 +8471,10 @@ Create a copy of X with each element clamped to the [min_val
  • +For objects with complex elements, the real and imaginary components are clamped separately +
  • +
    +
  • If X is a sparse matrix, clamping is applied only to the non-zero elements