You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/rule_author/tangents.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,12 @@ To be more formal they support operations which let them act as a vector space.
12
12
13
13
## Operations on a tangent type
14
14
Any tangent type must support:
15
-
-`zero` which returns a additive identity for that type (though it can just return `ZeroTangent()` (see below))
15
+
-`zero` which returns an additive identity for that type (though it can just return `ZeroTangent()` (see below))
16
16
-`+` for addition between two tangents of this primal, returning another tangent of this primal. This allows gradient accumulation.
17
-
-`*` for multiplication (scaling) by a scalar
18
-
-`+` between a tangent and it's primal type returning another tangent of the primal type -- differential geometers sometimes call this expodential map.
17
+
-`*` for multiplication (scaling) by a scalar.
18
+
-`+` between a tangent and its primal type returning another tangent of the primal type -- differential geometers sometimes call this exponential map.
19
19
20
-
Further they often support other linear operators as is convenient for the use in defining rules.
20
+
Further they often support other linear operators for convenience in writing rules.
0 commit comments