![]() |
|
|
#1387 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
I like how this can be used in DNA stuff I may use that part again lol FaR was a change in mindset I saw this mentally: Replacement Start + Word_to Change + Finish but really my code now does: Repeat(up_to_Change + Replacement
print(up_to_change) |
|
|
|
|
|
|
#1388 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
I guessing looking for x spaces and reading it into c would help in one sense then knock off the first word and replace it with the next one.
|
|
|
|
|
|
#1389 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
is there a way to shift Vec of Vec like vectors ? if so that may come in handy.
|
|
|
|
|
|
#1390 |
|
Aug 2006
3·1,993 Posts |
|
|
|
|
|
|
#1391 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
|
|
|
|
|
|
#1392 |
|
Aug 2006
3×1,993 Posts |
Can you give an example?
|
|
|
|
|
|
#1393 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
for example for a vector v you can use:
Code:
v=vector(100,n,n);v=vector(#v-1,n,v[n+1]) is there an equivalent to this for Vec ? |
|
|
|
|
|
#1394 |
|
Aug 2006
175B16 Posts |
|
|
|
|
|
|
#1395 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
|
|
|
|
|
|
#1396 |
|
Aug 2006
10111010110112 Posts |
Example 1:
[[1,2,3,4,5],[2,3,5,7,11]] Example 2: vector(5,n,vector(10,m,m^n)) |
|
|
|
|
|
#1397 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
how will this help with Vec ?
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why do I sometimes see all the <> formatting commands when I quote or edit? | cheesehead | Forum Feedback | 3 | 2013-05-25 12:56 |
| Passing commands to PARI on Windows | James Heinrich | Software | 2 | 2012-05-13 19:19 |
| Ubiquity commands | Mini-Geek | Aliquot Sequences | 1 | 2009-09-22 19:33 |
| 64-bit Pari? | CRGreathouse | Software | 2 | 2009-03-13 04:22 |
| Are these commands correct? | jasong | Linux | 2 | 2007-10-18 23:40 |