We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d4edda commit 249d805Copy full SHA for 249d805
1 file changed
src/FormalPowerSeries.jl
@@ -33,6 +33,8 @@ end
33
#Convenient abbreviation for floats
34
fps = FormalPowerSeries{Float64}
35
36
+zero{T}(P::FormalPowerSeries{T}) = FormalPowerSeries(T[])
37
+one{T}(P::FormalPowerSeries{T}) = FormalPowerSeries(T[1])
38
39
#Return truncated vector with c[i] = P[n[i]]
40
function tovector{T,Index<:Integer}(P::FormalPowerSeries{T}, n :: Vector{Index})
0 commit comments