|
18 | 18 | <link rel="preload" as="image" href="/img/hand-slugs.jpg" fetchpriority="high"> |
19 | 19 | <link rel="preload" as="image" href="/img/hand-gears.jpg" fetchpriority="high"> |
20 | 20 | <link rel="preload" as="image" href="/img/hand-cube2.jpg" fetchpriority="high"><link rel="stylesheet" href="/assets/css/styles.44ad2588.css"> |
21 | | -<script src="/assets/js/runtime~main.29e9c570.js" defer="defer"></script> |
| 21 | +<script src="/assets/js/runtime~main.99aa8c34.js" defer="defer"></script> |
22 | 22 | <script src="/assets/js/main.d70092fb.js" defer="defer"></script> |
23 | 23 | </head> |
24 | 24 | <body class="navigation-with-keyboard"> |
|
332 | 332 | </li> |
333 | 333 | </ul><h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="bug-fixes">Bug Fixes<a href="#bug-fixes" class="hash-link" aria-label="Direct link to Bug Fixes" title="Direct link to Bug Fixes" translate="no"></a></h3><ul> |
334 | 334 | <li class=""> |
| 335 | +<p><strong>(<a href="https://github.com/cortex-js/compute-engine/issues/176" target="_blank" rel="noopener noreferrer" class="">#176</a>) Power |
| 336 | +Combination Simplification</strong>: Fixed simplification failing to combine powers |
| 337 | +with the same base when one factor has an implicit exponent or when there are |
| 338 | +3+ operands. Previously, expressions like <code>2 * 2^x</code>, <code>e * e^x * e^{-x}</code>, and |
| 339 | +<code>x^2 * x</code> would not simplify. Now correctly simplifies to <code>2^(x+1)</code>, <code>e</code>, and |
| 340 | +<code>x^3</code> respectively. The fix includes:</p> |
| 341 | +<ul> |
| 342 | +<li class="">Extended power combination rules to support numeric literal bases</li> |
| 343 | +<li class="">Added functional rule to handle n-ary Multiply expressions (3+ operands)</li> |
| 344 | +<li class="">Adjusted simplification cost threshold from 1.2 to 1.3 to accept |
| 345 | +mathematically valid simplifications where exponents become slightly more |
| 346 | +complex (e.g., <code>2 * 2^x → 2^(x+1)</code>)</li> |
| 347 | +</ul> |
| 348 | +</li> |
| 349 | +<li class=""> |
335 | 350 | <p><strong>Matrix Operations Type Validation</strong>: Fixed matrix operations (<code>Shape</code>, <code>Rank</code>, |
336 | 351 | <code>Flatten</code>, <code>Transpose</code>, <code>Determinant</code>, <code>Inverse</code>, <code>Trace</code>, etc.) returning |
337 | 352 | incorrect results or failing with type errors. The root cause was a type |
|
0 commit comments