---
title: "mulMat64(): IR builder function in typeshade/core/ir"
description: "mulMat64, an IR builder function in typeshade/core/ir. matNxN<f64> × matNxN<f64> → matNxN<f64>: the emulated-double matrix product."
url: https://typeshade.dev/api/mulmat64/
language: en
---

# `mulMat64()`

Function in Builtins

matNxN<`f64`> × matNxN<`f64`> → matNxN<`f64`>: the emulated-double matrix product.

`import { mulMat64 } from 'typeshade/core/ir'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
const mulMat64: <N extends 2 | 3 | 4>(
  a: ReadonlyNode<`mat${N}x${N}<f64>`>,
  b: ReadonlyNode<`mat${N}x${N}<f64>`>,
) => Node<`mat${N}x${N}<f64>`>
```

## Parameters

**`a` ``ReadonlyNode<`mat${N}x${N}<f64>`>``**

**`b` ``ReadonlyNode<`mat${N}x${N}<f64>`>``**

## Return value

``Node<`mat${N}x${N}<f64>`>``

## Source

[`src/core/ir/node.ts`, line 2446](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/node.ts#L2446), at commit af54ddad5
