Re: [julia-users] build-in function to find inverse of a matrix

2014-07-22 Thread Cameron McBride
+1 for sticky shell mode.

I do like the ? -> help and ?? -> apropos mapping, as it's clear on the
mode what the simple mapping is.  But it's a minor point.

Cameron


On Tue, Jul 22, 2014 at 12:06 AM, Viral Shah  wrote:

> That’s not a crazy idea. ? could do help if there is an exact match, and
> if there is no match, it can just do apropos.
>
> -viral
>
>
>
> On 22-Jul-2014, at 7:20 am, Stefan Karpinski  wrote:
>
> > Would it be crazy to make ? just do apropos? Interestingly, I was just
> thinking of making ;; trigger sticky shell mode where you have to actively
> escape to get back to julia mode.
> >
> >
> > On Mon, Jul 21, 2014 at 6:48 PM, John Myles White <
> johnmyleswh...@gmail.com> wrote:
> > There's one complication here, which is that a single ? already changes
> the mode of the REPL into help mode. So this would have to be a mode only
> triggerable from inside of help mode.
> >
> >  -- John
> >
> > On Jul 21, 2014, at 6:47 PM, Ethan Anderes 
> wrote:
> >
> > > +1. For some reason my fingers always get tied up when typing apropos
> >
> >
>
>


Re: [julia-users] build-in function to find inverse of a matrix

2014-07-21 Thread Viral Shah
That’s not a crazy idea. ? could do help if there is an exact match, and if 
there is no match, it can just do apropos.

-viral



On 22-Jul-2014, at 7:20 am, Stefan Karpinski  wrote:

> Would it be crazy to make ? just do apropos? Interestingly, I was just 
> thinking of making ;; trigger sticky shell mode where you have to actively 
> escape to get back to julia mode.
> 
> 
> On Mon, Jul 21, 2014 at 6:48 PM, John Myles White  
> wrote:
> There's one complication here, which is that a single ? already changes the 
> mode of the REPL into help mode. So this would have to be a mode only 
> triggerable from inside of help mode.
> 
>  -- John
> 
> On Jul 21, 2014, at 6:47 PM, Ethan Anderes  wrote:
> 
> > +1. For some reason my fingers always get tied up when typing apropos
> 
> 



Re: [julia-users] build-in function to find inverse of a matrix

2014-07-16 Thread Mauro
It's inv, but I was struggling to find it too:

http://docs.julialang.org/en/latest/stdlib/linalg/#Base.inv

but note that if you want to solve a linear system Ax =b use
x = A\b

On Wed, 2014-07-16 at 13:39, Alan Chan  wrote:
> sorry if it's a stupid question. But I cannot find one in the online doc.
>
> Thanks