Chalkboard - v3.0.1
    Preparing search index...

    Function toMatrix

    • Converts a complex number to a matrix.

      Parameters

      Returns ChalkboardMatrix

      // Returns the 2×2 matrix:
      // [
      // [3, -4],
      // [4, 3]
      // ]
      const matr = Chalkboard.comp.toMatrix(Chalkboard.comp.init(3, 4));