Git Product home page Git Product logo

implicitequations.jl's People

Contributors

andimd avatar juliatagbot avatar jverzani avatar t-bltg avatar tkelman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

implicitequations.jl's Issues

version compatibility errors

Hi, congratulations for the package! Excellent work.

I am trying to use it for some computations for an article and it seems that there are some version errors with other packages I have to use.

(src) pkg> add ImplicitEquations
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package IntervalArithmetic [d1acc4aa]:
 IntervalArithmetic [d1acc4aa] log:
 ├─possible versions are: 0.14.0-0.20.5 or uninstalled
 ├─restricted by compatibility requirements with IntervalLinearAlgebra [92cbe1ac] to versions: 0.19.1-0.20.5
 │ └─IntervalLinearAlgebra [92cbe1ac] log:
 │   ├─possible versions are: 0.1.0-0.1.5 or uninstalled
 │   └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.1.5
 └─restricted by compatibility requirements with ImplicitEquations [95701278] to versions: 0.15.0-0.17.8 — no versions left
   └─ImplicitEquations [95701278] log:
     ├─possible versions are: 0.5.0-1.0.6 or uninstalled
     └─restricted to versions * by an explicit requirement, leaving only versions 0.5.0-1.0.6

Is this solvable? Thanks

Tupper link is broken ?

In a paper, Tupper presents a method for graphing two-dimensional implicit equations ...

When I go the Tupper link, I get the following screen.

image

[PkgEval] ImplicitEquations may have a testing issue on Julia 0.3 (2015-06-26)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.

On Julia 0.3

  • On 2015-06-25 the testing status was Tests pass.
  • On 2015-06-26 the testing status changed to Tests fail.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.

Test log:

>>> 'Pkg.add("ImplicitEquations")' log
INFO: Cloning cache of ImplicitEquations from git://github.com/jverzani/ImplicitEquations.jl.git
INFO: Cloning cache of ValidatedNumerics from git://github.com/dpsanders/ValidatedNumerics.jl.git
INFO: Installing FactCheck v0.2.8
INFO: Installing ImplicitEquations v0.0.1
INFO: Installing Polynomials v0.0.3
INFO: Installing Requires v0.1.2
INFO: Installing ValidatedNumerics v0.1.0
INFO: Package database updated
INFO: METADATA is out-of-date — you may not have the latest version of ImplicitEquations
INFO: Use `Pkg.update()` to get the latest versions of your packages

>>> 'Pkg.test("ImplicitEquations")' log
Julia Version 0.3.10
Commit c8ceeef* (2015-06-24 13:54 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Nehalem)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
INFO: Testing ImplicitEquations
Warning: Method definition floor(Interval{T<:Real},) in module ValidatedNumerics at /home/vagrant/.julia/v0.3/ValidatedNumerics/src/intervals/interval_arithmetic.jl:129 overwritten in module ImplicitEquations at /home/vagrant/.julia/v0.3/ImplicitEquations/src/intervals.jl:18.
Warning: Method definition ceil(Interval{T<:Real},) in module ValidatedNumerics at /home/vagrant/.julia/v0.3/ValidatedNumerics/src/intervals/interval_arithmetic.jl:130 overwritten in module ImplicitEquations at /home/vagrant/.julia/v0.3/ImplicitEquations/src/intervals.jl:19.
ERROR: `make_interval` has no method matching make_interval(
 in OInterval at no file
 in GRAPH at /home/vagrant/.julia/v0.3/ImplicitEquations/src/tupper.jl:52
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354fatal: error thrown and no exception handler available.
Base.MethodError(f=make_interval, args=(Int64, ValidatedNumerics.Interval{Int64}(lo=0, hi=16)))
==========================[ ERROR: ImplicitEquations ]==========================

failed process: Process(`/home/vagrant/julia/bin/julia /home/vagrant/.julia/v0.3/ImplicitEquations/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: ImplicitEquations had test errors
 in error at error.jl:21
 in test at pkg/entry.jl:718
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in test at pkg.jl:67
 in process_options at ./client.jl:213
 in _start at ./client.jl:354


>>> End of log

Problems with complex numbers (or perhaps just with SpecialFunctions?)

using SpecialFunctions
f(x,y) = abs(zeta(x + y*im))
r = Eq(f, 1)
plot(r)
ERROR: MethodError: no method matching AbstractFloat(::ImplicitEquations.OInterval)
Closest candidates are:
  AbstractFloat(::Real, ::RoundingMode) where T<:AbstractFloat at rounding.jl:185
  AbstractFloat(::T<:Number) where T<:Number at boot.jl:725
  AbstractFloat(::Bool) at float.jl:250
  ...
Stacktrace:
 [1] float(::ImplicitEquations.OInterval) at ./float.jl:269
 [2] float(::Complex{ImplicitEquations.OInterval}) at ./complex.jl:967
 [3] zeta(::Complex{ImplicitEquations.OInterval}) at /home/rulatir/.julia/packages/SpecialFunctions/fvheQ/src/gamma.jl:512
 [4] f(::ImplicitEquations.OInterval, ::ImplicitEquations.OInterval) at ./REPL[84]:1
 [5] compute_fxy(::ImplicitEquations.Pred, ::ImplicitEquations.Region, ::Int64, ::Int64, ::Int64, ::Int64, ::Int64, ::Int64) at /home/rulatir/.julia/packages/ImplicitEquations/0nm3T/src/intervals.jl:307
 [6] compute(::ImplicitEquations.Pred, ::ImplicitEquations.Region, ::Int64, ::Int64, ::Int64, ::Int64, ::Int64, ::Int64) at /home/rulatir/.julia/packages/ImplicitEquations/0nm3T/src/intervals.jl:316
 [7] RefinePixels(::ImplicitEquations.Pred, ::Array{ImplicitEquations.Region,1}, ::Int64, ::Int64, ::Int64, ::Int64, ::Int64, ::Int64, ::Array{ImplicitEquations.Region,1}, ::Array{ImplicitEquations.Region,1}, ::Array{ImplicitEquations.Region,1}) at /home/rulatir/.julia/packages/ImplicitEquations/0nm3T/src/tupper.jl:80
 [8] GRAPH(::ImplicitEquations.Pred, ::Int64, ::Int64, ::Int64, ::Int64, ::Int64, ::Int64) at /home/rulatir/.julia/packages/ImplicitEquations/0nm3T/src/tupper.jl:69
 [9] macro expansion at /home/rulatir/.julia/packages/ImplicitEquations/0nm3T/src/plot_recipe.jl:152 [inlined]
 [10] apply_recipe(::Dict{Symbol,Any}, ::ImplicitEquations.Pred) at /home/rulatir/.julia/packages/RecipesBase/Uz5AO/src/RecipesBase.jl:275
 [11] _process_userrecipes(::Plots.Plot{Plots.PyPlotBackend}, ::Dict{Symbol,Any}, ::Tuple{ImplicitEquations.Pred}) at /home/rulatir/.julia/packages/Plots/PGn1u/src/pipeline.jl:83
 [12] _plot!(::Plots.Plot{Plots.PyPlotBackend}, ::Dict{Symbol,Any}, ::Tuple{ImplicitEquations.Pred}) at /home/rulatir/.julia/packages/Plots/PGn1u/src/plot.jl:178
 [13] #plot#132(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::ImplicitEquations.Pred) at /home/rulatir/.julia/packages/Plots/PGn1u/src/plot.jl:57
 [14] plot(::ImplicitEquations.Pred) at /home/rulatir/.julia/packages/Plots/PGn1u/src/plot.jl:51
 [15] top-level scope at none:0

no conformal maps

This example from the tutorial no longer works due to changes in Plots. Perhaps there is a workaround:

f(x,y) = x
plot(f ≧ 1/2, map=z -> 1/z)

Is it working on Julia v1.0

What I was trying is:
Pkg.add("ImplicitEquations)
But it gives me an error with "unsatisfiable" requirements:

ERROR: Unsatisfiable requirements detected for package ImplicitEquations [95701278]:
 ImplicitEquations [95701278] log:
 ├─possible versions are: [0.0.1, 0.0.3, 0.1.0, 0.2.0, 0.3.0, 0.4.0] or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions [0.0.1, 0.0.3, 0.1.0, 0.2.0, 0.3.0, 0.4.0]
 └─restricted by julia compatibility requirements to versions: uninstalled — no versions left

Plot implicit equation transformed by some map?

Great work on this package; I've found it quite useful.

Is it feasible/desirable under the current architecture to enable plotting the image of some implicitly defined region under a given map? For example, to plot the image of a circle x^2 + y^2 ⩵ 1 under a map, say z ↦ exp(z).

xlims ylims

In https://discourse.julialang.org/t/implicitequations-plot-return-empty-plot/94117/5 the issue of xlims and ylims arises:

using Plots, ImplicitEquations
f(x, y) = y^2 - 3y - 4 - x; g(x,y) = x + y
plot(f ⩵ 0, xtick=-7:1:5, xlims=(-7,5), ylims=(-5,5))
plot!(g ⩵ 0);  plot!((f ≦ 0) & (g ≦ 0))

The plot! call uses (-5,5) x (-5,5) and not the (-7,5) x (-5,5)

The current recipe uses xlims = get(plotattributes, :xlims, (-5,5)). It seems to be suggested that xlims --> (-5,5) should work (but it doesnt). The use of xlims = get!(plotattributes, :xlims, (-5,5)) doesn't see the initial xlims specification.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.