jax-js
    Preparing search index...

    Function linearize

    • Produce a local linear approximation to a function at a point using jvp() and partial evaluation.

      Type Parameters

      Parameters

      Returns [
          ReturnType<F>,
          (
              ...tangents: MappedJsTree<Parameters<F>, Array, ArrayLike>,
          ) => ReturnType<F>,
      ]