Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11713

Re: 2 Assumptions for one parameter?

From Bob Hanlon <hanlonr357@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: 2 Assumptions for one parameter?
Date 2012-09-12 07:03 +0000
Message-ID <k2pc45$99n$1@smc.vnet.net> (permalink)
References <20120909213203.DDDE06374@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


$Assumptions = {
   a > 0, Element[a, Reals],
   c < 0, Element[c, Reals]};

a::usage = ToString[Select[$Assumptions, ! FreeQ[#, a] &]];

?a

{a > 0, a \[Element] Reals}

However, $Assumptions are not automatically applied.

?$Assumptions

$Assumptions is the default setting for the Assumptions option used in
such functions as Simplify, Refine, and Integrate.  >>


Bob Hanlon


On Tue, Sep 11, 2012 at 2:32 AM,  <"Andreas Talmon l'Arm=E9e"@smc.vnet.net> wrote:
> Hi all,
>
> What is the right typing to make two assumptions for one parameter?
> Something like this:
>
> $Assumptions={a>0&&Element[a,Reals]}
>
> And is there a way to to control my assumptions made for the parameters
> I use something like
>
> ?a
>
>
> Thanks,
>
> Andreas
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: 2 Assumptions for one parameter? Bob Hanlon <hanlonr357@gmail.com> - 2012-09-12 07:03 +0000

csiph-web