In other functions, for example in line 64 of Curves.kt, where n means order of derivative. in function get(t: Double, n: Int).
If in the function from line 189 to line 206, n still means the order of derivates, for example, assume n=1, in Vector2dDual(DualNum x, DualNum y), we need to get x, dx/du, y, dy/du.. which means the function should return in line 195 to get the expected outcome.
But currently, the function will return in line 195, because if (n <= 1) return point.reparam(DualNum(tValues))
In other functions, for example in line 64 of Curves.kt, where n means order of derivative. in function get(t: Double, n: Int).
If in the function from line 189 to line 206, n still means the order of derivates, for example, assume n=1, in Vector2dDual(DualNum x, DualNum y), we need to get x, dx/du, y, dy/du.. which means the function should return in line 195 to get the expected outcome.
But currently, the function will return in line 195, because if (n <= 1) return point.reparam(DualNum(tValues))