by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 28 21:38

    GuillaumeGomez on cleanup

    Hide ffi_wrap macro from the do… Split out ffi part into its own… (compare)

  • Jul 26 15:13

    GuillaumeGomez on cleanup

    (compare)

  • Jul 26 15:13

    GuillaumeGomez on master

    Add back the non `_e` versions … fmt Merge pull request #80 from Gui… (compare)

  • Jul 26 15:13
    GuillaumeGomez closed #80
  • Jul 26 15:04
    GuillaumeGomez opened #80
  • Jul 26 15:04

    GuillaumeGomez on cleanup

    Add back the non `_e` versions … fmt (compare)

  • Jul 26 14:13
    GuillaumeGomez closed #78
  • Jul 26 14:13

    GuillaumeGomez on master

    Change Mathieu functions import… Merge pull request #79 from Jva… (compare)

  • Jul 26 14:13
    GuillaumeGomez closed #79
  • Jul 26 14:13
    GuillaumeGomez commented #79
  • Jul 26 14:10
    GuillaumeGomez commented #78
  • Jul 26 13:53
    Jvanrhijn opened #79
  • Jul 26 13:42
    Jvanrhijn commented #78
  • Jul 26 13:22
    GuillaumeGomez commented #78
  • Jul 26 13:07
    Jvanrhijn commented #78
  • Jul 26 13:05
    GuillaumeGomez commented #78
  • Jul 26 12:56
    GuillaumeGomez commented #78
  • Jul 26 12:55
    Jvanrhijn commented #78
  • Jul 26 12:37
    Jvanrhijn opened #78
  • May 22 19:37
    GuillaumeGomez commented #67
v217
@v217
Hi, any idea,- time-schedule when plot3D will be made available in rust-gsl?
For me that's certainly the most anticipated feature!
v217
@v217
Sorry, just read that's not part of the gsl library, but just a feature of the lua gsl-shell.
Anyway 3D plotting would be nice. Don't know if it's possible to call gsl-shell with the existing rust-lua bridges.
Guillaume Gomez
@GuillaumeGomez
Hi ! Sorry but I really don't know. Moreover, I didn't have much time to work rust-GSL recently. If you find a way, feel free to create a pull request
v217
@v217
Thanks
I just managed to plot with matplotlib using rustpy
v217
@v217
Great keep up the good work, now I can combine matplotlib with the rust gsl library! That's already very useful!
Guillaume Gomez
@GuillaumeGomez
Thanks a lot for your support ! Good continuation !
qinwf
@qinwf
Hi all, I tried to build rust-GSL on Windows x64 with Rust 1.1 x64 but failed. And here is some output? Any ideas how to solve this? Thanks!
I make some edit in rng.rs in the gist to make it pass type check for compiler on Win x64. They are mainly some stuffs like "as u64" or change u64 to u32.
qinwf
@qinwf
Some problems is solved. I moved the folder to a dir without non-ASCII char, and cargo build run, and generated other messages.
I use cargo rustc -- -C link-args="-m64 -lgsl -lgslcblas"
Maybe I need gsl-1.16 ?
qinwf
@qinwf
Guillaume Gomez
@GuillaumeGomez
@qinwf You did hit an ICE
weird
I build GSL on mint, so the version isn't even the last one I guess
I never built on windows
I'll take a look at those undefined references
qinwf
@qinwf

[link(name ="gsl")]

[link(name ="gslcblas")]

Guillaume Gomez
@GuillaumeGomez
what about this ?
qinwf
@qinwf
add these to ffi.rs and we do not need to use cargo rustc

pub trait FFI<T> {
fn wrap(r: mut T) -> Self;
fn unwrap(&Self) ->
mut T;
}

[link(name ="gsl")]

[link(name ="gslcblas")]

extern "C" {
pub static gsl_rng_mt19937 : const gsl_rng_type;
pub static gsl_rng_ranlxs0 :
const gsl_rng_type;
pub static gsl_rng_ranlxs1 : const gsl_rng_type;
pub static gsl_rng_ranlxs2 :
const gsl_rng_type;
pub static gsl_rng_ranlxd1 : *const gsl_rng_type;

now I need to use cargo rustc on windows to make it link to -lgsl -lgslcblas
but for now travis ci seem to be fine to link on linux without these two attributtes
Guillaume Gomez
@GuillaumeGomez
open a PR for it then :)
you have to add windows for platforms
(instead of adding it like this)
Nacho Duart
@iduartgomez
@GuillaumeGomez, I may be able to contribute to the crate (or the bindings for the 2.0 I saw you mentioning you are writing them), are any things you are looking for fixing, improving or implementing?
So far I have seen the library is quite complete but willing to help if possible.
Guillaume Gomez
@GuillaumeGomez
@iduartgomez Well, like I said, I don't have much time lately. So even working on 2.0 binding is fine (for now I just read the diffs but didn't get far). But I think most people would prefer to have the genericity over the floating types. Adding real tests would be appreciated as well. As you can see, quite a lot of things to do!