←
Alec Jacobson2,534 posts
Alec Jacobson avatar

Alec Jacobson

@_AlecJacobson

Associate Professor, Computer Science, University of Toronto; Adobe Research Toronto

◷ Joined September 2016▧ 634 Photos and videos
Alec Jacobson avatar
Alec Jacobson@_AlecJacobson·24 Nov 2023

📢 libigl v2.5 released 🐍 pip install libigl Eigen → 3.4 CGAL → 5.6 OpenGL → 4.1 CGAL and its dependencies (GMP+MPFR) compile everywhere from source via cmake Github actions finish faster and rarely fail due to heap size Shadow mapping in viewer …

Alec Jacobson avatar
Alec Jacobson@_AlecJacobson·27 Jan 2024

🖖 #include <autodiff/reverse/var.hpp> template <typename T> T f(T & x) { // "clever" branch to avoid 0/0 at x=0 if(x == 0.0) return 1.0; return sin(x)/x + x*(x-1.0); }

Alec Jacobson avatar
Alec Jacobson@_AlecJacobson·24 Jan 2024

You can do this so your long titles don't look as terrible: \newcommand{\abbrtitle}{Clever Short Title} \title[\abbrtitle]{\abbrtitle:\\ Long Part Causing Line Breaks in Title and Spills in Headers}

Post attachment
Jesse Thomason avatar
⟳ Alec Jacobson retweeted
Jesse Thomason@_jessethomason_·22 Jan 2024

Trying out a Role-Playing Paper-Reading Seminar in the style of @colinraffel's blog colinraffel.com/blog/role-pl… in my History of Language and Computing graduate course this semester. Eager to see how it plays out, but I wanted to show off the class materials that just arrived :)

Post attachment
Alec Jacobson avatar
Alec Jacobson@_AlecJacobson·19 Jan 2024

Q: We're almost out of time. Do you have any questions for me? A: Yes, how do you represent a mesh with a slit along a single edge?

Post attachment
Alec Jacobson avatar
Alec Jacobson@_AlecJacobson·16 Jan 2024

This kind of example pops up as a pitfall in autodiff discussions. And in a recent discussion regarding symbolic differentiation, somebody appeared to argue that f and g are different in some essentially way which excuses the symdiff library from finding equivalent derivatives.

Alec Jacobson avatar
Alec Jacobson@_AlecJacobson·16 Jan 2024

I would think of the piecewise definition as an _implementation_ of the same function as f. Thus they're the same and consequently have the same derivative ∂f/∂x = ∂g/∂x, even at x=0.