Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Matrix.__mul__(self, other) documentation ambiguity

    Cinema 4D SDK
    python
    2
    2
    257
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ferdinandF
      ferdinand
      last edited by

      Hi,

      the Python documentation for Matrix.__mul__(self, other) states:

      If both objects are of type Matrix, multiplies the left hand matrix by the right hand matrix.

      Which is very confusingly worded IMHO, since right-handed and left-handed matrices are defined terms, but most likely not what this section is referring to. To avoid ambiguities it should be probably something like this instead:

      If both objects are of type Matrix, it multiplies the matrix on the left side of the operator by the matrix on the right side of the operator.

      or preferably just :

      If both objects are of type Matrix, it multiplies self by other.

      Cheers,
      zipit

      MAXON SDK Specialist
      developers.maxon.net

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by

        Thanks a lot @zipit . I indeed agree and will update the documentation accordingly.

        Best and stay safe!
        R

        1 Reply Last reply Reply Quote 0
        • First post
          Last post