[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
• ChangeRing | ||
• Intersection | ||
3.1.1 Getxvars | ||
3.1.2 Firstn |
3.1.1 Getxvars |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Getxvars
:: Return x variables
[x_list, x_str] x_list is a list of x variables, x_str is a string consisting of x variables separated by commas.
In(4)=RingD("x,y"); In(5)=Getxvars(): [ [ y , x ] , y,x, ] |
lib/restriction/complex.k
3.1.2 Firstn |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Firstn
:: Return the first n elements of m.
Matrix or vector
Matrix or vector
Number
In(16)= mm = [[1,2,3],[4,5,6]]; In(17)= Firstn(mm,2): [[1,2], [4,5]] |
lib/restriction/complex.k
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated on August 30, 2025 using texi2html 1.82.