class_docstr: A collection of points described by coordinates.
  
  Parameters
  ----------
  coords : array-like
    (*N*, *n*) array with *N* being points and columns their *n*-dimensional coordinates
  affine : :class:`numpy.ndarray`
    Affine transform to be applied to coordinates array
  homogeneous : :class:`bool`
    Indicate whether the provided coordinates are homogeneous,
    i.e., homogeneous 3D coordinates have the form ``(x, y, z, 1)``
class_docstr_tok: ["A","collection","of","points","described","by","coordinates",".","Parameters","--","--","--","--","--","coords",":","array-like","(","*","N","*",",","*","n","*",")","array","with","*","N","*","being","points","and","columns","their","*","n","*","-dimensional","coordinates","affine",":",":","class",":","`","numpy.ndarray","`","Affine","transform","to","be","applied","to","coordinates","array","homogeneous",":",":","class",":","`","bool","`","Indicate","whether","the","provided","coordinates","are","homogeneous",",","i.e.",",","homogeneous","3D","coordinates","have","the","form","``","(","x",",","y",",","z",",","1",")","``"]
docstr: Apply an affine transformation to the pointset
  
  This will return a new pointset with an updated affine matrix only.
docstr_tok: ["Apply","an","affine","transformation","to","the","pointset","This","will","return","a","new","pointset","with","an","updated","affine","matrix","only","."]
code: def __rmatmul__(self, affine: np.ndarray) -> Self:
      """Apply an affine transformation to the pointset
  
      This will return a new pointset with an updated affine matrix only.
      """
      return replace(self, affine=np.asanyarray(affine) @ self.affine)
  
imports: from __future__ import annotations
  import math
  import typing
  from dataclasses import dataclass, replace
  import numpy
  from nibabel.casting import able_int_type
  from nibabel.fileslice import strided_scalar
  from nibabel.spatialimages import SpatialImage
label_desc: Use image node_id 4 for calling the Pointset obj's underlying member method code with example usage: obj.__rmatmul__(affine) and returns: replace