GithubHelp home page GithubHelp logo

Import error about specialfunctions.jl HOT 3 CLOSED

juliamath avatar juliamath commented on July 19, 2024
Import error

from specialfunctions.jl.

Comments (3)

ararslan avatar ararslan commented on July 19, 2024

I actually can't even use it in the REPL.

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.2 (2017-12-13 18:08 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-pc-linux-gnu

julia> using SpecialFunctions

julia> digamma(rand(10))
ERROR: digamma([0.675763, 0.473888, 0.714789, 0.382325, 0.741078, 0.34093, 0.791917, 0.55993, 0.70172, 0.911172],) has been moved to the package SpecialFunctions.jl.
Run Pkg.add("SpecialFunctions") to install SpecialFunctions on Julia v0.6 and later,
and then run `using SpecialFunctions`.
Stacktrace:
 [1] digamma(::Array{Float64,1}) at ./deprecated.jl:1303

from specialfunctions.jl.

stevengj avatar stevengj commented on July 19, 2024

That's because you should do digamma.(rand(10)) to operate on an array.

This is a duplicate of JuliaLang/julia#24618

from specialfunctions.jl.

ararslan avatar ararslan commented on July 19, 2024

Good catch, I didn't think about that. Thanks, @stevengj.

from specialfunctions.jl.

Related Issues (20)

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.