# \#diffresults

**URL:** https://discourse.julialang.org/tag/diffresults/362.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Am I using DiffResults.jl correctly?](https://discourse.julialang.org/t/am-i-using-diffresults-jl-correctly/35894)

<div class="topic-metadata">

**Author:** [@jlchan](https://discourse.julialang.org/u/jlchan)\
**Replies:** 7\
**Last updated:** [March 14, 2020, 5:06am UTC](https://discourse.julialang.org/t/am-i-using-diffresults-jl-correctly/35894 "2020-03-14T05:06:41Z")

</div>

I’m trying to compute Jacobian and function values simultaneously using ForwardDiff.jl. A simple MWE example is using StaticArrays using ForwardDiff using DiffResults using BenchmarkTools f(x) = SVector((@. x\[1\]\*x\[2\])…
