## La recherche a retourné 118 résultats

ven. avr. 27, 2018 12:14 pm
Forum : Xcas - English
Sujet : get the complex linear factors of a real poly
Réponses : 0
Vues : 696

### get the complex linear factors of a real poly

Hi, is there no way to use the command factors to get (a list of) the complex linear factors of a real univariate polynomial? I want something like "factors" but for complex factors. There is cFactor but the return does not seem to be a list but an expression (can we make it return me a list?). Ther...
ven. avr. 27, 2018 12:09 pm
Forum : Xcas
Sujet : something like algsubs (maple) in XCas/Giac?
Réponses : 3
Vues : 1577

### Re:something like algsubs (maple) in XCas/Giac?

Well, I really did not want to use Gröbner basis for this. But thanks for the suggestion.

Jose
mar. avr. 10, 2018 7:43 pm
Forum : Xcas
Sujet : something like algsubs (maple) in XCas/Giac?
Réponses : 3
Vues : 1577

### something like algsubs (maple) in XCas/Giac?

Hi, In maple there is a function called "algsubs" which allows me to use an expression (usually algebraic) on a given expression. For instance algsubs(l2^2=1,l2^2+l2^3) will yield "l2+1" Is there a similar thing in XCas/giac (without going into complex method like grobner basis). For easy conditions...
lun. mars 26, 2018 12:16 pm
Forum : Giacpy
Sujet : Bug in subst?
Réponses : 1
Vues : 860

### Bug in subst?

Hi, Here is a python script that baffles me a bit. from giacpy import giac Tv2= giac("matrix[[(-2*l1*l2+2)/2,(2*l1+2*l2)/2,0,0,(-l1*a2-l1*a1-l2*a2-l2*a1)/2,(-l1*l2*a2-l1*l2*a1+a2+a1)/2,(-l1*d2+l2*d2)/2,(l1*l2*d2+d2)/2,0,0,0,0,0,0,0,0],[0,0,(-2*l1+2*l2)/2,(2*l1*l2+2)/2,(l1*l2*d2-d2)/2,(-l1*d2-l2*d2)/...
mer. févr. 14, 2018 1:35 pm
Forum : Xcas
Sujet : row reduction without division
Réponses : 3
Vues : 2352

### Re: row reduction without division

Thanks Bernard. Yes you are right. I guess though, kernel computation should still be done manually? The reason is because even after gauss jordan without division there are multiplications involved, and there is a problem if the multiplication is done symbolically because there will be specific cas...
mar. févr. 13, 2018 5:12 pm
Forum : Xcas
Sujet : row reduction without division
Réponses : 3
Vues : 2352

### row reduction without division

Hi,

Is there an option (e.g. in rref or ref) where I can row reduce a matrix without diivsion? I do sometimes have matrices with symbolic entries and division are not allowed in this case. This is especially important for me when computing the kernel of a matrix with some symbolic entries.

Jose
mer. févr. 07, 2018 10:17 pm
Forum : Giac
Sujet : gramschmidt and (only) orthogonalization
Réponses : 2
Vues : 1214

### Re: gramschmidt and (only) orthogonalization

Thank you Bernard. Yes, I suspected that this can be easily added if it was not there (otherwise, I usually do not want to request features). I think it is ok however way you want to add this option (I will adapt myself to it). Your suggestion is also very good.
mer. févr. 07, 2018 8:29 am
Forum : Giac
Sujet : gramschmidt and (only) orthogonalization
Réponses : 2
Vues : 1214

### gramschmidt and (only) orthogonalization

There is the possibility of orthogonalizing without taking roots in gramschmidt (which is in effect the same code but you do not normalize). This seems to be available in giac C++ code but I do not know how to use it (or if it is available) in XCas or giacpy. For instance in giacpy we get the typica...
mer. févr. 07, 2018 8:02 am
Forum : Giacpy
Sujet : giacpy 0.6.6
Réponses : 1
Vues : 1209

### Re: giacpy 0.6.6

Thank you Frederic. This is very good news for me. Bernard says that in effect Gröbner basis computation will not be affected if Pari is linked with giac (without linking to ntl), but I suspect this is still improved. I will report if I notice any signifcant change also with gbasis computations. Edi...
dim. févr. 04, 2018 1:37 pm
Forum : Giac
Sujet : Sample use of gbasis in C++
Réponses : 14
Vues : 3426

### Re: Sample use of gbasis in C++

Can you replicate this as a gbasis command? You mean in Xcas or giacpy? I can only replicated this in visual studio with _gbasis (gbasis command for C++). I feel that the vector is not recognized here and so the conversion is not taking place. It will be a very long debug before I can figure out wh...
sam. févr. 03, 2018 9:44 am
Forum : Giac
Sujet : Sample use of gbasis in C++
Réponses : 14
Vues : 3426

### Re: Sample use of gbasis in C++

Is the heart of the groebner basis computation in solve.cc or cocoa.cc? For some reasone the Visual Studio build goes to through the cocoa.cc code and attempts to call convert (line ca. 12295). The reason why I know this is because I get the text "not found" in the console which comes from this line...
mar. janv. 30, 2018 9:58 am
Forum : Giacpy
Sujet : giacpy 0.6.4
Réponses : 13
Vues : 6345

### Re: giacpy 0.6.4

Oh that's a pity. I thought, for linux, installation from python wheel would get me all the dependencies (including possibly sources). This would allow easier installation for non-programmer users. I did a little talk in the university to a group of colleagues promoting both giac and giacpy but I co...
lun. janv. 29, 2018 11:13 am
Forum : Giacpy
Sujet : giacpy 0.6.4
Réponses : 13
Vues : 6345

### Re: giacpy 0.6.4

Hi Frederic, I was wondering if you can install giacpy wheel using pip installer in Debian systems? Sorry if I do not follow the linux development very closely. I tried doing so and I got complaints on compiling: Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-Tj_9pE...
lun. janv. 29, 2018 10:23 am
Forum : Giac
Sujet : Sample use of gbasis in C++
Réponses : 14
Vues : 3426

### Re: Sample use of gbasis in C++

Thanks for the tip about polynome. Nevertheless,_gbasis still gives me "not found". I am not sure if this is because of my visual studio build. I will investigate this more as I do not know exactly where the problem lies. The same code in giacpy shows no problem: from giacpy import giac, gbasis from...
dim. janv. 28, 2018 9:26 pm
Forum : Giac
Sujet : Sample use of gbasis in C++
Réponses : 14
Vues : 3426

### Re: Sample use of gbasis in C++

I have written a sample code testing gbasis on katsura9 (or katsura10 depending on definition) polynomials system. #include <config.h> #include <giac.h> using namespace std; using namespace giac; int main() { giac::context ct; vecteur x; vectpoly ideal; stringstream sstr; int n=9; //variable vector ...