Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/integration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ function setindex(x::TaylorArray{T, N, A, P}, index, d) where {T, N, A, P}
ntuple(i -> i == index + 1 ? d : v[i], Val(P + 1)) |> TaylorArray
end


"""
Computes the taylor integration of order P

Expand Down
4 changes: 3 additions & 1 deletion src/primitive.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Base: exp, exp2, exp10, expm1, log, log2, log10, log1p, inv, sqrt, cbrt
import Base: sin, cos, tan, cot, sec, csc, sinh, cosh, tanh, coth, sech, csch, sinpi, cospi
import Base: asin, acos, atan, acot, asec, acsc, asinh, acosh, atanh, acoth, asech, acsch
import Base: +, -, *, /, \, ^, >, <, >=, <=, ==
import Base: sinc, cosc, hypot, max, min, literal_pow
import Base: sinc, cosc, hypot, max, min, literal_pow, sincos

Taylor = Union{TaylorScalar, TaylorArray}

Expand Down Expand Up @@ -72,6 +72,8 @@ for func in (:sin, :cos)
end
end

sincos(t::TaylorScalar) = (sin(t), cos(t))

# Binary

## Easy case
Expand Down
Loading