Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "mulm"

Index

Variables

Const mulM

mulM: MultiMatOpMM = vop(1)

Performs matrix-matrix multiplication. If out is not given, writes result in a.

param
param
param

Const mulM22

mulM22: function = mulM.add(4, (out, a, b) =>setC4(out || a,dotS2(a, b, 0, 0, 2),dotS2(a, b, 1, 0, 2),dotS2(a, b, 0, 2, 2),dotS2(a, b, 1, 2, 2)))

Type declaration

Const mulM23

mulM23: function = mulM.add(6, (out, a, b) =>setC6(out || a,dotS2(a, b, 0, 0, 2),dotS2(a, b, 1, 0, 2),dotS2(a, b, 0, 2, 2),dotS2(a, b, 1, 2, 2),dotS2(a, b, 0, 4, 2) + a[4],dotS2(a, b, 1, 4, 2) + a[5]))

Type declaration

Const mulM33

mulM33: function = mulM.add(9, (out, a, b) =>setC(out || a,dotS3(a, b, 0, 0, 3),dotS3(a, b, 1, 0, 3),dotS3(a, b, 2, 0, 3),dotS3(a, b, 0, 3, 3),dotS3(a, b, 1, 3, 3),dotS3(a, b, 2, 3, 3),dotS3(a, b, 0, 6, 3),dotS3(a, b, 1, 6, 3),dotS3(a, b, 2, 6, 3)))

Type declaration

Const mulM44

mulM44: function = mulM.add(16, (out, a, b) =>setC(out || a,dotS4(a, b, 0, 0, 4),dotS4(a, b, 1, 0, 4),dotS4(a, b, 2, 0, 4),dotS4(a, b, 3, 0, 4),dotS4(a, b, 0, 4, 4),dotS4(a, b, 1, 4, 4),dotS4(a, b, 2, 4, 4),dotS4(a, b, 3, 4, 4),dotS4(a, b, 0, 8, 4),dotS4(a, b, 1, 8, 4),dotS4(a, b, 2, 8, 4),dotS4(a, b, 3, 8, 4),dotS4(a, b, 0, 12, 4),dotS4(a, b, 1, 12, 4),dotS4(a, b, 2, 12, 4),dotS4(a, b, 3, 12, 4)))

Type declaration

Generated using TypeDoc