rexpan

55 Reputation

5 Badges

14 years, 293 days

MaplePrimes Activity


These are replies submitted by rexpan

I'm sory but the link webmath.ehponenta.ru dose not work

Yes that right!

Sory for my bad english explaination.

Again i want more specific my question in here

In S = { eq1, eq2, ... eqn }

we can calculate that { x = 1, y = 2, ... } because we have { eq3, eq4, eq5 } in S.

Yes that right!

Sory for my bad english explaination.

Again i want more specific my question in here

In S = { eq1, eq2, ... eqn }

we can calculate that { x = 1, y = 2, ... } because we have { eq3, eq4, eq5 } in S.

May be you mis-understand my question

My problem is

I have a set of equation S
use the solve command the give me another set of equation S'

call solved(S) is the subset of S' = solve(S) where
x in solved(s) x in S' and x in form of symbol = constant

call the S0 in subset of S where
|S0| is minimum and
solved(S) = solved(S0)


The equations give me some solved varibale (not all variable)
And I want to find out which equations give me that conclusion

for example
S = { a + b = 1, c = a + b +1, d = a + c}
S' = solve(S) = { a = -2+d, b = -d+3, c = 2, d = d}
=> solved(S') = { c =2 }

S0 = { a +b = 1, c = a +b +1 }
which also give me
solved(S) = { c =2 }

I don't care a and b are unsolve
I just want to know in the big set S
which part of it give me the conclusion the {c = 2}
May be you mis-understand my question

My problem is

I have a set of equation S
use the solve command the give me another set of equation S'

call solved(S) is the subset of S' = solve(S) where
x in solved(s) x in S' and x in form of symbol = constant

call the S0 in subset of S where
|S0| is minimum and
solved(S) = solved(S0)


The equations give me some solved varibale (not all variable)
And I want to find out which equations give me that conclusion

for example
S = { a + b = 1, c = a + b +1, d = a + c}
S' = solve(S) = { a = -2+d, b = -d+3, c = 2, d = d}
=> solved(S') = { c =2 }

S0 = { a +b = 1, c = a +b +1 }
which also give me
solved(S) = { c =2 }

I don't care a and b are unsolve
I just want to know in the big set S
which part of it give me the conclusion the {c = 2}

Yes, thanks you very much.

There're indeed a line of StringTools:-PatternDictionary.

But  how could you find out it.

Yes, thanks you very much.

There're indeed a line of StringTools:-PatternDictionary.

But  how could you find out it.

@John Lutz 

Ok, thanks. So i have the url and the complied pyc module now. so in maple, how can i call it? how to use the 'my_func' in python and pass it's a value like 3.14? can you give me more specifice command to get it. Thanks a lot.

And sory for my english again :"> 

@John Lutz 

Ok, thanks. So i have the url and the complied pyc module now. so in maple, how can i call it? how to use the 'my_func' in python and pass it's a value like 3.14? can you give me more specifice command to get it. Thanks a lot.

And sory for my english again :"> 

Thanks, but it's something I miss.

[1] I have a 'my_func.py' which content is:

def my_func(x):
    return x * x;

[2] I have a 'complie.py' which content is:

import py_compile
func_file = 'my_func.py'
py_compile.compile(func_file)

[3] and after that i have a file 'my_func.cpython-32.pyc' in the folder '__pycache__'

and I get it's URL using Opera (i like Opera) by this

file://localhost/d:/Document/Desktop/my_func.cpython-32.pyc

and what i should do next to get use of my_func.

Thanks, but it's something I miss.

[1] I have a 'my_func.py' which content is:

def my_func(x):
    return x * x;

[2] I have a 'complie.py' which content is:

import py_compile
func_file = 'my_func.py'
py_compile.compile(func_file)

[3] and after that i have a file 'my_func.cpython-32.pyc' in the folder '__pycache__'

and I get it's URL using Opera (i like Opera) by this

file://localhost/d:/Document/Desktop/my_func.cpython-32.pyc

and what i should do next to get use of my_func.

thanks you, i can not read your language but i think it is useful. again thanks for the enlish index

Page 1 of 1