Docs: Update benchmark for moonshotai/kimi-k2-thinking

This commit is contained in:
github-actions[bot]
2025-11-15 00:13:33 +00:00
parent da087e9ca0
commit 0d5effb238
10 changed files with 176 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
let math;
async function calculateDeterminant(m) {
const n = m?.length;
if (!n || m.some(r => !Array.isArray(r) || r.length !== n)) throw new Error('Invalid matrix');
math ||= await import('https://cdn.jsdelivr.net/npm/mathjs@11.11.0/+esm');
return math.det(m);
}
export default calculateDeterminant;